FbxConstraintSingleChainIK Class Reference
 
 
 
FbxConstraintSingleChainIK Class Reference

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


#include <fbxconstraintsinglechainik.h>


Class Description

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

Definition at line 25 of file fbxconstraintsinglechainik.h.

Inheritance diagram for FbxConstraintSingleChainIK:
FbxConstraint FbxObject FbxEmitter

List of all members.

Public Types

enum   ESolverMode { eRotatePlane, eSingleChain }
  Solver mode. More...
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.
FbxObject GetPoleVectorObject (int pIndex) const
  Retrieve a constraint source object.
void  SetFirstJointObject (FbxObject *pObject)
  Set the first joint object.
FbxObject GetFirstJointObject () const
  Retrieve the first joint object.
void  SetEndJointObject (FbxObject *pObject)
  Set the end joint object.
FbxObject GetEndJointObject () const
  Retrieve the end joint object.
void  SetEffectorObject (FbxObject *pObject)
  Set the effector object.
FbxObject GetEffectorObject () const
  Retrieve the effector object.

Properties

FbxPropertyT< FbxEnum PoleVectorType
  This property handles pole vector type.
FbxPropertyT< FbxEnum SolverType
  This property handles solver type.
FbxPropertyT< FbxEnum EvaluateTSAnim
  This property handles evaluate TS animation.
FbxPropertyT< FbxReference PoleVectorObjects
  This property handles pole vector objects.
FbxPropertyT< FbxDouble3 PoleVector
  This property handles pole vector.
FbxPropertyT< FbxDouble Twist
  This property handles twist value.
FbxPropertyT< FbxReference FirstJointObject
  This property handles first joint object.
FbxPropertyT< FbxReference EndJointObject
  This property handles end joint object.
FbxPropertyT< FbxReference EffectorObject
  This property handles effector object.

Member Enumeration Documentation

Solver mode.

Enumerator:
eRotatePlane 

Rotate plane solver.

eSingleChain 

Single chain solver.

Definition at line 32 of file fbxconstraintsinglechainik.h.

Pole vector mode.

Enumerator:
eVector 

Pole vector type is vector.

eObject 

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 

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

eAutoDetect 

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

eAlwaysTS 

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:
pObject Source object that we want the weight.
void AddPoleVectorObject ( FbxObject pObject,
double  pWeight = 100 
)

Add a source to the constraint.

Parameters:
pObject New source object.
pWeight Weight 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:
pIndex Index of constraint source object.
Returns:
Current source at the specified index.
void SetFirstJointObject ( FbxObject pObject )

Set the first joint object.

Parameters:
pObject The 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:
pObject The 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:
pObject The effector object.
FbxObject* GetEffectorObject ( ) const

Retrieve the effector object.

Returns:
Current effector object.

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: