Pose class.
Public Member Functions |
|
__init__ (str pName, object pObject=None) | |
Constructor. |
|
IQuery_Declare (Implementation) | |
int | GetNodeCount () |
Returns the number of pose nodes stored.
|
|
int | AddNode (FBModel pObject, FBMatrix pMatrix=None, bool pIsLocalMatrix=False) |
Add a new pose node. |
|
RemoveNode (int pIndex) | |
Remove the pose node at specified index.
|
|
SetNodeObject (int pIndex, FBModel pObject) | |
Set the pose node object. |
|
FBModel | GetNodeObject (int pIndex) |
Get the pose node object. |
|
str | GetNodeName (int pIndex) |
Get the pose node at specified index.
|
|
SetNodeMatrix (int pIndex, FBMatrix pMatrix) | |
Set the pose node matrix. |
|
FBMatrix | GetNodeMatrix (int pIndex) |
Get the pose node matrix. |
|
FBMatrix | GetNodeMatrixGlobal (int pIndex) |
Get the global pose node matrix. |
|
SetIsNodeLocalMatrix (int pIndex, bool pIsNodeLocalMatrix) | |
Set the type of the Matrix for a given node.
|
|
bool | IsNodeLocalMatrix (int pIndex) |
Get the type of the Matrix for a given node.
|
|
int | Find (str pNodeName) |
Look in this pose if the given node is
present. |
|
Public Attributes |
|
FBPropertyPoseType | Type |
Read Only Property: Type of the pose
(bind pose or rest pose). |
Constructor.
pName | Name of pose. |
pObject | For internal use only (default=NULL). |
Reimplemented in FBCharacterPose, and FBObjectPose.
IQuery_Declare | ( | Implementation | ) |
int GetNodeCount | ( | ) |
Returns the number of pose nodes stored.
Add a new pose node.
pObject | The object for which we are creating the pose information. |
pMatrix | The transformation of the object we want to save. |
pIsLocalMatrix | Is the matrix a local matrix? |
RemoveNode | ( | int | pIndex | ) |
Remove the pose node at specified index.
pIndex | Index of the node to be removed. |
Set the pose node object.
pIndex | Index of the node. |
pObject | Object to associate with this pose node. |
Get the pose node object.
pIndex | Index of the node. |
Get the pose node at specified index.
pIndex | Index of the node. |
Set the pose node matrix.
pIndex | Index of the node. |
pMatrix | Matrix to set for this pose node. |
Get the pose node matrix.
pIndex | Index of the node. |
Get the global pose node matrix.
pIndex | Index of the node. |
Set the type of the Matrix for a given node.
pIndex | Index of the node. |
pIsNodeLocalMatrix | True if the matrix of the node is a local matrix. |
Get the type of the Matrix for a given node.
pIndex | Index of the node. |
Look in this pose if the given node is present.
pNodeName | Name of the node we are looking for. |
FBPropertyPoseType Type |
Read Only Property: Type of the pose (bind pose or rest pose).