#include <TriangleList.h>
Inheritance diagram for CSLTriangleList:

Public Types |
|
| typedef CSLArrayProxy< SLTriangle, SI_Int, 3 > |
CSLTriangleArray |
Public Member Functions |
|
| SI_Int | GetTriangleCount () |
| SI_Int * | GetVertexIndicesPtr () |
| CSLTriangleArray * | GetVertexIndices () |
| CSLTriangleArray * | CreateNormalIndices () |
| CSLTriangleArray * | GetNormalIndices () |
| SI_Int * | GetNormalIndicesPtr () |
| SI_Error | DestroyNormalIndices () |
| CSLTriangleArray * | CreateColorIndices () |
| CSLTriangleArray * | GetColorIndices () |
| SI_Int * | GetColorIndicesPtr () |
| SI_Error | DestroyColorIndices () |
| CSLTriangleArray * | AddUVArray () |
| SI_Int | GetUVArrayCount () |
| SI_Int * | GetUVIndicesPtr (SI_Int in_nId) |
| CSLTriangleArray * | GetUVIndices (SI_Int in_nId) |
| SI_Error | RemoveUVArray () |
| SI_Error | ClearUVArrays () |
| CSLBaseMaterial * | GetMaterial () |
| SI_Void | SetMaterial (CSLBaseMaterial *in_pNewMaterial) |
| virtual ETemplateType | Type () |
| virtual SI_Error | Synchronize () |
| virtual CSLAnimatableType * | ParameterFromName (SI_Char *in_szName) |
The CSLTriangleList class describes a list of triangles.
It may also contain information about normals, UV coordinates and color. To find out, you may use the GetNormalIndices(), GetUVIndices() and GetColorIndices() and check if the return value is non-NULL.
To get the number of triangles in the list, use GetTriangleCount().
CSLTriStripList
| typedef CSLArrayProxy<SLTriangle, SI_Int, 3> CSLTriangleArray |
Proxy class that allows modifying a list of SLTriangle structures like an array.
| SI_Int GetTriangleCount | ( | ) | [inline] |
Returns the number of triangles in this list.
| SI_Int* GetVertexIndicesPtr | ( | ) | [inline] |
Returns an array of SI_Int containing the vertex index list.
| CSLTriangleArray* GetVertexIndices | ( | ) | [inline] |
Return the vertex indices array proxy.
| CSLTriangleArray* CreateNormalIndices | ( | ) |
Create a normal indices array.
| CSLTriangleArray* GetNormalIndices | ( | ) | [inline] |
Return the normal indices array proxy.
| SI_Int* GetNormalIndicesPtr | ( | ) |
Returns an array of SI_Int containing the normal index list.
| SI_Error DestroyNormalIndices | ( | ) |
Destroy the normal indices array.
| CSLTriangleArray* CreateColorIndices | ( | ) |
Create a color indices array.
| CSLTriangleArray* GetColorIndices | ( | ) | [inline] |
Return the color indices array proxy.
| SI_Int* GetColorIndicesPtr | ( | ) |
Returns an array of SI_Int containing the color index list.
| SI_Error DestroyColorIndices | ( | ) |
Destroy the color indices array.
| CSLTriangleArray* AddUVArray | ( | ) |
Create a new UV indices array.
| SI_Int GetUVArrayCount | ( | ) |
Return the number of texture coordinate arrays.
| SI_Int* GetUVIndicesPtr | ( | SI_Int | in_nId | ) |
Returns an array of SI_Int containing the UV index list.
| CSLTriangleArray* GetUVIndices | ( | SI_Int | in_nId | ) |
Return the UV indices array proxy.
| SI_Int | Identification of the UV array to retrieve. |
| SI_Error RemoveUVArray | ( | ) |
Remove the last UV indices array.
| SI_Error ClearUVArrays | ( | ) |
Remove all UV indices array.
| CSLBaseMaterial* GetMaterial | ( | ) | [inline] |
Return the material object of the triangle list.
| SI_Void SetMaterial | ( | CSLBaseMaterial * | in_pNewMaterial | ) | [inline] |
Change the material object of the triangle list.
| CSLBaseMaterial* | New material object. |
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Indicate which dotXSI template this object describes.
Implements CSLTemplate.
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronize will ensure that the animated parameter is up to date.
Reimplemented from CSLTemplate.
| virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | [virtual] |
Return a proxy to the specified parameter.
| in_szName | Name of the parameter |
Reimplemented from CSLTemplate.