#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 () |
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_pScene | Parent scene | |
| in_pModel | Parent model | |
| in_pTemplate | Refered template |
| virtual ~CSLXSIPolygonList | ( | ) | [virtual] |
Destructor
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Returns the type of this template (XSI_POLYGON_LIST)
Implements CSLTemplate.
| CSLBaseMaterial* GetMaterial | ( | ) | [inline] |
Return the material object of the polygon list.
| CSIBCString GetMaterialName | ( | ) |
Return the material object name of the polygon list or an empty string if there's none.
| SI_Void SetMaterial | ( | CSLBaseMaterial * | in_pNewMaterial | ) |
Change the material object of the polygon list.
| CSLBaseMaterial* | New material object. |
| SI_Void SetMaterialName | ( | const CSIBCString & | in_szNewMaterialName | ) |
Change the material object name of the polygon list. Should ONLY be called if we don't export the material.
| const | CSIBCString& New material object name. |
| SI_Int GetPolygonCount | ( | ) |
Get the number of polygon.
| CSLIntArray* GetPolygonNodeCountArray | ( | ) |
Get the polygon count array.
| CSLIntArray* GetVertexIndices | ( | ) |
Get the polynode vertex indices array.
| SI_Error Synchronize | ( | ) | [virtual] |
Commit the current template information
Reimplemented from CSLTemplate.
| virtual SI_Error SetCount | ( | SI_Int | ) | [virtual] |
Set the number of polynode in this polygon list.
Reimplemented from CSLXSISubComponentList.
| CSLXSIIndexList* ConnectIndexList | ( | CSLXSIIndexList * | in_pNewXSIIndexList | ) |
Connect a new index list.
| virtual CSLXSIIndexList* AddIndexList | ( | ) | [virtual] |
Add a new index list. If an index list already exists, it will be deleted, and replaced.
| CSLXSIIndexList* GetIndexList | ( | ) |
Get the index list. May return NULL if it does not exist.
| SI_Error RemoveIndexList | ( | ) |
Remove the index list.