CSLXSIIndexList Class Reference

This class represents an XSI_IndexList template. 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

This class represents an XSI_IndexList template.

Represents an index list for dotXSI 6.0+ (see the XSI_IndexList template reference). This class holds a list of values for a specific attribute of a given type and semantic. It also 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]  in_pScene  Parent scene
[in]  in_pModel  Parent model
[in]  in_pTemplate  Refered template
Returns:
an instance of CSLXSIIndexList

virtual ~CSLXSIIndexList (  )  [virtual]

Destructor


Member Function Documentation

SI_Int GetCount (  ) 

Returns the number of values in the attribute list.

Returns:
Number of attribute values.

CSLIntArray* GetIndexArray (  )  [inline]

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

Returns:
The attribute value array.

virtual ETemplateType Type (  )  [inline, virtual]

Returns the template type

Return values:
CSLTemplate::XSI_INDEX_LIST  the template type of the index list

Implements CSLTemplate.

virtual SI_Error Synchronize (  )  [virtual]

Commits the current template information

Returns:
Whether or not the commit was successful

Reimplemented from CSLTemplate.

Reimplemented in CSLCOLLADAIndexList.


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