1 #ifndef __FBCHARACTERPOSE_H__ 2 #define __FBCHARACTERPOSE_H__ 43 #include <kaydaradef.h> 48 #define FBSDK_DLL K_DLLIMPORT 54 #ifdef FBSDKUseNamespace 66 kFBCharacterPoseNoFlag = 0,
67 kFBCharacterPoseMirror = 1,
68 kFBCharacterPoseGravity = 1<<1,
69 kFBCharacterPoseMatchTX = 1<<2,
70 kFBCharacterPoseMatchTY = 1<<3,
71 kFBCharacterPoseMatchTZ = 1<<4,
72 kFBCharacterPoseMatchR = 1<<5,
73 kFBCharacterPoseMatchPivot = 1<<6,
74 kFBCharacterPoseUseKeyingGroup = 1<<7,
75 kFBCharacterPoseMatchFKTranslation = 1<<8
81 kFBMirrorPlaneTypeInvalid = -1,
82 kFBMirrorPlaneTypeAuto = 0,
86 kFBMirrorPlaneTypeUser,
87 kFBMirrorPlaneTypeEquation,
88 kFBMirrorPlaneTypeCount
94 kFBCharacterPoseKeyingModeInvalid = -1,
95 kFBCharacterPoseKeyingModeFullBody = 0,
96 kFBCharacterPoseKeyingModeBodyPart,
97 kFBCharacterPoseKeyingModeCount
199 void ClearCharacterPose();
203 void ClearCharacterExtensionsPose();
218 void CopyPoseCharacterExtensions(
FBCharacter& pCharacter );
257 bool IsCharacterPoseStored();
263 bool IsCharacterExtensionPoseStored(
const char* pCharacterExtensionName );
290 int GetCharacterExtensionPoseCount();
296 FBObjectPose* GetCharacterExtensionPoseAt(
int pIndex );
302 FBObjectPose* GetCharacterExtensionPose(
const char* pCharacterExtensionName );
309 FBObjectPose* GetOrCreateCharacterExtensionPose(
const char* pCharacterExtensionName );
314 void RemoveCharacterExtensionPoseAt(
int pIndex );
319 void RemoveCharacterExtensionPose(
const char* pCharacterExtensionName );
345 int GetExtraBoneCount();
351 FBModel* GetExtraBoneModelAt(
int pIndex);
373 void GetExtraBoneParentRotationOffset(
FBRVector &pR,
int pIndex );
378 void ApplyPoseCandidate();
408 #ifdef FBSDKUseNamespace FBCharacterPoseFlag
Character Pose Options flags.
Used to work with character poses.
#define __FBClassDeclare(Name, Parent)
For internal use only.
PropertyList: Concrete class for PropertyList of component
FBMirrorPlaneType
Mirror Plane Type.
FBCharacterPoseKeyingMode
Character Pose Keying Mode.
FBCharacterPoseKeyingMode mCharacterPoseKeyingMode
CharacterPoseKeyingMode (FullBody or BodyPart).
Four x Four (double) Matrix.
FBVector4< double > mMirrorPlaneEquation
Mirror plane equation (used when mMirrorPlaneType = kFBMirrorPlaneTypeEquation).
double mMirrorPlanePanAngle
Mirror plane pan angle in degrees (used when mMirrorPlaneType = kFBMirrorPlaneTypeUser).
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
PropertyList: CharacterPose.
#define FBSDKNamespace
FBSDKNamespace define.
FBModel * mModelToMatch
Model to match.
Stores options for operations on poses.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
class K_DLLIMPORT FBVector3< double > FBVector3d
3D vector.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
double mMirrorPlaneTiltAngle
Mirror plane tilt angle in degrees (used when mMirrorPlaneType = kFBMirrorPlaneTypeUser).
FBMirrorPlaneType mMirrorPlaneType
Mirror plane type.
A character is the link between a motion source and a character model.