This class exposes the object used to store the options for operations on object poses. Before using a FBCharacterPoseOptions, you need to specify the various members of the object. Here are the default values of a FBCharacterPoseOptions object: mCharacterPoseKeyingMode = kFBCharacterPoseKeyingModeFullBody mModelToMatch = NULL mMirrorPlaneType = kFBMirrorPlaneTypeAuto mMirrorPlaneEquation = 1.0, 0.0, 0.0, 0.0 mMirrorPlaneTiltAngle = 90.0 mMirrorPlanePanAngle = 0.0 Flag = kFBCharacterPoseNoFlag You need to change at least the Flag value by using SetFlag() to set how the pose will be paste; see the FBCharacterPoseFlag enum for the various options.
Public Member Functions |
|
FBCharacterPoseOptions () | |
Constructor. |
|
ClearFlag () | |
Clear all flags. |
|
bool | GetFlag (FBCharacterPoseFlag pFlag) |
Get a flag value. |
|
SetFlag (FBCharacterPoseFlag pFlag, bool pValue) | |
Set a flag value. |
|
Public Attributes |
|
FBCharacterPoseKeyingMode | mCharacterPoseKeyingMode |
CharacterPoseKeyingMode (FullBody or
BodyPart). |
|
FBVector4< double > | mMirrorPlaneEquation |
Mirror plane equation (used when
mMirrorPlaneType = kFBMirrorPlaneTypeEquation). |
|
float | mMirrorPlanePanAngle |
Mirror plane pan angle in degrees (used when
mMirrorPlaneType = kFBMirrorPlaneTypeUser). |
|
float | mMirrorPlaneTiltAngle |
Mirror plane tilt angle in degrees (used
when mMirrorPlaneType = kFBMirrorPlaneTypeUser). |
|
FBMirrorPlaneType | mMirrorPlaneType |
Mirror plane type. |
|
FBModel | mModelToMatch |
Model to match. |
Constructor.
ClearFlag | ( | ) |
Clear all flags.
bool GetFlag | ( | FBCharacterPoseFlag | pFlag | ) |
Get a flag value.
pFlag | Flag to get. |
SetFlag | ( | FBCharacterPoseFlag | pFlag, | |
bool | pValue | |||
) |
Set a flag value.
pFlag | Flag to set. | |
pValue | Value to set. |
CharacterPoseKeyingMode (FullBody or BodyPart).
FBVector4< double > mMirrorPlaneEquation |
Mirror plane equation (used when mMirrorPlaneType = kFBMirrorPlaneTypeEquation).
Mirror plane pan angle in degrees (used when mMirrorPlaneType = kFBMirrorPlaneTypeUser).
Mirror plane tilt angle in degrees (used when mMirrorPlaneType = kFBMirrorPlaneTypeUser).
Mirror plane type.
Model to match.