Used to work with character poses.
This class exposes the object used to store the pose of objects.

Public Member Functions |
|
| __init__ (str pName, object pObject=None) | |
| Public constructor. |
|
| ClearPose () | |
| Clear all the data of the pose. |
|
| ClearCharacterPose () | |
| Clear only the pose of the character (omit
the extensions). |
|
| ClearCharacterExtensionsPose () | |
| Clear only the pose of the character
extensions (omit the character). |
|
| CopyPose (FBCharacter pCharacter) | |
| Copy the pose of a character and its
extensions. |
|
| CopyPoseCharacter (FBCharacter pCharacter) | |
| Copy the pose of only the character (omit
the extensions). |
|
| CopyPoseCharacterExtensions (FBCharacter pCharacter) | |
| Copy the pose of only the character
extensions (omit the character). |
|
| CopyPoseCharacterExtension (FBCharacterExtension pCharacterExtension) | |
| Copy the pose of a single character
extension. |
|
| PastePose (FBCharacter pCharacter, FBCharacterPoseOptions pCharacterPoseOptions) | |
| Paste the pose of a character and its
extensions. |
|
| PastePoseCharacter (FBCharacter pCharacter, FBCharacterPoseOptions pCharacterPoseOptions) | |
| Paste the pose of only the character (omit
the extensions). |
|
| PastePoseCharacterExtensions (FBCharacter pCharacter, FBCharacterPoseOptions pCharacterPoseOptions) | |
| Paste the pose of only the character
extensions (omit the character). |
|
| PastePoseCharacterExtension (FBCharacterExtension pCharacterExtension, FBCharacterPoseOptions pCharacterPoseOptions) | |
| Paste the pose of a single character
extension. |
|
| bool | IsCharacterPoseStored () |
| Is the pose of the character stored in the
pose?. |
|
| bool | IsCharacterExtensionPoseStored (str pCharacterExtensionName) |
| Is the pose of the character extension
stored in the pose?. |
|
| CopyFrom (FBCharacterPose pFromPose) | |
| Copy everything from a given object.
|
|
| CopyPoseDataFrom (FBCharacterPose pFromPose) | |
| Copy all the pose data from a given pose.
|
|
| CopyPoseCharacterFrom (FBCharacterPose pFromPose) | |
| Copy the pose data of only the character
from a given pose. |
|
| CopyPoseCharacterExtensionsFrom (FBCharacterPose pFromPose) | |
| Copy the pose data of only the character
extensions from a given pose. |
|
| int | GetCharacterExtensionPoseCount () |
| Get the number of character extension stored
in the pose. |
|
| FBObjectPose | GetCharacterExtensionPoseAt (int pIndex) |
| Get the pose of a character extension.
|
|
| FBObjectPose | GetCharacterExtensionPose (str pCharacterExtensionName) |
| Get the pose of a character extension.
|
|
| FBObjectPose | GetOrCreateCharacterExtensionPose (str pCharacterExtensionName) |
| Get the pose of a character extension and
create it if necessary. |
|
| RemoveCharacterExtensionPoseAt (int pIndex) | |
| Remove the pose of a character extension.
|
|
| RemoveCharacterExtensionPose (str pCharacterExtensionName) | |
| Remove the pose of a character extension.
|
|
| str | GetCharacterExtensionNameFromPose (FBObjectPose pCharacterExtensionPose) |
| Get the name of the character extension for
the specified pose. |
|
| GetMirrorPlaneEquation (FBVector4 pMirrorPlaneEquation, FBCharacter pCharacter, FBCharacterPoseOptions pCharacterPoseOptions) | |
| Get the mirror plane equation that would be
used to mirror according to the CharacterPoseOptions. |
|
| GetMirrorPlaneEquation (FBMatrix pMirrorPlaneEquation, FBCharacter pCharacter, FBCharacterPoseOptions pCharacterPoseOptions) | |
| Get the mirror plane equation that would be
used to mirror according to the CharacterPoseOptions. |
|
| int | GetExtraBoneCount () |
| Get the number of extra bones contained in
the character pose. |
|
| FBModel | GetExtraBoneModelAt (int pIndex) |
| Get the extra bone model at the specified
index. |
|
| GetExtraBoneTransformOffset (FBVector3 pT, FBVector3 pR, FBVector3 pS, int pIndex) | |
| Get the extra bone transformation offset.
|
|
| GetExtraBoneTransform (FBVector3 pT, FBVector3 pR, FBVector3 pS, int pIndex) | |
| Get the extra bone transformation. |
|
| GetExtraBoneParentRotationOffset (FBVector3 pR, int pIndex) | |
| Get the extra bone transformation offset.
|
|
| ApplyPoseCandidate () | |
| After setting the candidate on the skeleton
node, calling this function will allow subsequent call to get the
TRS value of a skeleton node to return the candidate value.
|
|
Public constructor.
This constructor is used to create a new object.
| pName | Object name. |
| pObject | For internal use only. |
Reimplemented from FBPose.
| ClearPose | ( | ) |
Clear all the data of the pose.
| ClearCharacterPose | ( | ) |
Clear only the pose of the character (omit the extensions).
| ClearCharacterExtensionsPose | ( | ) |
Clear only the pose of the character extensions (omit the character).
| CopyPose | ( | FBCharacter | pCharacter | ) |
Copy the pose of a character and its extensions.
| pCharacter | Character to copy the pose from. |
| CopyPoseCharacter | ( | FBCharacter | pCharacter | ) |
Copy the pose of only the character (omit the extensions).
| pCharacter | Character to copy the pose from. |
| CopyPoseCharacterExtensions | ( | FBCharacter | pCharacter | ) |
Copy the pose of only the character extensions (omit the character).
| pCharacter | Character to copy the pose of the extensions from. |
| CopyPoseCharacterExtension | ( | FBCharacterExtension | pCharacterExtension | ) |
Copy the pose of a single character extension.
| pCharacterExtension | Character extension to copy the pose from. |
| PastePose | ( | FBCharacter | pCharacter, |
| FBCharacterPoseOptions | pCharacterPoseOptions | ||
| ) |
Paste the pose of a character and its extensions.
| pCharacter | Character to paste the pose to. |
| pCharacterPoseOptions | Options used to specify how to paste. |
| PastePoseCharacter | ( | FBCharacter | pCharacter, |
| FBCharacterPoseOptions | pCharacterPoseOptions | ||
| ) |
Paste the pose of only the character (omit the extensions).
| pCharacter | Character to paste the pose to. |
| pCharacterPoseOptions | Options used to specify how to paste. |
| PastePoseCharacterExtensions | ( | FBCharacter | pCharacter, |
| FBCharacterPoseOptions | pCharacterPoseOptions | ||
| ) |
Paste the pose of only the character extensions (omit the character).
| pCharacter | Character to paste the pose of the extensions to. |
| pCharacterPoseOptions | Options used to specify how to paste. |
| PastePoseCharacterExtension | ( | FBCharacterExtension | pCharacterExtension, |
| FBCharacterPoseOptions | pCharacterPoseOptions | ||
| ) |
Paste the pose of a single character extension.
| pCharacterExtension | Character extension to paste the pose to. |
| pCharacterPoseOptions | Options used to specify how to paste. |
| bool IsCharacterPoseStored | ( | ) |
Is the pose of the character stored in the pose?.
Is the pose of the character extension stored in the pose?.
| pCharacterExtensionName | Name of the character extension. |
| CopyFrom | ( | FBCharacterPose | pFromPose | ) |
Copy everything from a given object.
| pFromPose | Pose from which to copy. |
| CopyPoseDataFrom | ( | FBCharacterPose | pFromPose | ) |
Copy all the pose data from a given pose.
| pFromPose | Pose from which to copy the data. |
| CopyPoseCharacterFrom | ( | FBCharacterPose | pFromPose | ) |
Copy the pose data of only the character from a given pose.
| pFromPose | Pose from which to copy the data. |
| CopyPoseCharacterExtensionsFrom | ( | FBCharacterPose | pFromPose | ) |
Copy the pose data of only the character extensions from a given pose.
| pFromPose | Pose from which to copy the data. |
| int GetCharacterExtensionPoseCount | ( | ) |
Get the number of character extension stored in the pose.
| FBObjectPose GetCharacterExtensionPoseAt | ( | int | pIndex | ) |
Get the pose of a character extension.
| pIndex | Index of the character extension pose to get. |
| FBObjectPose GetCharacterExtensionPose | ( | str | pCharacterExtensionName | ) |
Get the pose of a character extension.
| pCharacterExtensionName | Name of the character extension pose to get (It is the label name of the character extension). |
| FBObjectPose GetOrCreateCharacterExtensionPose | ( | str | pCharacterExtensionName | ) |
Get the pose of a character extension and create it if necessary.
| pCharacterExtensionName | Name of the character extension pose to get (It is the label name of the character extension). |
| RemoveCharacterExtensionPoseAt | ( | int | pIndex | ) |
Remove the pose of a character extension.
| pIndex | Index of the character extension pose to remove. |
| RemoveCharacterExtensionPose | ( | str | pCharacterExtensionName | ) |
Remove the pose of a character extension.
| pCharacterExtensionName | Name of the character extension pose to remove (It is the label name of the character extension). |
| str GetCharacterExtensionNameFromPose | ( | FBObjectPose | pCharacterExtensionPose | ) |
Get the name of the character extension for the specified pose.
| pCharacterExtensionPose | Pose of a character extension to check its name. |
| GetMirrorPlaneEquation | ( | FBVector4 | pMirrorPlaneEquation, |
| FBCharacter | pCharacter, | ||
| FBCharacterPoseOptions | pCharacterPoseOptions | ||
| ) |
Get the mirror plane equation that would be used to mirror according to the CharacterPoseOptions.
| pMirrorPlaneEquation | Out: Mirror plane equation. |
| pCharacter | Character to receive the pose. |
| pCharacterPoseOptions | Options used to paste the pose. |
| GetMirrorPlaneEquation | ( | FBMatrix | pMirrorPlaneEquation, |
| FBCharacter | pCharacter, | ||
| FBCharacterPoseOptions | pCharacterPoseOptions | ||
| ) |
Get the mirror plane equation that would be used to mirror according to the CharacterPoseOptions.
| pMirrorPlaneEquation | Out: Mirror plane equation. |
| pCharacter | Character to receive the pose. |
| pCharacterPoseOptions | Options used to paste the pose. |
| int GetExtraBoneCount | ( | ) |
Get the number of extra bones contained in the character pose.
Get the extra bone model at the specified index.
| pIndex | Index of the extra bone to get. |
| GetExtraBoneTransformOffset | ( | FBVector3 | pT, |
| FBVector3 | pR, | ||
| FBVector3 | pS, | ||
| int | pIndex | ||
| ) |
Get the extra bone transformation offset.
| pT | A vector that will contains the translation offset value on return. |
| pR | A vector that will contains the rotation offset value on return. |
| pS | A vector that will contains the scale offset value on return. |
| pIndex | Index of the extra bone to get. |
| GetExtraBoneTransform | ( | FBVector3 | pT, |
| FBVector3 | pR, | ||
| FBVector3 | pS, | ||
| int | pIndex | ||
| ) |
Get the extra bone transformation.
| pT | A vector that will contains the translation value on return. |
| pR | A vector that will contains the rotation value on return. |
| pS | A vector that will contains the scale value on return. |
| pIndex | Index of the extra bone to get. |
| GetExtraBoneParentRotationOffset | ( | FBVector3 | pR, |
| int | pIndex | ||
| ) |
Get the extra bone transformation offset.
| pR | A vector that will contains the parent rotation offset value on return. |
| pIndex | Index of the extra bone to get. |
| ApplyPoseCandidate | ( | ) |
After setting the candidate on the skeleton node, calling this function will allow subsequent call to get the TRS value of a skeleton node to return the candidate value.