CSLShape_35 Class Reference

#include <Shape_35.h>

Inheritance diagram for CSLShape_35:

CSLBaseShape CSLTemplate CSIBCNode List of all members.

Public Member Functions

  CSLShape_35 (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate, EShapeType in_Type)
virtual  ~CSLShape_35 ()
CSLUVCoordArray AddUVCoordArray ()
SI_Int  GetUVCoordArrayCount ()
CSLUVCoordArray **  UVCoordArrays ()
SI_Error  RemoveUVCoordArray ()
SI_Error  ClearUVCoordArrays ()
virtual ETemplateType  Type ()
virtual SI_Error  Synchronize ()

Detailed Description

Describes a Mesh Shape for dotXSI 3.5+ (see the SI_Shape template reference). The CSLShape holds the mesh's vertex positions, normals, texture coordinates and color information.

This class allows a shape to contain more than one array of texture coordinates. Also, each array contains information about its texture projetion.


Constructor & Destructor Documentation

CSLShape_35 ( CSLScene in_pScene,
CSLModel in_pModel,
CdotXSITemplate in_pTemplate,
EShapeType  in_Type  
)

Constructor

Parameters:
in_pScene  Parent scene
in_pModel  Parent model
in_pTemplate  Refered template
in_Type  the type of shape to construct
Returns:
an instance of CSLShape

virtual ~CSLShape_35 (  )  [virtual]

Destructor


Member Function Documentation

CSLUVCoordArray* AddUVCoordArray (  ) 

Add a new texture coordinate array.

Returns:
CSLUVCoordArray* Pointer to the newly created array.

SI_Int GetUVCoordArrayCount (  ) 

Return the number of texture coordinate arrays.

Returns:
SI_Int Number of UV arrays.

CSLUVCoordArray** UVCoordArrays (  ) 

Return an array of all texture coordinate arrays.

Returns:
CSLUVCoordArray** Array of pointers to UV array.

SI_Error RemoveUVCoordArray (  ) 

Remove the last texture coordinate array.

Returns:
SI_Error Error code.

SI_Error ClearUVCoordArrays (  ) 

Remove all texture coordinate arrays.

Returns:
SI_Error Error code.

virtual ETemplateType Type (  )  [inline, virtual]

Get the template type

Returns:
ETemplateType the template type of the shape surface

Implements CSLTemplate.

virtual SI_Error Synchronize (  )  [virtual]

Synchronizes this shape instance with its IO layer representation

Returns:
SI_Error
Return values:
SI_SUCCESS  this function always returns SI_SUCCESS

Reimplemented from CSLBaseShape.


The documentation for this class was generated from the following file: