This reference page is linked to from the following overview topics: Cameras, Supported Scene Elements, FBX SDK 2014, List of Python Fbx classes, FBX Node Attributes, Lights.
#include <fbxmarker.h>
This node attribute contains the properties of a marker.
A FbxMarker can represent a motion capture marker or a HIK IK/FK effector.
ExportScene04/main.cxx, ImportScene/DisplayMarker.cxx, and UI_Examples/CubeCreator/SDK_Utility.cxx.
Definition at line 26 of file fbxmarker.h.
Public Types |
|
| enum | EType { eStandard, eOptical, eEffectorFK, eEffectorIK } |
| Marker types. More... |
|
| enum | ELook
{ eCube, eHardCross, eLightCross, eSphere, eCapsule, eBox, eBone, eCircle, eSquare, eStick, eNone } |
| Marker look. More... |
|
Public Member Functions |
|
| virtual FbxNodeAttribute::EType | GetAttributeType () const |
| Return the type of node attribute which is
EType::eMarker. |
|
| void | Reset () |
| Reset the marker to default values. |
|
| void | SetType (EType pType) |
| Set marker type. |
|
| EType | GetType () const |
| Get marker type. |
|
| FbxProperty | GetOcclusion () const |
| This method grants access to the occlusion
property. |
|
| FbxProperty | GetIKReachTranslation () const |
| This method grants access to the
IKReachTranslation property. |
|
| FbxProperty | GetIKReachRotation () const |
| This method grants access to the
IKReachRotation property. |
|
| FbxProperty | GetIKPull () const |
| This method grants access to the IKPull
property. |
|
| FbxProperty | GetIKPullHips () const |
| This method grants access to the IKPullHips
property. |
|
Public Attributes |
|
| FbxPropertyT< ELook > | Look |
| This property handles the marker's look.
|
|
| FbxPropertyT< FbxBool > | DrawLink |
| This property handles the marker's link
visibility. |
|
| FbxPropertyT< FbxDouble > | Size |
| This property handles the marker's size.
|
|
| FbxPropertyT< FbxBool > | ShowLabel |
| This property handles the marker's label
visibility. |
|
| FbxPropertyT< FbxDouble3 > | IKPivot |
| This property handles the marker's pivot
position. |
|
Default Animation Values |
|
|
This set of functions provides direct access to default animation values specific to a marker. The default animation values are found in the default take node of the associated node. Hence, these functions only work if the marker has been associated with a node. |
|
| double | GetDefaultOcclusion () const |
| Get default occlusion. |
|
| void | SetDefaultOcclusion (double pOcclusion) |
| Set default occlusion. |
|
| double | GetDefaultIKReachTranslation () const |
| Get default IK reach translation. |
|
| void | SetDefaultIKReachTranslation (double pIKReachTranslation) |
| Set default IK reach translation. |
|
| double | GetDefaultIKReachRotation () const |
| Get default IK reach rotation. |
|
| void | SetDefaultIKReachRotation (double pIKReachRotation) |
| Set default IK reach rotation. |
|
| double | GetDefaultIKPull () const |
| Get default IK pull. |
|
| void | SetDefaultIKPull (double pIKPull) |
| Set default IK pull. |
|
| double | GetDefaultIKPullHips () const |
| Get default IK pull hips. |
|
| void | SetDefaultIKPullHips (double pIKPullHips) |
| Set default IK pull hips. |
|
Obsolete functions |
|
| FbxColor & | GetDefaultColor (FbxColor &pColor) const |
| Get default color. |
|
| void | SetDefaultColor (FbxColor &pColor) |
| Set default color. |
|
| enum EType |
Marker types.
Reimplemented from FbxNodeAttribute.
Definition at line 43 of file fbxmarker.h.
{
eStandard,
eOptical,
eEffectorFK,
eEffectorIK
};
| enum ELook |
Marker look.
| eCube | |
| eHardCross | |
| eLightCross | |
| eSphere | |
| eCapsule | |
| eBox | |
| eBone | |
| eCircle | |
| eSquare | |
| eStick | |
| eNone |
No flags. |
Definition at line 74 of file fbxmarker.h.
| virtual FbxNodeAttribute::EType GetAttributeType | ( | ) | const [virtual] |
Return the type of node attribute which is EType::eMarker.
Reimplemented from FbxNodeAttribute.
| void Reset | ( | ) |
Reset the marker to default values.
| void SetType | ( | EType | pType | ) |
| EType GetType | ( | ) | const |
| double GetDefaultOcclusion | ( | ) | const |
Get default occlusion.
| void SetDefaultOcclusion | ( | double | pOcclusion | ) |
Set default occlusion.
| pOcclusion | 0.0 if optical marker animation is valid by default, 1.0 if it is occluded by default. |
| double GetDefaultIKReachTranslation | ( | ) | const |
Get default IK reach translation.
| void SetDefaultIKReachTranslation | ( | double | pIKReachTranslation | ) |
Set default IK reach translation.
| pIKReachTranslation | A value between 0.0 and 100.0, 100.0 means complete IK reach. |
| double GetDefaultIKReachRotation | ( | ) | const |
Get default IK reach rotation.
| void SetDefaultIKReachRotation | ( | double | pIKReachRotation | ) |
Set default IK reach rotation.
| pIKReachRotation | A value between 0.0 and 100.0, 100.0 means complete IK reach. |
| double GetDefaultIKPull | ( | ) | const |
Get default IK pull.
| void SetDefaultIKPull | ( | double | pIKPull | ) |
Set default IK pull.
| pIKPull | A value between 0.0 and 100.0, 100.0 means complete IK pull. |
| double GetDefaultIKPullHips | ( | ) | const |
Get default IK pull hips.
| void SetDefaultIKPullHips | ( | double | pIKPullHips | ) |
Set default IK pull hips.
| pIKPull | A value between 0.0 and 100.0, 100.0 means complete IK pull. |
Get default color.
| pColor | Filled with appropriate data |
| void SetDefaultColor | ( | FbxColor & | pColor | ) |
Set default color.
| pColor | The marker color to be set. |
| FbxProperty GetOcclusion | ( | ) | const |
This method grants access to the occlusion property.
| FbxProperty GetIKReachTranslation | ( | ) | const |
This method grants access to the IKReachTranslation property.
| FbxProperty GetIKReachRotation | ( | ) | const |
This method grants access to the IKReachRotation property.
| FbxProperty GetIKPull | ( | ) | const |
This method grants access to the IKPull property.
| FbxProperty GetIKPullHips | ( | ) | const |
This method grants access to the IKPullHips property.
This property handles the marker's look.
To access this property do: Look.Get(). To set this property do: Look.Set(ELook).
Default value is eCube
Definition at line 194 of file fbxmarker.h.
This property handles the marker's link visibility.
To access this property do: DrawLink.Get(). To set this property do: DrawLink.Set(FbxBool).
Default value is true
Definition at line 203 of file fbxmarker.h.
This property handles the marker's size.
To access this property do: Size.Get(). To set this property do: Size.Set(FbxDouble).
Default value is 100
Definition at line 212 of file fbxmarker.h.
This property handles the marker's label visibility.
To access this property do: ShowLabel.Get(). To set this property do: ShowLabel.Set(FbxBool).
Default value is false
Definition at line 221 of file fbxmarker.h.
This property handles the marker's pivot position.
To access this property do: IKPivot.Get(). To set this property do: IKPivot.Set(FbxDouble3).
Default value is (0., 0., 0.)
Definition at line 230 of file fbxmarker.h.