CSLCOLLADATriangleList Class Reference

Describes a list of triangles for dotXSI 5.0+. More...

#include <COLLADATriangleList.h>

Inheritance diagram for CSLCOLLADATriangleList:

CSLXSITriangleList CSLXSISubComponentList CSLTemplate CSIBCNode List of all members.

Public Member Functions

  CSLCOLLADATriangleList (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate, CCOLLADATemplate *in_pCOLLADATemplate, CCOLLADATemplate *in_pVertexDef)
virtual  ~CSLCOLLADATriangleList ()
virtual SI_Error  Synchronize ()
virtual CdotXSITemplates GetInputSemantics ()

Detailed Description

Describes a list of triangles for dotXSI 5.0+.

The polynodes in this list can have N number of attibutes like vertex, normals, UV and color information.

To find out, you may use GetVertexIndices() to get the mendatory vertex index attributes and the parent class (CSLXSISubComponentList) functionality to get the other generic attributes index.

To get the number of triangles in the list, use GetTriangleCount().


Constructor & Destructor Documentation

CSLCOLLADATriangleList ( CSLScene in_pScene,
CSLModel in_pModel,
CdotXSITemplate in_pTemplate,
CCOLLADATemplate in_pCOLLADATemplate,
CCOLLADATemplate in_pVertexDef  
)

Constructor

Parameters:
[in]  in_pScene  Parent scene
[in]  in_pModel  Parent model
[in]  in_pTemplate  dotXSI template
[in]  in_pCOLLADATemplate  Referred template
[in]  in_pVertexDef  Vertex definition template
Returns:
an instance of CSLXSITriangleList

virtual ~CSLCOLLADATriangleList (  )  [virtual]

Destructor


Member Function Documentation

virtual SI_Error Synchronize (  )  [virtual]

Commits the current template information

Returns:
Whether or not the commit was successful

Reimplemented from CSLXSITriangleList.

virtual CdotXSITemplates* GetInputSemantics (  )  [virtual]

Returns all input semantics used by this triangle list

Returns:
Input semantics


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