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

Handles the Model template (see the SI_Model template reference).
| CSLModel | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| [in] | in_pScene | Parent Scene |
| [in] | in_pModel | Parent Model |
| [in] | in_pTemplate | Parent Template |
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Updates the template with information from this instance
Reimplemented from CSLConstrainableType.
Reimplemented in CSLCOLLADAModel.
| virtual ETemplateType Type | ( | ) | [virtual] |
Returns the type of this template
| CSLTemplate::SI_Model | Template type |
Implements CSLTemplate.
| virtual CSLAnimatableType* ParameterFromName | ( | SI_Char * | in_szName | ) | [virtual] |
Returns a handle on one of this model's parameters by using its name
| [in] | in_szName | the name of the parameter to get the handle from |
Reimplemented from CSLTemplate.
| virtual SI_Error Fix | ( | ) | [virtual] |
Fixes all problems in the model to ensure it is valid
Reimplemented from CSLTemplate.
Reimplemented in CSLCOLLADAModel.
| CSLCluster* AddCluster | ( | ) |
Adds a cluster to the cluster list
| CSLConstraint* AddConstraint | ( | CSLConstraint::EConstraintType | in_ConstraintType | ) | [virtual] |
Adds a constraint to the constraint list
| [in] | in_ConstraintType | Pointer to the newly added constraint |
Implements CSLConstrainableType.
| SI_Error RemoveCluster | ( | SI_Int | in_nIndex | ) |
Removes a cluster from the cluster list
| [in] | in_nIndex | Index of the cluster to remove |
| SI_Error RemoveCluster | ( | CSLCluster * | in_pToRemove | ) |
Removes a cluster from the cluster list
| [in] | in_pToRemove | Pointer of the cluster to remove |
| SI_Int GetClusterCount | ( | ) |
Returns the total number of clusters in the cluster list
| SI_Int GetEnvelopeCount | ( | ) |
Returns the total number of envelopes in the envelope list
| CSLCluster** GetClusterList | ( | ) |
Returns a pointer to the internally-stored cluster pointer list
| CSLEnvelope** GetEnvelopeList | ( | ) |
Returns a pointer to the internally-stored envelope pointer list
| SI_Error ClearClusters | ( | ) |
Removes all clusters from the internally-stored list and deallocate them
| SI_Error UnconnectEnvelope | ( | CSLEnvelope * | in_pToUnconnect | ) |
Removes the reference to the specified envelope
| [in] | in_pToUnconnect | Pointer to the envelope whose reference is to be removed |
| CSLCluster* ConnectCluster | ( | CSLCluster * | in_pNewCluster | ) |
Adds a reference to an existing cluster
| [in] | in_pNewCluster | Pointer to the new object to refer to |
| CSLEnvelope* ConnectEnvelope | ( | CSLEnvelope * | in_pNewEnvelope | ) |
Adds a reference to an existing envelope
| [in] | in_pNewEnvelope | Pointer to the new object to refer to |
| CSLTransform* GetBasePose | ( | ) |
Returns the base position
| CSLTransform* CreateBasePose | ( | ) |
Allocates and connects a new base position to the model
| SI_Error DestroyBasePose | ( | ) |
Deallocates the base position
| CSLGlobalMaterial* GlobalMaterial | ( | ) |
Returns the global material
| SI_Error AddGlobalMaterial | ( | ) |
Adds a new GlobalMaterial to this model
| CSLTransform* Transform | ( | ) |
Returns the transform
| CSLVisibility* Visibility | ( | ) |
Returns visibility
| CSLModel* Parent | ( | ) |
Returns the parent of the model
| CSLPrimitive* Primitive | ( | ) |
Returns the primitive of the model
Connects a mixer to the model
| [in] | in_pNewMixer | Mixer to connect |
| virtual CSLMixer* CreateMixer | ( | ) | [virtual] |
Allocates and connects a new mixer to the model
Reimplemented in CSLCOLLADAModel.
| SI_Error DestroyMixer | ( | ) |
Deallocates the mixer
| CSLMixer* Mixer | ( | ) |
Returns the mixer
Connects to an existing model
| [in] | in_pNewModel | Pointer to the model to connect |
| CSLVisibility* ConnectVisibility | ( | CSLVisibility * | in_pNewVisibility | ) |
Connects to an existing visibility
| [in] | in_pNewVisibility | Pointer to the visibility to connect |
| CSLTransform* ConnectTransform | ( | CSLTransform * | in_pNewTransform | ) |
Connects to an existing transform
| [in] | in_pNewTransform | Pointer to the transform to connect |
| CSLTransform* ConnectBasePose | ( | CSLTransform * | in_pNewBasePose | ) |
Connects to an existing base position
| [in] | in_pNewBasePose | Pointer to the base pose to connect |
| CSLPrimitive* ConnectPrimitive | ( | CSLPrimitive * | in_pNewPrimitive | ) |
Connects to an existing primitive
| [in] | in_pNewPrimitive | Pointer to the primitive to connect |
| CSLGlobalMaterial* ConnectGlobalMaterial | ( | CSLGlobalMaterial * | in_pNewGlobalMaterial | ) |
Connects to an existing global material
| [in] | in_pNewGlobalMaterial | Pointer to the global material to connect |
| ETemplateType GetPrimitiveType | ( | ) |
Returns the primitive type of this model
| virtual CSLModel* AddCamera | ( | ) | [virtual] |
Adds a camera to the children list
Reimplemented in CSLCOLLADAModel.
| virtual CSLModel* AddXSICamera | ( | ) | [virtual] |
Adds a camera to the children list
Reimplemented in CSLCOLLADAModel.
| CSLModel* AddCurveList | ( | ) |
Adds a curve list to the children list
| virtual CSLModel* AddDirectionalLight | ( | ) | [virtual] |
Adds a directional light to the children list
Reimplemented in CSLCOLLADAModel.
| CSLModel* AddIKChain | ( | SI_Int | in_nNbJoints | ) |
Adds an IK Chain to the children list
| [in] | in_nNbJoints | Number of joints |
| CSLModel* AddIKRoot | ( | ) |
Adds an IK Root to the children list
| CSLModel* AddIKJoint | ( | ) |
Adds an IK Joint to the children list
| CSLModel* AddIKEffector | ( | ) |
Adds an IK effector to the children list
| virtual CSLModel* AddInfiniteLight | ( | ) | [virtual] |
Adds an infinite light to the children list
Reimplemented in CSLCOLLADAModel.
| virtual CSLModel* AddInstance | ( | ) | [virtual] |
Adds an instance to the children list
Reimplemented in CSLCOLLADAModel.
| CSLModel* AddMesh | ( | ) |
Adds a mesh to the children list
| virtual CSLModel* AddXSIMesh | ( | ) | [virtual] |
Adds a mesh to the children list
Reimplemented in CSLCOLLADAModel.
| virtual CSLModel* AddModel | ( | ) | [virtual] |
Adds a model to the children list
Reimplemented in CSLCOLLADAModel.
| CSLModel* AddNull | ( | ) |
Adds a null object to the children list
| CSLModel* AddPatch | ( | ) |
Adds a patch to the children list
| virtual CSLModel* AddPointLight | ( | ) | [virtual] |
Adds a point light to the children list
Reimplemented in CSLCOLLADAModel.
| virtual CSLModel* AddSpotLight | ( | ) | [virtual] |
Adds a spot light to the children list
Reimplemented in CSLCOLLADAModel.
| CSLModel* AddSurfaceMesh | ( | ) |
Adds a surface mesh to the children list
| CSLModel** GetChildrenList | ( | ) |
Returns the children of the model
| SI_Error ClearChildren | ( | ) |
Deallocates all the children of the model
| SI_Int GetChildrenCount | ( | ) |
Returns the number of children
Removes a child
| [in] | in_pChild | Pointer to the child to remove |
| SI_Error RemoveChild | ( | SI_Int | in_nIndex | ) |
Removes a child
| [in] | in_nIndex | Index of the child to remove |
Sets a new parent for the model
| [in] | in_pNewParent | The new parent |
| CSLFXTree* AddFXTree | ( | ) |
Adds an FX tree to the FX tree list
| SI_Error RemoveFXTree | ( | SI_Int | in_nIndex | ) |
Removes an FX tree from the FX tree list
| [in] | in_nIndex | Index of the FX tree to remove |
Removes an FX tree from the FX tree list
| [in] | in_pToRemove | Pointer to the FX tree to remove |
| SI_Error ClearFXTrees | ( | ) |
Removes all connections points from the FX tree list
Adds an exisiting FX tree to the FX tree list
| [in] | in_pToConnect | Pointer to the FX tree to add |
| CSLFXTree** GetFXTreeList | ( | ) |
Returns a pointer to the internally-stored FX tree pointer list
| SI_Int GetFXTreeCount | ( | ) |
Returns the total number of FXTrees
| CSLFXTree* FindFXTree | ( | SI_Char * | in_szFXTreeName | ) |
Searches for a given FX tree
| [in] | in_szFXTreeName | Name of the FX tree to look for |
| CSLXSITransform* XSITransform | ( | ) |
Returns the transform
| CSLXSITransform* ConnectXSITransform | ( | CSLXSITransform * | in_pNewTransform | ) |
Connects to an existing transform
| [in] | in_pNewTransform | Pointer to the transform to connect |
| CSLXSIBasePose* GetXSIBasePose | ( | ) |
Returns the base pose
| CSLXSIBasePose* ConnectXSIBasePose | ( | CSLXSIBasePose * | in_pNewBasePose | ) |
Connects to an existing base pose
| [in] | in_pNewBasePose | Pointer to the basepose to connect |
| CSLXSIBasePose* CreateXSIBasePose | ( | ) |
Allocates and connects a new base position to the model
| SI_Error DestroyXSIBasePose | ( | ) |
Deallocates the base pose
| virtual const SI_Char* GetParameterName | ( | CSLAnimatableType * | in_pParameter | ) | [virtual] |
Return the name (string) of a specified parameter.
| [in] | in_pParameter | The parameter |
Reimplemented from CSLTemplate.
Reimplemented in CSLCOLLADAModel.
Unconnects a child model
| [in] | in_pModel | the child model to unconnect |