CSLXSIShape Class Reference
Describes a Mesh Shape for dotXSI 5.0+ (see the XSI_Shape template reference).
More...#include <XSIShape.h>
Inheritance diagram for CSLXSIShape:
List of all members.
Detailed Description
Describes a Mesh Shape for dotXSI 5.0+ (see the XSI_Shape template reference).
This class holds a generic sub component attribute list that describes vertex or polynode attributes. It implements helpers for the following attributes: vertex positions, multiple normals, multiple texture coordinates and multiple colors.
Member Enumeration Documentation
Types of shapes
- Enumerator:
-
| XSI_ORDERED |
The shape is of ordered type |
| XSI_INDEXED |
The shape is of indexed type |
Constructor & Destructor Documentation
Constructor
- Parameters:
-
| [in] |
in_pScene |
Parent scene |
| [in] |
in_pModel |
Parent model |
| [in] |
in_pTemplate |
Refered template |
| [in] |
in_Type |
the type of shape to construct |
- Returns:
- an instance of CSLShape
Destructor
Member Function Documentation
Adds a new sub component attribute list.
- Parameters:
-
| [in] |
in_AttributeType |
Type of attribute list to add |
- Returns:
- Pointer to the newly created list.
| SI_Int GetAttributeListCount |
( |
|
) |
|
Returns the number of sub component attribute lists.
- Returns:
- Number of sub component attribute lists.
| SI_Int GetAttributeListCountBySemantic |
( |
SI_Char * |
in_pSemantic |
) |
|
Returns the number of sub component attribute lists with the given semantic.
- Parameters:
-
| [in] |
in_pSemantic |
Semantic to find |
- Returns:
- Number of sub component attribute lists with the given semantic.
Returns an array of all sub component attribute list.
- Returns:
- Array of pointers to sub component attribute list.
Removes the last sub component attribute list.
- Returns:
- Error code.
Removes the specified sub component attribute list.
- Parameters:
-
| [in] |
in_pAttributeList |
Attribute list to remove |
- Returns:
- Error code.
| SI_Error RemoveAttributeList |
( |
SI_Int |
in_iIndex |
) |
|
Removes the specified sub component attribute list.
- Parameters:
-
| [in] |
in_iIndex |
Index of list to remove |
- Returns:
- Error code.
Removes all sub component attribute list.
- Returns:
- Error code.
| SI_Error ClearAttributeListsBySemantic |
( |
SI_Char * |
in_pSemantic |
) |
|
Removes all sub component attribute list that has the given semantic.
- Parameters:
-
| [in] |
in_pSemantic |
Semantic to find |
- Returns:
- Error code.
Connects a new sub component attribute list.
- Parameters:
-
| [in] |
in_pNewXSISubComponentAttributeList |
New sub component attribute list |
- Returns:
- The newly connected sub component attribute list.
Returns the first sub component attribute list with the corresponding semantic.
- Parameters:
-
| [in] |
in_pSemantic |
Semantic to find |
- Returns:
- Pointer to the first sub component attribute list with the corresponding semantic.
Returns the next sub component attribute list with the corresponding semantic.
- Parameters:
-
| [in] |
in_pSemantic |
Semantic to find |
- Returns:
- Pointer to the next sub component attribute list with the corresponding semantic.
Adds a new POSITION attribute list.
- Returns:
- Pointer to the newly created POSITION attribute list.
Returns the POSITION attribute list.
- Returns:
- Pointer to the POSITION attribute list.
Removes the last POSITION attribute list.
- Returns:
- Error code.
Adds a new NORMAL attribute list.
- Returns:
- Pointer to the newly created NORMAL attribute list.
Returns the first NORMAL attribute list.
- Returns:
- Pointer to the first NORMAL attribute list.
Returns the next NORMAL attribute list.
- Returns:
- Pointer to the next NORMAL attribute list.
| SI_Int GetNormalListCount |
( |
|
) |
|
Returns the number of NORMAL attribute list.
- Returns:
- The number of NORMAL attribute list.
Removes the last NORMAL attribute list.
- Returns:
- Error code.
Clears all the NORMAL attribute list.
- Returns:
- Error code.
Adds a new COLOR attribute list.
- Returns:
- Pointer to the newly created COLOR attribute list.
Returns the first COLOR attribute list.
- Returns:
- Pointer to the first COLOR attribute list.
Returns the next COLOR attribute list.
- Returns:
- Pointer to the next COLOR attribute list.
| SI_Int GetColorListCount |
( |
|
) |
|
Returns the number of COLOR attribute list.
- Returns:
- The number of COLOR attribute list.
Removes the last COLOR attribute list.
- Returns:
- Error code.
Clears all the COLOR attribute list.
- Returns:
- Error code.
Adds a new TEXCOORD attribute list.
- Returns:
- Pointer to the newly created TEXCOORD attribute list.
Returns the first TEXCOORD attribute list.
- Returns:
- Pointer to the first TEXCOORD attribute list.
Returns the next TEXCOORD attribute list.
- Returns:
- Pointer to the next TEXCOORD attribute list.
| SI_Int GetTexCoordListCount |
( |
|
) |
|
Returns the number of TEXCOORD attribute list.
- Returns:
- The number of TEXCOORD attribute list.
Removes the last TEXCOORD attribute list.
- Returns:
- Error code.
Clears all the TEXCOORD attribute list.
- Returns:
- Error code.
Adds a new WEIGHTMAP attribute list.
- Returns:
- Pointer to the newly created WEIGHTMAP attribute list.
Returns the first WEIGHTMAP attribute list.
- Returns:
- Pointer to the first WEIGHTMAP attribute list.
Returns the next WEIGHTMAP attribute list.
- Returns:
- Pointer to the next WEIGHTMAP attribute list.
| SI_Int GetWeightMapListCount |
( |
|
) |
|
Returns the number of WEIGHTMAP attribute list.
- Returns:
- The number of WEIGHTMAP attribute list.
Removes the last WEIGHTMAP attribute list.
- Returns:
- Error code.
Clears all the WEIGHTMAP attribute list.
- Returns:
- Error code.
Adds a new Tangent attribute list.
- Returns:
- Pointer to the newly created Tangent attribute list.
Returns the first Tangent attribute list.
- Returns:
- Pointer to the first Tangent attribute list.
Returns the next Tangent attribute list.
- Returns:
- Pointer to the next Tangent attribute list.
| SI_Int GetTangentListCount |
( |
|
) |
|
Returns the number of Tangent attribute list.
- Returns:
- The number of Tangent attribute list.
Removes the last Tangent attribute list.
- Returns:
- Error code.
Clears all the Tangent attribute list.
- Returns:
- Error code.
Adds a new Binormal attribute list.
- Returns:
- Pointer to the newly created Binormal attribute list.
Returns the first Binormal attribute list.
- Returns:
- Pointer to the first Binormal attribute list.
Returns the next Binormal attribute list.
- Returns:
- Pointer to the next Binormal attribute list.
| SI_Int GetBinormalListCount |
( |
|
) |
|
Returns the number of Binormal attribute list.
- Returns:
- The number of Binormal attribute list.
Removes the last Binormal attribute list.
- Returns:
- Error code.
Clears all the Binormal attribute list.
- Returns:
- Error code.
Returns the template type of the shape surface
- Return values:
-
Implements CSLTemplate.
Returns the shape type
- Returns:
- The type of the shape surface (XSI_ORDERED or XSI_INDEXED)
Sets the shape type
- Parameters:
-
| [in] |
in_eShapeType |
The new shape type |
| virtual SI_Error Synchronize |
( |
|
) |
[virtual] |
Commits the current template information
- Returns:
- Whether or not the commit was successful
Reimplemented from CSLTemplate.
The documentation for this class was generated from the following file: