fbxsdk/scene/constraint/fbxconstraintrotation.h Source File

fbxconstraintrotation.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_ROTATION_H_
14 #define _FBXSDK_SCENE_CONSTRAINT_ROTATION_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
27 {
29 
30 public:
43 
48 
53 
57 
62 
67  void AddConstraintSource(FbxObject* pObject, double pWeight = 100);
68 
72  int GetConstraintSourceCount() const;
73 
78  FbxObject* GetConstraintSource(int pIndex) const;
79 
83  void SetConstrainedObject(FbxObject* pObject);
84 
89 
90 /*****************************************************************************************************************************
91 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
92 *****************************************************************************************************************************/
93 #ifndef DOXYGEN_SHOULD_SKIP_THIS
94 protected:
95  virtual void ConstructProperties(bool pForceSet);
96  virtual EType GetConstraintType() const;
97 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
98 };
99 
100 #include <fbxsdk/fbxsdk_nsend.h>
101 
102 #endif /* _FBXSDK_SCENE_CONSTRAINT_ROTATION_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< FbxBool > AffectX
This property handles whether to affect x axis.
virtual FbxObject * GetConstrainedObject() const
Retrieve the constrained object.
Definition: fbxconstraint.h:81
virtual EType GetConstraintType() const
Access the type of the constraint.
Definition: fbxconstraint.h:76
FbxPropertyT< FbxReference > ConstrainedObject
This property handles constraint target objects.
virtual FbxObject * GetConstraintSource(int) const
Retrieve a constraint source with the specified index.
Definition: fbxconstraint.h:92
FbxPropertyT< FbxBool > AffectZ
This property handles whether to affect z axis.
Base class for weighted animation constraints.
Definition: fbxconstraint.h:27
This constraint class contains methods for accessing the properties of a rotation constraint...
The base class of most FBX objects.
Definition: fbxobject.h:157
EType
Constraint attribute types.
Definition: fbxconstraint.h:60
FbxPropertyT< FbxReference > ConstraintSources
This property handles constraint source objects.
FbxPropertyT< FbxDouble3 > Rotation
This property handles rotation offset.
#define FBXSDK_DLL
Definition: fbxarch.h:173
FbxPropertyT< FbxBool > AffectY
This property handles whether to affect y axis.
virtual int GetConstraintSourceCount() const
Retrieve the count of constraint source.
Definition: fbxconstraint.h:86
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.