#include <Model.h>
Inheritance diagram for CSLModel:

| CSLModel | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | Parent Scene | |
| in_pModel | Parent Model | |
| in_pTemplate | Parent Template |
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Updates the template with information from this instance
Reimplemented from CSLConstrainableType.
Reimplemented in CSLCOLLADAModel.
Returns the type of this template: SI_Model
Implements CSLTemplate.
Gets a handle on one of this model's parameters by using its name
| in_szName | the name of the parameter to get the handle from |
Reimplemented from CSLTemplate.
Fixes all problems in the model to ensure it is valid
Reimplemented from CSLTemplate.
Reimplemented in CSLCOLLADAModel.
Add a cluster to the cluster list
Add a constraint to the constraint list
Implements CSLConstrainableType.
Removes a cluster from the cluster list
| in_nIndex | Index of the cluster to remove |
| SI_Error RemoveCluster | ( | CSLCluster * | in_pToRemove | ) |
Removes a cluster from the cluster list
| in_pToRemove | Pointer of the cluster to remove |
Gets the total number of clusters in the cluster list
Gets the total number of envelopes in the envelope list
Gets a pointer to the internally-stored cluster pointer list
Gets a pointer to the internally-stored envelope pointer list
Removes all clusters from the internally-stored list and deallocate them
Removes the reference to the specified envelope
| in_pToUnconnect | Pointer to the envelope whose reference is to be removed |
Adds a reference to an existing cluster
| in_pNewCluster | Pointer to the new object to refer to |
Adds a reference to an existing envelope
| in_pNewCluster | Pointer to the new object to refer to |
Returns the base position
Allocates and connects a new base position to the model
Deallocates the base position
Returns the global material
Adds a new GlobalMaterial to this model
Returns the transform
Returns visibility Pointer to the visibility
Returns the parent of the model
Returns the primitive of the model
Connects a mixer to the model
| in_pNewMixer | Mixer to connect |
Allocates and connects a new mixer to the model
Reimplemented in CSLCOLLADAModel.
Deallocates the mixer
Returns the mixer
Connects to an existing model
| in_pNewModel | Pointer to the model to connect |
Connects to an existing visibility
| in_pNewVisibility | Pointer to the visibility to connect |
Connects to an existing transform
| in_pNewTransform | Pointer to the transform to connect |
Connects to an existing base position
| in_pNewBasePose | Pointer to the base pose to connect |
Connects to an existing primitive
| in_pNewPrimitive | Pointer to the primitive to connect |
Connects to an existing global material
| in_pNewGlobalMaterial | Pointer to the global material to connect |
Returns the primitive type of this model
Adds a camera to the children list
Reimplemented in CSLCOLLADAModel.
Adds an XSI camera to the children list
Reimplemented in CSLCOLLADAModel.
Adds a curve list to the children list
Adds a directional light to the children list
Reimplemented in CSLCOLLADAModel.
Adds an IK Chain to the children list
Adds an IK Root to the children list
Adds an IK Joint to the children list
Adds an IK effector to the children list
Adds an infinite light to the children list
Reimplemented in CSLCOLLADAModel.
Adds an instance to the children list
Reimplemented in CSLCOLLADAModel.
Adds a mesh to the children list
Adds a xsi mesh to the children list
Reimplemented in CSLCOLLADAModel.
Adds a model to the children list
Reimplemented in CSLCOLLADAModel.
Adds a null object to the children list
Adds a patch to the children list
Adds a point light to the children list
Reimplemented in CSLCOLLADAModel.
Adds a spot light to the children list
Reimplemented in CSLCOLLADAModel.
Adds a surface mesh to the children list
Gets the children of the model
Deallocates all the children of the model
Gets the number of children
Removes a child
| in_pChild | Pointer to the child to remove |
| SI_Error RemoveChild | ( | SI_Int | in_nIndex | ) |
Removes a child
| in_nIndex | Index of the child to remove |
Sets a new parent for the model
| in_pNewParent | The new parent |
Adds an FX tree to the FX tree list
Removes an FX tree from the FX tree list
| in_nIndex | Index of the FX tree to remove |
Removes an FX tree from the FX tree list
| in_pToRemove | Pointer to the FX tree to remove |
Removes all connections points from the FX tree list
Adds an exisiting FX tree to the FX tree list
| in_pToConnect | Pointer to the FX tree to add |
Gets a pointer to the internally-stored FX tree pointer list
Gets the total number of FXTrees
Searches for a given FX tree
| in_szFXTreeName | Name of the FX tree to look for |
Returns the XSI transform
Connects to an existing XSI transform
| in_pNewTransform | Pointer to the transform to connect |
Returns the XSI base pose
Connects to an existing XSI base pose
| in_pNewBasePose | Pointer to the basepose to connect |
Allocates and connects a new XSI base position to the model
Deallocates the XSI base pose
Return the name (string) of a specified parameter.
| in_pParameter | The parameter |
Reimplemented from CSLTemplate.
Reimplemented in CSLCOLLADAModel.
Unconnects a child model
| in_pModel | the child model to unconnect |