This reference page is linked to from the following overview topics: Supported Scene Elements, FBX Node Attributes, Lights, Cameras, List of Python FBX classes.
This node attribute contains the properties of a marker.
A KFbxMarker can represent a motion capture marker or a HIK IK/FK effector.
ExportScene04/main.cxx, ImportScene/DisplayMarker.cxx, and UIExamples/CubeCreator/SDK_Utility.cxx.
Definition at line 33 of file kfbxmarker.h.
#include <kfbxmarker.h>

Public Types |
|
| enum | EType { eSTANDARD, eOPTICAL, eFK_EFFECTOR, eIK_EFFECTOR } |
|
Marker types. More... |
|
| enum | ELook
{ eCUBE, eHARD_CROSS, eLIGHT_CROSS, eSPHERE, eCAPSULE, eBOX, eBONE, eCIRCLE, eSQUARE, eSTICK, eNONE } |
|
Marker look. More... |
|
Public Member Functions |
|
| virtual EAttributeType | GetAttributeType () const |
| Return the type of node attribute which is
EAttributeType::eMARKER. |
|
| void | Reset () |
| Reset the marker to default values. |
|
| void | SetType (EType pType) |
| Set marker type. |
|
| EType | GetType () const |
| Get marker type. |
|
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. |
|
Obsolete functions |
|
| KFbxColor & | GetDefaultColor (KFbxColor &pColor) const |
| Get default color. |
|
| void | SetDefaultColor (KFbxColor &pColor) |
| Set default color. |
|
Property Names |
|
| static const char * | sLook |
| static const char * | sDrawLink |
| static const char * | sSize |
| static const char * | sShowLabel |
| static const char * | sIKPivot |
Property Default Values |
|
| static const ELook | sDefaultLook |
| static const fbxBool1 | sDefaultDrawLink |
| static const fbxDouble1 | sDefaultSize |
| static const fbxBool1 | sDefaultShowLabel |
| static const fbxDouble3 | sDefaultIKPivot |
| KFbxTypedProperty< ELook > | Look |
| This property handles the marker's look.
|
|
| KFbxTypedProperty< fbxBool1 > | DrawLink |
| This property handles the marker's link
visibility. |
|
| KFbxTypedProperty< fbxDouble1 > | Size |
| This property handles the marker's size.
|
|
| KFbxTypedProperty< fbxBool1 > | ShowLabel |
| This property handles the marker's label
visibility. |
|
| KFbxTypedProperty< fbxDouble3 > | IKPivot |
| This property handles the marker's pivot
position. |
|
| EType | mType |
| KFbxProperty | dynProp |
| KFbxProperty * | GetOcclusion () |
| This method grants access to the occlusion
property. |
|
| KFbxProperty * | GetIKReachTranslation () |
| This method grants access to the
IKReachTranslation property. |
|
| KFbxProperty * | GetIKReachRotation () |
| This method grants access to the
IKReachRotation property. |
|
| virtual KFbxObject & | Copy (const KFbxObject &pObject) |
| Copy an object content into this object.
|
|
| KFbxMarker (KFbxSdkManager &pManager, char const *pName) | |
| virtual void | Construct (const KFbxMarker *pFrom) |
| virtual bool | ConstructProperties (bool pForceSet) |
| void | Reset (bool pResetProperties) |
| virtual const char * | GetTypeName () const |
| Used to retrieve the KProperty list from an
attribute. |
|
| virtual KStringList | GetTypeFlags () const |
| enum EType |
Marker types.
Definition at line 50 of file kfbxmarker.h.
{
eSTANDARD,
eOPTICAL,
eFK_EFFECTOR,
eIK_EFFECTOR
} EType;
| enum ELook |
Marker look.
Definition at line 80 of file kfbxmarker.h.
| KFbxMarker | ( | KFbxSdkManager & | pManager, |
| char const * | pName | ||
| ) | [protected] |
| virtual EAttributeType GetAttributeType | ( | ) | const [virtual] |
Return the type of node attribute which is EAttributeType::eMARKER.
Reimplemented from KFbxNodeAttribute.
| 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. |
Get default color.
| pColor | Filled with appropriate data |
| void SetDefaultColor | ( | KFbxColor & | pColor | ) |
Set default color.
| pColor | The marker color to be set. |
| KFbxProperty* GetOcclusion | ( | ) |
This method grants access to the occlusion property.
| KFbxProperty* GetIKReachTranslation | ( | ) |
This method grants access to the IKReachTranslation property.
| KFbxProperty* GetIKReachRotation | ( | ) |
This method grants access to the IKReachRotation property.
| virtual KFbxObject& Copy | ( | const KFbxObject & | pObject | ) | [virtual] |
Copy an object content into this object.
| pObject | The source object to copy data from. |
Reimplemented from KFbxObject.
| virtual void Construct | ( | const KFbxMarker * | pFrom | ) | [protected, virtual] |
| virtual bool ConstructProperties | ( | bool | pForceSet | ) | [protected, virtual] |
Reimplemented from KFbxNodeAttribute.
| void Reset | ( | bool | pResetProperties | ) | [protected] |
| virtual const char* GetTypeName | ( | ) | const [protected, virtual] |
Used to retrieve the KProperty list from an attribute.
Reimplemented from KFbxObject.
| virtual KStringList GetTypeFlags | ( | ) | const [protected, virtual] |
Reimplemented from KFbxObject.
const char* sLook
[static] |
Definition at line 165 of file kfbxmarker.h.
const char* sDrawLink
[static] |
Definition at line 166 of file kfbxmarker.h.
const char* sSize
[static] |
Definition at line 167 of file kfbxmarker.h.
const char* sShowLabel
[static] |
Definition at line 168 of file kfbxmarker.h.
const char* sIKPivot
[static] |
Definition at line 169 of file kfbxmarker.h.
const ELook
sDefaultLook
[static] |
Definition at line 174 of file kfbxmarker.h.
const fbxBool1
sDefaultDrawLink
[static] |
Definition at line 175 of file kfbxmarker.h.
const fbxDouble1
sDefaultSize
[static] |
Definition at line 176 of file kfbxmarker.h.
const fbxBool1
sDefaultShowLabel
[static] |
Definition at line 177 of file kfbxmarker.h.
const fbxDouble3 sDefaultIKPivot
[static] |
Definition at line 178 of file kfbxmarker.h.
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 193 of file kfbxmarker.h.
This property handles the marker's link visibility.
To access this property do: DrawLink.Get(). To set this property do: DrawLink.Set(fbxBool1).
Default value is false
Definition at line 202 of file kfbxmarker.h.
This property handles the marker's size.
To access this property do: Size.Get(). To set this property do: Size.Set(fbxDouble1).
Default value is 100
Definition at line 211 of file kfbxmarker.h.
This property handles the marker's label visibility.
To access this property do: ShowLabel.Get(). To set this property do: ShowLabel.Set(fbxBool1).
Default value is false
Definition at line 220 of file kfbxmarker.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 229 of file kfbxmarker.h.
Definition at line 277 of file kfbxmarker.h.
KFbxProperty dynProp
[protected] |
Definition at line 279 of file kfbxmarker.h.