CSLTriangleStrip Class Reference

#include <TriangleStrip.h>

Inheritance diagram for CSLTriangleStrip:

CSLTemplate CSIBCNode List of all members.

Public Types

typedef CSLArrayProxy< SI_Int,
SI_Int, 1 > 
CSLIntArray

Public Member Functions

SI_Int  GetVertexCount ()
CSLIntArray GetVertexIndices ()
SI_Int *  GetVertexIndicesPtr ()
CSLIntArray CreateNormalIndices ()
CSLIntArray GetNormalIndices ()
SI_Int *  GetNormalIndicesPtr ()
SI_Error  DestroyNormalIndices ()
CSLIntArray CreateColorIndices ()
CSLIntArray GetColorIndices ()
SI_Int *  GetColorIndicesPtr ()
SI_Error  DestroyColorIndices ()
CSLIntArray AddUVArray ()
CSLIntArray GetUVIndices (SI_Int in_nId)
SI_Int *  GetUVIndicesPtr (SI_Int in_nId)
SI_Error  RemoveUVArray ()
SI_Error  ClearUVArrays ()
SI_Int  GetUVArrayCount ()
virtual ETemplateType  Type ()
virtual SI_Error  Synchronize ()

Detailed Description

Describes a triangle strip (see the SI_TriStrip template reference). The triangles in this list can have normals, UV and color information as well.

Tip:
You can use the GetNormalIndices(), GetUVIndices() and GetColorIndices() to see whether the return value is non-NULL.
See also:
CSLTriangleStripList

CSLTriangleList

CSLPolygonList


Member Typedef Documentation

typedef CSLArrayProxy<SI_Int, SI_Int, 1> CSLIntArray

Proxy class that allows modifying a list of SI_Int like an array.


Member Function Documentation

SI_Int GetVertexCount (  )  [inline]

Returns the number of vertices in this strip.

Returns:
SI_Int Number of vertices.

CSLIntArray* GetVertexIndices (  )  [inline]

Return the vertex indices array proxy.

Returns:
CSLIntArray* Pointer to an array proxy of vertex indices.

SI_Int* GetVertexIndicesPtr (  )  [inline]

Returns an array of SI_Int containing the vertex index list.

Returns:
SI_Int* Array of SI_Int

CSLIntArray* CreateNormalIndices (  ) 

Create a normal indices array.

Returns:
CSLIntArray* Pointer to the newly created array.

CSLIntArray* GetNormalIndices (  )  [inline]

Return the normal indices array proxy.

Returns:
CSLIntArray* Pointer to an array proxy of normal indices.

SI_Int* GetNormalIndicesPtr (  ) 

Returns an array of SI_Int containing the normal index list.

Returns:
SI_Int* Array of SI_Int

SI_Error DestroyNormalIndices (  ) 

Destroy the normal indices array.

Returns:
SI_Error Error code.

CSLIntArray* CreateColorIndices (  ) 

Create a color indices array.

Returns:
CSLIntArray* Pointer to the newly created array.

CSLIntArray* GetColorIndices (  )  [inline]

Return the color indices array proxy.

Returns:
CSLIntArray* Pointer to an array proxy of color indices.

SI_Int* GetColorIndicesPtr (  ) 

Returns an array of SI_Int containing the color index list.

Returns:
SI_Int* Array of SI_Int

SI_Error DestroyColorIndices (  ) 

Destroy the color indices array.

Returns:
SI_Error Error code.

CSLIntArray* AddUVArray (  ) 

Create a new UV indices array.

Returns:
CSLIntArray* Pointer to the newly created array.

CSLIntArray* GetUVIndices ( SI_Int  in_nId  ) 

Return the number of texture coordinate arrays.

Returns:
SI_Int Number of UV arrays.

SI_Int* GetUVIndicesPtr ( SI_Int  in_nId  ) 

Return the UV indices array proxy.

Parameters:
SI_Int  Identification of the UV array to retrieve.
Returns:
CSLIntArray* Pointer to an array proxy of UV indices.

SI_Error RemoveUVArray (  ) 

Returns an array of SI_Int containing the UV index list.

Parameters:
SI_Int  Identification of the UV array to retrieve.
Returns:
SI_Int* Array of SI_Int

SI_Error ClearUVArrays (  ) 

Remove the last UV indices array.

Returns:
SI_Error Error code.

SI_Int GetUVArrayCount (  ) 

Remove all UV indices array.

Returns:
SI_Error Error code.

virtual ETemplateType Type (  )  [inline, virtual]

Indicate which dotXSI template this object describes.

Returns:
ETemplateType Type of template

Implements CSLTemplate.

virtual SI_Error Synchronize (  )  [virtual]

Synchronize will ensure that the animated parameter is up to date.

Returns:
SI_Error Error code

Reimplemented from CSLTemplate.


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