Public Types | Public Member Functions | Protected Member Functions

FbxConstraintSingleChainIK Class Reference

This reference page is linked to from the following overview topics: List of Python Fbx classes.


Search for all occurrences

Detailed Description

This constraint class contains methods for accessing the properties of a single chain IK constraint.

Definition at line 25 of file fbxconstraintsinglechainik.h.

#include <fbxconstraintsinglechainik.h>

Inheritance diagram for FbxConstraintSingleChainIK:
Inheritance graph
[legend]

List of all members.

Public Types

enum  ESolverMode { eRotatePlane, eSingleChain }
enum  EPoleVectorMode { eVector, eObject }
 

Pole vector mode.

More...
enum  EEvaluationMode { eNeverTS, eAutoDetect, eAlwaysTS }
 

If the constraints read its animation on Translation and Scale for the nodes it constraints.

More...

Public Member Functions

double GetPoleVectorObjectWeight (const FbxObject *pObject) const
 Get the weight of a source.
void AddPoleVectorObject (FbxObject *pObject, double pWeight=100)
 Add a source to the constraint.
int GetConstraintPoleVectorCount () const
 Retrieve the constraint source count.
FbxObjectGetPoleVectorObject (int pIndex) const
 Retrieve a constraint source object.
void SetFirstJointObject (FbxObject *pObject)
 Set the first joint object.
FbxObjectGetFirstJointObject () const
 Retrieve the first joint object.
void SetEndJointObject (FbxObject *pObject)
 Set the end joint object.
FbxObjectGetEndJointObject () const
 Retrieve the end joint object.
void SetEffectorObject (FbxObject *pObject)
 Set the effector object.
FbxObjectGetEffectorObject () const
 Retrieve the effector object.

Protected Member Functions

virtual void ConstructProperties (bool pForceSet)
 Optional property constructor override, automatically called by default constructor.
virtual EType GetConstraintType () const
 Access the type of the constraint.

Properties

FbxPropertyT< FbxEnumPoleVectorType
 This property handles pole vector type.
FbxPropertyT< FbxEnumSolverType
 This property handles solver type.
FbxPropertyT< FbxEnumEvaluateTSAnim
 This property handles evaluate TS animation.
FbxPropertyT< FbxReferencePoleVectorObjects
 This property handles pole vector objects.
FbxPropertyT< FbxDouble3PoleVector
 This property handles pole vector.
FbxPropertyT< FbxDoubleTwist
 This property handles twist value.
FbxPropertyT< FbxReferenceFirstJointObject
 This property handles first joint object.
FbxPropertyT< FbxReferenceEndJointObject
 This property handles end joint object.
FbxPropertyT< FbxReferenceEffectorObject
 This property handles effector object.

Member Enumeration Documentation

Enumerator:
eRotatePlane 
eSingleChain 

Rotate plane solver.

Single chain solver.

Definition at line 32 of file fbxconstraintsinglechainik.h.

Pole vector mode.

Enumerator:
eVector 
eObject 

Pole vector type is vector.

Pole vector type is object.

Definition at line 40 of file fbxconstraintsinglechainik.h.

If the constraints read its animation on Translation and Scale for the nodes it constraints.

Enumerator:
eNeverTS 
eAutoDetect 

The constraints never read its animation on translation and scale for the nodes.

eAlwaysTS 

The constraints read its animation on translation and scale for the nodes according to automatic detection.

The constraints always read its animation on translation and scale for the nodes.

Definition at line 48 of file fbxconstraintsinglechainik.h.


Member Function Documentation

double GetPoleVectorObjectWeight ( const FbxObject pObject) const

Get the weight of a source.

Parameters:
pObjectSource object that we want the weight.
void AddPoleVectorObject ( FbxObject pObject,
double  pWeight = 100 
)

Add a source to the constraint.

Parameters:
pObjectNew source object.
pWeightWeight value of the source object expressed as a percentage.
Remarks:
pWeight value is 100 percent by default.
int GetConstraintPoleVectorCount ( ) const

Retrieve the constraint source count.

Returns:
Current constraint source count.
FbxObject* GetPoleVectorObject ( int  pIndex) const

Retrieve a constraint source object.

Parameters:
pIndexIndex of constraint source object.
Returns:
Current source at the specified index.
void SetFirstJointObject ( FbxObject pObject)

Set the first joint object.

Parameters:
pObjectThe first joint object.
FbxObject* GetFirstJointObject ( ) const

Retrieve the first joint object.

Returns:
Current first joint object.
void SetEndJointObject ( FbxObject pObject)

Set the end joint object.

Parameters:
pObjectThe end joint object.
FbxObject* GetEndJointObject ( ) const

Retrieve the end joint object.

Returns:
Current end joint object.
void SetEffectorObject ( FbxObject pObject)

Set the effector object.

Parameters:
pObjectThe effector object.
FbxObject* GetEffectorObject ( ) const

Retrieve the effector object.

Returns:
Current effector object.
virtual void ConstructProperties ( bool  pForceSet) [protected, virtual]

Optional property constructor override, automatically called by default constructor.

Parameters:
pForceSetIf the property value must be set regardless of default value.
Remarks:
If your object have properties, they must be initialized in this function.

Reimplemented from FbxConstraint.

virtual EType GetConstraintType ( ) const [protected, virtual]

Access the type of the constraint.

Returns:
This type of the constraint.

Reimplemented from FbxConstraint.


Member Data Documentation

This property handles pole vector type.

Definition at line 61 of file fbxconstraintsinglechainik.h.

This property handles solver type.

Definition at line 65 of file fbxconstraintsinglechainik.h.

This property handles evaluate TS animation.

Definition at line 69 of file fbxconstraintsinglechainik.h.

This property handles pole vector objects.

Definition at line 73 of file fbxconstraintsinglechainik.h.

This property handles pole vector.

Default value is (0, 1, 0).

Definition at line 79 of file fbxconstraintsinglechainik.h.

This property handles twist value.

Default value is 0.

Definition at line 85 of file fbxconstraintsinglechainik.h.

This property handles first joint object.

Definition at line 89 of file fbxconstraintsinglechainik.h.

This property handles end joint object.

Definition at line 93 of file fbxconstraintsinglechainik.h.

This property handles effector object.

Definition at line 97 of file fbxconstraintsinglechainik.h.


The documentation for this class was generated from the following file:

FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK
FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK FbxConstraintSingleChainIK