#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) |
Describes a list of triangles (see the SI_TriangleList template reference). It may also contain information about normals, UV coordinates and color.
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] |
Returns the vertex indices array proxy.
| CSLTriangleArray* CreateNormalIndices | ( | ) |
Creates a normal indices array.
| CSLTriangleArray* GetNormalIndices | ( | ) | [inline] |
Returns the normal indices array proxy.
| SI_Int* GetNormalIndicesPtr | ( | ) |
Returns an array of SI_Int containing the normal index list.
| SI_Error DestroyNormalIndices | ( | ) |
Destroys the normal indices array.
| CSLTriangleArray* CreateColorIndices | ( | ) |
Creates a color indices array.
| CSLTriangleArray* GetColorIndices | ( | ) | [inline] |
Returns the color indices array proxy.
| SI_Int* GetColorIndicesPtr | ( | ) |
Returns an array of SI_Int containing the color index list.
| SI_Error DestroyColorIndices | ( | ) |
Destroys the color indices array.
| CSLTriangleArray* AddUVArray | ( | ) |
Creates a new UV indices array.
| SI_Int GetUVArrayCount | ( | ) |
Returns the number of texture coordinate arrays.
| SI_Int* GetUVIndicesPtr | ( | SI_Int | in_nId | ) |
Returns an array of SI_Int containing the UV index list.
| [in] | in_nId | Identification of the UV index list to retrieve. |
| CSLTriangleArray* GetUVIndices | ( | SI_Int | in_nId | ) |
Returns the UV indices array proxy.
| [in] | in_nId | Identification of the UV array to retrieve. |
| SI_Error RemoveUVArray | ( | ) |
Removes the last UV indices array.
| SI_Error ClearUVArrays | ( | ) |
Removes all UV indices array.
| CSLBaseMaterial* GetMaterial | ( | ) | [inline] |
Returns the material object of the triangle list.
| SI_Void SetMaterial | ( | CSLBaseMaterial * | in_pNewMaterial | ) | [inline] |
Changes the material object of the triangle list.
| [in] | in_pNewMaterial | New material object. |
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Returns the type of this template
| CSLTemplate::SI_TRIANGLE_LIST | Template type |
Implements CSLTemplate.
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes to ensure that the animated parameter is up to date.
Reimplemented from CSLTemplate.
| virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | [virtual] |
Returns a proxy to the specified parameter.
| [in] | in_szName | Name of the parameter |
Reimplemented from CSLTemplate.