TRenderableHelper Class Reference

Inheritance diagram for TRenderableHelper:

TCountedRenderable TMCSMPCountedObject I3DShRenderable IMCUnknown IMCUnknown TPointMeshRenderable TSegmentMeshRenderable List of all members.

Public Member Functions

virtual I3DShRenderable::EType
MCCOMAPI 
GetGeometryType () const =0
virtual MCCOMErr MCCOMAPI GetShadingApproximation (TShadingApproximation &shadingApprox, uint32 uvSpaceID) const
virtual void MCCOMAPI GetBoundingBox (TBBox3D &bbox)
TRenderableFlags MCCOMAPI GetRenderableFlags (void) const

Protected Member Functions

 TRenderableHelper (TMCColorRGB &inColorRef, TBBox3D &inBBoxRef, TRenderableFlags &inFlagsRef)
 ~TRenderableHelper ()

Protected Attributes

TBBox3D & fBBoxRef
TMCColorRGB & fColorRef
TRenderableFlags & fFlagsRef

Constructor & Destructor Documentation

TRenderableHelper::TRenderableHelper (  TMCColorRGB &  inColorRef,
TBBox3D &  inBBoxRef,
TRenderableFlags &  inFlagsRef
)  [inline, protected]
 

TRenderableHelper::~TRenderableHelper (   )  [inline, protected]
 


Member Function Documentation

virtual void MCCOMAPI TRenderableHelper::GetBoundingBox (  TBBox3D &  bbox  )  [inline, virtual]
 

Returns the bounding box of the renderable in local coordinates (for triangle meshes).

Parameters:
bb The bounding box that is returned.

Reimplemented from TCountedRenderable.

virtual I3DShRenderable::EType MCCOMAPI TRenderableHelper::GetGeometryType (   )  const [pure virtual]
 

Returns the type of geometry that should be rendered (points, segments or triangles...)

Reimplemented from TCountedRenderable.

Implemented in TPointMeshRenderable, and TSegmentMeshRenderable.

TRenderableFlags MCCOMAPI TRenderableHelper::GetRenderableFlags (  void   )  const [inline, virtual]
 

Returns the flags associated with this renderable. See TRenderableFlags for more info.

Reimplemented from TCountedRenderable.

virtual MCCOMErr MCCOMAPI TRenderableHelper::GetShadingApproximation (  TShadingApproximation &  shadingApprox,
uint32  uvSpaceID
)  const [inline, virtual]
 

Returns an approximation of the shading that can be used for interactive rendering.

Parameters:
shadingApprox The color of the shader.
uvSpaceID The UVSpaceID for which the approximation is required.

Reimplemented from TCountedRenderable.


Member Data Documentation

TBBox3D& TRenderableHelper::fBBoxRef [protected]
 

TMCColorRGB& TRenderableHelper::fColorRef [protected]
 

TRenderableFlags& TRenderableHelper::fFlagsRef [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Mar 14 12:29:10 2005 for Carrara SDK Doc by  doxygen 1.3.9.1