This reference page is linked to from the following overview topics: FBPose - Poses.
Detailed Description
Pose class.
Definition at line 75 of file fbpose.h.
#include <fbpose.h>
List of all members.
Constructor & Destructor Documentation
FBPose |
( |
const char * |
pName, |
|
|
HIObject |
pObject = NULL |
|
) |
| |
Constructor.
- Parameters:
-
pName | Name of pose. |
pObject | For internal use only (default=NULL). |
Member Function Documentation
IQuery_Declare |
( |
K_IMPLEMENTATION |
| ) |
|
Returns the number of pose nodes stored.
int AddNode |
( |
FBModel * |
pObject, |
|
|
FBMatrix * |
pMatrix = NULL , |
|
|
bool |
pIsLocalMatrix = false |
|
) |
| |
Add a new pose node.
- Parameters:
-
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? |
void RemoveNode |
( |
int |
pIndex | ) |
|
Remove the pose node at specified index.
- Parameters:
-
pIndex | Index of the node to be removed. |
void SetNodeObject |
( |
int |
pIndex, |
|
|
FBModel * |
pObject |
|
) |
| |
Set the pose node object.
- Parameters:
-
pIndex | Index of the node. |
pObject | Object to associate with this pose node. |
FBModel* GetNodeObject |
( |
int |
pIndex | ) |
|
Get the pose node object.
- Parameters:
-
- Returns:
- a pointer to the node's Object.
FBString GetNodeName |
( |
int |
pIndex | ) |
const |
Get the pose node at specified index.
- Parameters:
-
void SetNodeMatrix |
( |
int |
pIndex, |
|
|
FBMatrix * |
pMatrix |
|
) |
| |
Set the pose node matrix.
- Parameters:
-
pIndex | Index of the node. |
pMatrix | Matrix to set for this pose node. |
FBMatrix GetNodeMatrix |
( |
int |
pIndex | ) |
const |
Get the pose node matrix.
- Parameters:
-
- Returns:
- a reference to the node's Matrix.
FBMatrix GetNodeMatrixGlobal |
( |
int |
pIndex | ) |
const |
Get the global pose node matrix.
- Parameters:
-
- Returns:
- a reference to the node's Global Matrix.
void SetIsNodeLocalMatrix |
( |
int |
pIndex, |
|
|
bool |
pIsNodeLocalMatrix |
|
) |
| |
Set the type of the Matrix for a given node.
- Parameters:
-
pIndex | Index of the node. |
pIsNodeLocalMatrix | True if the matrix of the node is a local matrix. |
bool IsNodeLocalMatrix |
( |
int |
pIndex | ) |
|
Get the type of the Matrix for a given node.
- Parameters:
-
- Returns:
- true if the matrix is defined in Local coordinate space.
Look in this pose if the given node is present.
- Parameters:
-
pNodeName | Name of the node we are looking for. |
- Returns:
- -1 if the node is not in the list or it's position.
Member Data Documentation
Read Only Property: Type of the pose (bind pose or rest pose)
Definition at line 165 of file fbpose.h.
The documentation for this class was generated from the following file: