fbxsdk/scene/constraint/fbxconstraintposition.h Source File

fbxconstraintposition.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_POSITION_H_
14 #define _FBXSDK_SCENE_CONSTRAINT_POSITION_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
27 {
29 
30 public:
31 
41 
47 
53 
59 
63 
68 
73  void AddConstraintSource(FbxObject* pObject, double pWeight = 100);
74 
78  bool RemoveConstraintSource(FbxObject* pObject);
79 
83  int GetConstraintSourceCount() const;
84 
89  FbxObject* GetConstraintSource(int pIndex) const;
90 
94  void SetConstrainedObject(FbxObject* pObject);
95 
100 
101 /*****************************************************************************************************************************
102 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
103 *****************************************************************************************************************************/
104 #ifndef DOXYGEN_SHOULD_SKIP_THIS
105 protected:
106  virtual void ConstructProperties(bool pForceSet);
107  virtual EType GetConstraintType() const;
108 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
109 };
110 
111 #include <fbxsdk/fbxsdk_nsend.h>
112 
113 #endif /* _FBXSDK_SCENE_CONSTRAINT_POSITION_H_ */
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
FbxPropertyT< FbxBool > AffectZ
This property handles whether to affect z axis.
FBX SDK environment definition.
virtual FbxObject * GetConstrainedObject() const
Retrieve the constrained object.
Definition: fbxconstraint.h:81
FbxPropertyT< FbxBool > AffectX
This property handles whether to affect x axis.
virtual EType GetConstraintType() const
Access the type of the constraint.
Definition: fbxconstraint.h:76
virtual FbxObject * GetConstraintSource(int) const
Retrieve a constraint source with the specified index.
Definition: fbxconstraint.h:92
FbxPropertyT< FbxReference > ConstraintSources
This property handles constraint source objects.
Base class for weighted animation constraints.
Definition: fbxconstraint.h:27
The base class of most FBX objects.
Definition: fbxobject.h:157
FbxPropertyT< FbxReference > ConstrainedObject
This property handles constraint target objects.
FbxPropertyT< FbxDouble3 > Translation
This property handles translation offset.
EType
Constraint attribute types.
Definition: fbxconstraint.h:60
This constraint class contains methods for accessing the properties of a position constraint...
#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.