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 CSLXSITriangleList class describes a list of triangles 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_pScene  Parent scene
in_pModel  Parent model
in_pTemplate  Refered template
Returns:
an instance of CSLXSITriangleList

virtual ~CSLCOLLADATriangleList (  )  [virtual]

Destructor


Member Function Documentation

virtual SI_Error Synchronize (  )  [virtual]

Commit the current template information

Returns:
SI_Error Whether or not the commit was successful

Reimplemented from CSLXSITriangleList.

virtual CdotXSITemplates* GetInputSemantics (  )  [virtual]

GetInputSemantics - Returns all input semantics used by this triangle list

Returns:
CdotXSITemplates*


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