#include <XSIPolygonList.h>
Inheritance diagram for CSLXSIPolygonList:

Public Types |
|
| typedef CSLArrayProxy< SI_Int, SI_Int, 1 > |
CSLIntArray |
Public Member Functions |
|
| CSLXSIPolygonList (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLXSIPolygonList () |
| virtual ETemplateType | Type () |
| CSLBaseMaterial * | GetMaterial () |
| CSIBCString | GetMaterialName () |
| SI_Void | SetMaterial (CSLBaseMaterial *in_pNewMaterial) |
| SI_Void | SetMaterialName (const CSIBCString &in_szNewMaterialName) |
| SI_Int | GetPolygonCount () |
| CSLIntArray * | GetPolygonNodeCountArray () |
| CSLIntArray * | GetVertexIndices () |
| SI_Error | Synchronize () |
| virtual SI_Error | SetCount (SI_Int) |
| CSLXSIIndexList * | ConnectIndexList (CSLXSIIndexList *in_pNewXSIIndexList) |
| virtual CSLXSIIndexList * | AddIndexList () |
| CSLXSIIndexList * | GetIndexList () |
| SI_Error | RemoveIndexList () |
Describes a list of n-sided polygons for dotXSI 5.0+ (see the XSI_PolygonList template reference). The polynodes in this list can have n number of attibutes like vertex, normals, UV and color information.
| typedef CSLArrayProxy<SI_Int, SI_Int, 1> CSLIntArray |
Proxy class that allows modifying a list of SI_Int like an array.
Reimplemented from CSLXSISubComponentList.
| CSLXSIPolygonList | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| [in] | in_pScene | Parent scene |
| [in] | in_pModel | Parent model |
| [in] | in_pTemplate | Refered template |
| virtual ~CSLXSIPolygonList | ( | ) | [virtual] |
Destructor
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Returns the type of this template
| CSLTemplate::XSI_POLYGON_LIST | The type of this template |
Implements CSLTemplate.
| CSLBaseMaterial* GetMaterial | ( | ) | [inline] |
Returns the material object of the polygon list.
| CSIBCString GetMaterialName | ( | ) |
Returns the material object name of the polygon list or an empty string if there's none.
| SI_Void SetMaterial | ( | CSLBaseMaterial * | in_pNewMaterial | ) |
Changes the material object of the polygon list.
| [in] | in_pNewMaterial | New material object. |
| SI_Void SetMaterialName | ( | const CSIBCString & | in_szNewMaterialName | ) |
Changes the material object name of the polygon list. Should ONLY be called if we don't export the material.
| [in] | in_szNewMaterialName | New material object name. |
| SI_Int GetPolygonCount | ( | ) |
Returns the number of polygon.
| CSLIntArray* GetPolygonNodeCountArray | ( | ) |
Returns the polygon count array.
| CSLIntArray* GetVertexIndices | ( | ) |
Returns the polynode vertex indices array.
| SI_Error Synchronize | ( | ) | [virtual] |
Commits the current template information
Reimplemented from CSLTemplate.
Reimplemented in CSLCOLLADAPolygonList.
| virtual SI_Error SetCount | ( | SI_Int | ) | [virtual] |
Sets the number of polynode in this polygon list.
Reimplemented from CSLXSISubComponentList.
| CSLXSIIndexList* ConnectIndexList | ( | CSLXSIIndexList * | in_pNewXSIIndexList | ) |
Connects a new index list.
| [in] | in_pNewXSIIndexList | Index position list to connect |
| virtual CSLXSIIndexList* AddIndexList | ( | ) | [virtual] |
Adds a new index list. If an index list already exists, it will be deleted, and replaced.
Reimplemented in CSLCOLLADAPolygonList.
| CSLXSIIndexList* GetIndexList | ( | ) |
Returns the index list. May return NULL if it does not exist.
| SI_Error RemoveIndexList | ( | ) |
Removes the index list.