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 30 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.
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.

Protected Member Functions

  FbxConstraintSingleChainIK (FbxManager &pManager, char const *pName)
virtual bool  ConstructProperties (bool pForceSet)
virtual EType  GetConstraintType () const
  Access the type of the constraint.

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

Enumerator:
eRotatePlane 
eSingleChain 

Rotate plane solver.

Single chain solver.

Definition at line 37 of file fbxconstraintsinglechainik.h.

Pole vector mode.

Enumerator:
eVector 
eObject 

Pole vector type is vector.

Pole vector type is object.

Definition at line 45 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 53 of file fbxconstraintsinglechainik.h.


Constructor & Destructor Documentation

FbxConstraintSingleChainIK ( FbxManager pManager,
char const *  pName 
) [protected]

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.
virtual bool ConstructProperties ( bool  pForceSet ) [protected, virtual]
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 66 of file fbxconstraintsinglechainik.h.

This property handles solver type.

Definition at line 70 of file fbxconstraintsinglechainik.h.

This property handles evaluate TS animation.

Definition at line 74 of file fbxconstraintsinglechainik.h.

This property handles pole vector objects.

Definition at line 80 of file fbxconstraintsinglechainik.h.

This property handles pole vector.

Default value is (0, 1, 0).

Definition at line 86 of file fbxconstraintsinglechainik.h.

This property handles twist value.

Default value is 0.

Definition at line 92 of file fbxconstraintsinglechainik.h.

This property handles first joint object.

Definition at line 96 of file fbxconstraintsinglechainik.h.

This property handles end joint object.

Definition at line 100 of file fbxconstraintsinglechainik.h.

This property handles effector object.

Definition at line 104 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