CSLXSIIndexList Class Reference

Index list class for dotXSI 6.0+. More...

#include <XSIIndexList.h>

Inheritance diagram for CSLXSIIndexList:

CSLTemplate CSIBCNode CSLCOLLADAIndexList List of all members.

Public Types

typedef CSLArrayProxy< SI_Int,
SI_Int, 1 > 
CSLIntArray

Public Member Functions

  CSLXSIIndexList (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate)
virtual  ~CSLXSIIndexList ()
SI_Int  GetCount ()
CSLIntArray GetIndexArray ()
virtual ETemplateType  Type ()
virtual SI_Error  Synchronize ()

Detailed Description

Index list class for dotXSI 6.0+.

Describes an index list

The CSLXSIIndexList holds a list of values for a specific attribute of a given type and semantic.

This class allows an attribute (position, normal, color, texcoord, etc.) to be associated with vertices or polynodes.


Member Typedef Documentation

typedef CSLArrayProxy<SI_Int, SI_Int, 1> CSLIntArray

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


Constructor & Destructor Documentation

CSLXSIIndexList ( CSLScene in_pScene,
CSLModel in_pModel,
CdotXSITemplate in_pTemplate  
)

Constructor

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

virtual ~CSLXSIIndexList (  )  [virtual]

Destructor


Member Function Documentation

SI_Int GetCount (  ) 

Get the number of values in the attribute list.

Returns:
SI_Int Number of attribute values.

CSLIntArray* GetIndexArray (  )  [inline]

Get the the attribute value array so that the values can be edited.

Returns:
CSLIntArray* The attribute value array.

virtual ETemplateType Type (  )  [inline, virtual]

Get the template type

Returns:
ETemplateType the template type of the index list (XSI_INDEX_LIST)

Implements CSLTemplate.

virtual SI_Error Synchronize (  )  [virtual]

Commit the current template information

Returns:
SI_Error Whether or not the commit was successful

Reimplemented from CSLTemplate.

Reimplemented in CSLCOLLADAIndexList.


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