fbxsdk/scene/constraint/fbxconstraintscale.h Source File

fbxconstraintscale.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_SCALE_H_
14 #define _FBXSDK_SCENE_CONSTRAINT_SCALE_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
27 {
29 
30 public:
39 
44 
49 
54 
58 
63 
68  void AddConstraintSource(FbxObject* pObject, double pWeight = 100);
69 
73  int GetConstraintSourceCount() const;
74 
79  FbxObject* GetConstraintSource(int pIndex) const;
80 
84  void SetConstrainedObject(FbxObject* pObject);
85 
90 
91 /*****************************************************************************************************************************
92 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
93 *****************************************************************************************************************************/
94 #ifndef DOXYGEN_SHOULD_SKIP_THIS
95 protected:
96  virtual void ConstructProperties(bool pForceSet);
97  virtual EType GetConstraintType() const;
98 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
99 };
100 
101 #include <fbxsdk/fbxsdk_nsend.h>
102 
103 #endif /* _FBXSDK_SCENE_CONSTRAINT_SCALE_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< FbxDouble3 > Scaling
This property handles scaling offset.
virtual FbxObject * GetConstrainedObject() const
Retrieve the constrained object.
Definition: fbxconstraint.h:81
FbxPropertyT< FbxBool > AffectZ
This property handles whether to affect z axis.
FbxPropertyT< FbxReference > ConstrainedObject
This property handles constraint target objects.
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
Base class for weighted animation constraints.
Definition: fbxconstraint.h:27
The base class of most FBX objects.
Definition: fbxobject.h:157
FbxPropertyT< FbxReference > ConstraintSources
This property handles constraint source objects.
This constraint class contains methods for accessing the properties of a scale constraint.
FbxPropertyT< FbxBool > AffectY
This property handles whether to affect y axis.
EType
Constraint attribute types.
Definition: fbxconstraint.h:60
FbxPropertyT< FbxBool > AffectX
This property handles whether to affect x axis.
#define FBXSDK_DLL
Definition: fbxarch.h:173
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.