CSLCOLLADAModel Class Reference



Your Ad Here

#include <COLLADAModel.h>

Inheritance diagram for CSLCOLLADAModel:

CSLModel CSLTemplate CSLConstrainableType CSIBCNode List of all members.

Public Member Functions

  CSLCOLLADAModel (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate)
virtual  ~CSLCOLLADAModel ()
  Destructor.
virtual SI_Error  Fix ()
virtual SI_Error  Synchronize ()
virtual CSLModel AddModel ()
virtual CSLModel AddPointLight ()
virtual CSLModel AddDirectionalLight ()
virtual CSLModel AddInfiniteLight ()
virtual CSLModel AddSpotLight ()
virtual CSLModel AddCamera ()
virtual CSLModel AddXSIMesh ()
virtual CSLModel AddXSICamera ()
virtual CSLModel AddInstance ()
CCOLLADATemplate *  FindInstanceMaterial (char *in_pName)
virtual const SI_Char *  GetParameterName (CSLAnimatableType *in_pParameter)
const char *  GetInstanceTarget (char *in_pSymbol)
const char *  GetInstanceSymbol (char *in_pTarget)
virtual CSLMixer CreateMixer ()

Detailed Description

CSLCOLLADAModel Class


Constructor & Destructor Documentation

CSLCOLLADAModel ( CSLScene in_pScene,
CSLModel in_pModel,
CdotXSITemplate in_pTemplate  
)

Constructor

Parameters:
in_pScene  Parent Scene
in_pModel  Parent Model
in_pTemplate  Parent Template
Returns:
an instance of CSLModel


Member Function Documentation

virtual SI_Error Fix (  )  [virtual]

Fixes all problems in the model to ensure it is valid

Returns:
SI_Error Whether or not the model could be fixed

Reimplemented from CSLModel.

virtual SI_Error Synchronize (  )  [virtual]

Updates the template with information from this instance

Returns:
SI_Error Whether or not the template could be updated

Reimplemented from CSLModel.

virtual CSLModel* AddModel (  )  [virtual]

Adds a model to the children list

Returns:
Pointer to the new children

Reimplemented from CSLModel.

virtual CSLModel* AddPointLight (  )  [virtual]

Adds a point light to the children list

Returns:
Pointer to the new children

Reimplemented from CSLModel.

virtual CSLModel* AddDirectionalLight (  )  [virtual]

Adds a directional light to the children list

Returns:
Pointer to the new children

Reimplemented from CSLModel.

virtual CSLModel* AddInfiniteLight (  )  [virtual]

Adds an infinite light to the children list

Returns:
Pointer to the new children

Reimplemented from CSLModel.

virtual CSLModel* AddSpotLight (  )  [virtual]

Adds a spot light to the children list

Returns:
Pointer to the new children

Reimplemented from CSLModel.

virtual CSLModel* AddCamera (  )  [virtual]

Adds a camera to the children list

Returns:
Pointer to the new children

Reimplemented from CSLModel.

virtual CSLModel* AddXSIMesh (  )  [virtual]

Adds a mesh to the children list

Returns:
Pointer to the new children

Reimplemented from CSLModel.

virtual CSLModel* AddXSICamera (  )  [virtual]

Adds an XSI_Camera to the children list

Returns:
Pointer to the new children

Reimplemented from CSLModel.

virtual CSLModel* AddInstance (  )  [virtual]

Adds an instance of another model to the children list

Returns:
Pointer to the new children

Reimplemented from CSLModel.

CCOLLADATemplate* FindInstanceMaterial ( char *  in_pName  ) 

Finds the instance_material template with a given name material

Parameters:
in_pName  the name of the material
Returns:
the template of the instance_material

virtual const SI_Char* GetParameterName ( CSLAnimatableType in_pParameter  )  [virtual]

Return the name (string) of a specified parameter.

Parameters:
in_pParameter  The parameter
Returns:
SI_Char* Name of the parameter.

Reimplemented from CSLModel.

const char* GetInstanceTarget ( char *  in_pSymbol  ) 

Return the instance target name from its symbol.

Parameters:
in_pParameter  The symbol
Returns:
SI_Char* The name of the target.

const char* GetInstanceSymbol ( char *  in_pTarget  ) 

Return the instance target symbol from its name.

Parameters:
in_pParameter  The symbol
Returns:
SI_Char* The name of the target.

virtual CSLMixer* CreateMixer (  )  [virtual]

Allocates and connects a new mixer to the model

Returns:
CSLMixer Pointer to the newly allocated mixer

Reimplemented from CSLModel.


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

Return to Softimage XSI Index


Your Ad Here