CSLXSISubComponentAttributeList Class Reference

#include <XSISubComponentAttributeList.h>

Inheritance diagram for CSLXSISubComponentAttributeList:

CSLTemplate CSIBCNode CSLCOLLADASubComponentAttributeList List of all members.

Public Types

typedef CSLArrayProxy< SI_Float,
SI_Float, 1 > 
CSLFloatArray

Public Member Functions

  CSLXSISubComponentAttributeList (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate)
virtual  ~CSLXSISubComponentAttributeList ()
SI_Int  GetCount ()
virtual SI_Char *  GetSemantic ()
virtual SI_Void  SetSemantic (SI_Char *in_Semantic)
EAttributeType  GetAttributeType ()
virtual SI_Void  SetAttributeType (EAttributeType in_AttributeType)
CSLFloatArray GetAttributeArray ()
virtual ETemplateType  Type ()
virtual SI_Error  Synchronize ()

Detailed Description

Describes a sub-component attribute list for dotXSI 5.0+ (see the XSI_SubComponentAttributeList template reference).

This class holds a list of values for a specific attribute of a given type and semantic. It allows an attribute (position, normal, color, texcoord, etc.) to be associated with vertices or polynodes.


Member Typedef Documentation

typedef CSLArrayProxy<SI_Float, SI_Float, 1> CSLFloatArray

Proxy class that allows modifying a list of SI_Int like an array.


Constructor & Destructor Documentation

CSLXSISubComponentAttributeList ( CSLScene in_pScene,
CSLModel in_pModel,
CdotXSITemplate in_pTemplate  
)

Constructor

Parameters:
in_pScene  Parent scene
in_pModel  Parent model
in_pTemplate  Refered template
in_Type  the type of attribute to construct
Returns:
an instance of CSLXSISubComponentAttributeList

virtual ~CSLXSISubComponentAttributeList (  )  [virtual]

Destructor


Member Function Documentation

SI_Int GetCount (  ) 

Get the number of values in the attribute list.

Returns:
SI_Int Number of attribute values.

virtual SI_Char* GetSemantic (  )  [inline, virtual]

Get the semantic of the attribute list.

Returns:
SI_Char* The semantic.

Reimplemented in CSLCOLLADASubComponentAttributeList.

virtual SI_Void SetSemantic ( SI_Char *  in_Semantic  )  [inline, virtual]

Set the semantic of the attribute list.

Parameters:
SI_Char*  The semantic.
Returns:
None

Reimplemented in CSLCOLLADASubComponentAttributeList.

EAttributeType GetAttributeType (  )  [inline]

Get the type of the attribute value.

Returns:
EAttributeType Type of the attribute value.

virtual SI_Void SetAttributeType ( EAttributeType  in_AttributeType  )  [virtual]

Set the type of the attribute value.

Parameters:
EAttributeType  Type of the attribute value.
Returns:
None

Reimplemented in CSLCOLLADASubComponentAttributeList.

CSLFloatArray* GetAttributeArray (  )  [inline]

Get the the attribute value array so that the values can be edited.

Returns:
CSLFloatArray* The attribute value array.

virtual ETemplateType Type (  )  [inline, virtual]

Get the template type

Returns:
ETemplateType the template type of the sub-component attribute list (XSI_SUB_COMPONENT_ATTRIBUTE_LIST)

Implements CSLTemplate.

virtual SI_Error Synchronize (  )  [virtual]

Commit the current template information

Returns:
SI_Error Whether or not the commit was successful

Reimplemented from CSLTemplate.

Reimplemented in CSLCOLLADASubComponentAttributeList.


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