#include <Shape.h>
Inheritance diagram for CSLShape:

Public Member Functions |
|
| CSLShape (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate, EShapeType in_Type) | |
| virtual | ~CSLShape () |
| CSLVector2DArray * | CreateUVCoords () |
| CSLIndexedVector2DArray * | CreateIndexedUVCoords () |
| SI_Int | GetUVCoordCount () |
| CSLVector2DArray * | GetUVCoordList () |
| CSIBCVector2D * | GetUVCoordListPtr () |
| CSLIndexedVector2DArray * | GetIndexedUVCoordList () |
| SLIndexedVector2D * | GetIndexedUVCoordListPtr () |
| SI_Error | DestroyUVCoords () |
| virtual ETemplateType | Type () |
| virtual SI_Error | Synchronize () |
Describes a mesh shape (see the SI_Shape template reference). The CSLShape holds the mesh's vertex positions, normals, texture coordinates and color information.
| CSLShape | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate, | |||
| EShapeType | in_Type | |||
| ) |
Constructor
| [in] | in_pScene | Parent scene |
| [in] | in_pModel | Parent model |
| [in] | in_pTemplate | Referred template |
| [in] | in_Type | the type of shape to construct |
| virtual ~CSLShape | ( | ) | [virtual] |
Destructor
| CSLVector2DArray* CreateUVCoords | ( | ) |
Creates a texture coordinates array.
| CSLIndexedVector2DArray* CreateIndexedUVCoords | ( | ) |
Creates an indexed texture coordinates array.
| SI_Int GetUVCoordCount | ( | ) |
Returns the number of texture coordinates.
| CSLVector2DArray* GetUVCoordList | ( | ) |
Returns the texture coordinate array proxy.
| CSIBCVector2D* GetUVCoordListPtr | ( | ) |
Returns an array of CSIBCVector2D that describes the texture coordinates for this mesh.
| CSLIndexedVector2DArray* GetIndexedUVCoordList | ( | ) |
Returns the indexed texture coordinate array proxy.
| SLIndexedVector2D* GetIndexedUVCoordListPtr | ( | ) |
Returns an array of SLIndexedVector2D that describes the indexed texture coordinates for this mesh.
| SI_Error DestroyUVCoords | ( | ) |
Destroys the texture coordinates array.
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Returns the template type
| CSLTemplate::SI_SHAPE | the template type of the shape surface |
Implements CSLTemplate.
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes this shape instance with its IO layer representation
| SI_Error::SI_SUCCESS | this function always returns SI_SUCCESS |
Reimplemented from CSLBaseShape.