FBX C++ API Reference
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fbxconstraintsinglechainik.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_SCENE_CONSTRAINT_SINGLE_CHAIN_IK_H_
14 #define _FBXSDK_SCENE_CONSTRAINT_SINGLE_CHAIN_IK_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
26 {
28 
29 public:
33  {
35  eSingleChain
36  };
37 
41  {
43  eObject
44  };
45 
49  {
52  eAlwaysTS
53  };
54 
62 
66 
70 
74 
80 
86 
90 
94 
99 
103  double GetPoleVectorObjectWeight(const FbxObject* pObject) const;
104 
110  void AddPoleVectorObject(FbxObject* pObject, double pWeight = 100);
111 
115  int GetConstraintPoleVectorCount() const;
116 
121  FbxObject* GetPoleVectorObject(int pIndex) const;
122 
126  void SetFirstJointObject(FbxObject* pObject);
127 
131  FbxObject* GetFirstJointObject() const;
132 
136  void SetEndJointObject(FbxObject* pObject);
137 
141  FbxObject* GetEndJointObject() const;
142 
146  void SetEffectorObject(FbxObject* pObject);
147 
151  FbxObject* GetEffectorObject() const;
152 
153 /*****************************************************************************************************************************
154 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
155 *****************************************************************************************************************************/
156 #ifndef DOXYGEN_SHOULD_SKIP_THIS
157 protected:
158  virtual void ConstructProperties(bool pForceSet);
159  virtual EType GetConstraintType() const;
160 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
161 };
162 
166 
167 #include <fbxsdk/fbxsdk_nsend.h>
168 
169 #endif /* _FBXSDK_SCENE_CONSTRAINT_SINGLE_CHAIN_IK_H_ */
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
FBX SDK environment definition.
FbxPropertyT< FbxReference > FirstJointObject
This property handles first joint object.
FbxPropertyT< FbxReference > EffectorObject
This property handles effector object.
FbxPropertyT< FbxReference > EndJointObject
This property handles end joint object.
Base class for weighted animation constraints.
Definition: fbxconstraint.h:27
FbxPropertyT< FbxDouble3 > PoleVector
This property handles pole vector.
EFbxType
Type identifier constants.
EEvaluationMode
If the constraints read its animation on Translation and Scale for the nodes it constraints.
The base class of most FBX objects.
Definition: fbxobject.h:157
FbxPropertyT< FbxReference > PoleVectorObjects
This property handles pole vector objects.
EFbxType FbxTypeOf(const FbxConstraintSingleChainIK::EPoleVectorMode &)
EType
Constraint attribute types.
Definition: fbxconstraint.h:60
Enumeration.
FbxPropertyT< FbxEnum > SolverType
This property handles solver type.
This constraint class contains methods for accessing the properties of a single chain IK constraint...
FbxPropertyT< FbxDouble > Twist
This property handles twist value.
FbxPropertyT< FbxEnum > EvaluateTSAnim
This property handles evaluate TS animation.
ESolverMode
Solver pole vector mode.
#define FBXSDK_DLL
Definition: fbxarch.h:173
virtual EType GetConstraintType() const
Access the type of the constraint.
Definition: fbxconstraint.h:76
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.
FbxPropertyT< FbxEnum > PoleVectorType
This property handles pole vector type.
The constraints never read its animation on translation and scale for the nodes.