Definition in file fbobjectpose.h.
#include <kaydaradef.h>
#include <fbsdk/fbcomponent.h>
#include <fbsdk/fbpose.h>


Go to the source code of this file.
Classes |
|
| class | FBObjectPoseOptions |
| FBObjectPoseOptions class.
More... |
|
| class | FBObjectPoseMirrorOptions |
| FBObjectPoseMirrorOptions
class. More... |
|
| class | FBObjectPose |
| FBObjectPose class. More... |
|
| class | FBPropertyListObjectPose |
| PropertyList: ObjectPose. More... |
|
Defines |
|
| #define | FBSDK_DLL K_DLLIMPORT |
| Be sure that FBSDK_DLL is defined only once.
|
|
Enumerations |
|
| enum | FBPoseTransformType
{ kFBPoseTransformInvalid = -1, kFBPoseTransformLocal = 0, kFBPoseTransformGlobal, kFBPoseTransformLocalRef, kFBPoseTransformTypeCount } |
| Transform mode of pose. More... |
|
| enum | FBObjectPoseOptionsFlag
{ kFBObjectPoseOptionsNoFlag = 0, kFBObjectPoseOptionsTranslationX = 1, kFBObjectPoseOptionsTranslationY = 1<<1, kFBObjectPoseOptionsTranslationZ = 1<<2, kFBObjectPoseOptionsRotation = 1<<3, kFBObjectPoseOptionsScaling = 1<<4 } |
| ObjectPoseOptions flags. More... |
|
| enum | FBObjectPoseMirrorOptionsFlag
{ kFBObjectPoseMirrorOptionsNoFlag = 0, kFBObjectPoseMirrorOptionsUpdateLocal = 1, kFBObjectPoseMirrorOptionsUpdateLocalMirrorParent = 1<<1, kFBObjectPoseMirrorOptionsUpdateLocalRef = 1<<2, kFBObjectPoseMirrorOptionsUpdateLocalRefMirrorRef = 1<<3 } |
| ObjectPoseMirrorOptions flags. More... |
|
Functions |
|
| K_DLLIMPORT void | GetPlaneEquation (FBVector4< double > &pPlaneEquation, const FBTVector &pPlaneNormalVector, const FBTVector &pPointOnPlane) |
| Get a plane equation from a normal vector
and a point on the plane. |
|
| K_DLLIMPORT void | GetPlaneEquation (FBVector4< double > &pPlaneEquation, const FBTVector &pPointOnPlane, const FBMatrix &pPlaneRM) |
| Get a plane equation from a point on the
plane and a rotation matrix relative to the plane XZ. |
|
| K_DLLIMPORT void | GetPlaneRotation (FBMatrix &pPlaneRM, const FBVector4< double > &pPlaneEquation) |
| Get the plane rotation matrix from a plane
equation. |
|
| K_DLLIMPORT void | NormalizePlaneEquation (FBVector4< double > &pNormalizedPlaneEquation, FBVector4< double > &pPlaneEquation) |
| Normalize a plane equation. |
|
| K_DLLIMPORT void | MirrorTransform (FBTVector &pMirrorT, FBMatrix &pMirrorRM, FBMatrix &pMirrorSM, const FBTVector &pT, const FBMatrix &pRM, const FBMatrix &pSM, const FBVector4< double > &pPlaneEquation) |
| Mirror a transformation using the specified
mirror plane. |
|
| K_DLLIMPORT void | MirrorTransformT (FBTVector &pMirrorT, const FBTVector &pT, const FBVector4< double > &pPlaneEquation) |
| Mirror a translation using the specified
mirror plane. |
|
| K_DLLIMPORT void | MirrorTransformR (FBMatrix &pMirrorRM, const FBMatrix &pRM, const FBVector4< double > &pPlaneEquation) |
| Mirror a rotation using the specified mirror
plane. |
|
| #define FBSDK_DLL K_DLLIMPORT |
ObjectPoseMirrorOptions flags.
Definition at line 81 of file fbobjectpose.h.
ObjectPoseOptions flags.
| kFBObjectPoseOptionsNoFlag | |
| kFBObjectPoseOptionsTranslationX | |
| kFBObjectPoseOptionsTranslationY | |
| kFBObjectPoseOptionsTranslationZ | |
| kFBObjectPoseOptionsRotation | |
| kFBObjectPoseOptionsScaling |
Definition at line 70 of file fbobjectpose.h.
| enum FBPoseTransformType |
Transform mode of pose.
| kFBPoseTransformInvalid | |
| kFBPoseTransformLocal | |
| kFBPoseTransformGlobal | |
| kFBPoseTransformLocalRef | |
| kFBPoseTransformTypeCount |
Definition at line 60 of file fbobjectpose.h.
| K_DLLIMPORT void GetPlaneEquation | ( | FBVector4< double > & | pPlaneEquation, | |
| const FBTVector & | pPointOnPlane, | |||
| const FBMatrix & | pPlaneRM | |||
| ) |
Get a plane equation from a point on the plane and a rotation matrix relative to the plane XZ.
| pPlaneEquation | Out: The plane equation computed. | |
| pPointOnPlane | A point on the plane. | |
| pPlaneRM | Rotation matrix of the plane, identity being the plane XZ. |
| K_DLLIMPORT void GetPlaneEquation | ( | FBVector4< double > & | pPlaneEquation, | |
| const FBTVector & | pPlaneNormalVector, | |||
| const FBTVector & | pPointOnPlane | |||
| ) |
Get a plane equation from a normal vector and a point on the plane.
| pPlaneEquation | Out: The plane equation computed. | |
| pPlaneNormalVector | Normal vector to the plane. | |
| pPointOnPlane | A point on the plane. |
| K_DLLIMPORT void GetPlaneRotation | ( | FBMatrix & | pPlaneRM, | |
| const FBVector4< double > & | pPlaneEquation | |||
| ) |
Get the plane rotation matrix from a plane equation.
| pPlaneRM | Out: Rotation matrix of the plane, identity being the plane XZ. | |
| pPlaneEquation | The equation of the plane. |
| K_DLLIMPORT void MirrorTransform | ( | FBTVector & | pMirrorT, | |
| FBMatrix & | pMirrorRM, | |||
| FBMatrix & | pMirrorSM, | |||
| const FBTVector & | pT, | |||
| const FBMatrix & | pRM, | |||
| const FBMatrix & | pSM, | |||
| const FBVector4< double > & | pPlaneEquation | |||
| ) |
Mirror a transformation using the specified mirror plane.
| pMirrorT | Out: Mirrored translation. | |
| pMirrorRM | Out: Mirrored rotation. | |
| pMirrorSM | Out: Mirrored scaling. | |
| pT | Translation to mirror. | |
| pRM | Rotation to mirror. | |
| pSM | Scaling to mirror. | |
| pPlaneEquation | The equation of the mirror plane. |
| K_DLLIMPORT void MirrorTransformR | ( | FBMatrix & | pMirrorRM, | |
| const FBMatrix & | pRM, | |||
| const FBVector4< double > & | pPlaneEquation | |||
| ) |
Mirror a rotation using the specified mirror plane.
| pMirrorRM | Out: Mirrored rotation. | |
| pRM | Rotation to mirror. | |
| pPlaneEquation | The equation of the mirror plane. |
| K_DLLIMPORT void MirrorTransformT | ( | FBTVector & | pMirrorT, | |
| const FBTVector & | pT, | |||
| const FBVector4< double > & | pPlaneEquation | |||
| ) |
Mirror a translation using the specified mirror plane.
| pMirrorT | Out: Mirrored translation. | |
| pT | Translation to mirror. | |
| pPlaneEquation | The equation of the mirror plane. |
| K_DLLIMPORT void NormalizePlaneEquation | ( | FBVector4< double > & | pNormalizedPlaneEquation, | |
| FBVector4< double > & | pPlaneEquation | |||
| ) |
Normalize a plane equation.
| pNormalizedPlaneEquation | Out: Plane equation normalized. | |
| pPlaneEquation | Plane equation to normalized. |