fbxconstraintrotation.h

Go to the documentation of this file.
00001 /****************************************************************************************
00002  
00003    Copyright (C) 2013 Autodesk, Inc.
00004    All rights reserved.
00005  
00006    Use of this software is subject to the terms of the Autodesk license agreement
00007    provided at the time of installation or download, or which otherwise accompanies
00008    this software in either electronic or hard copy form.
00009  
00010 ****************************************************************************************/
00011 
00013 #ifndef _FBXSDK_SCENE_CONSTRAINT_ROTATION_H_
00014 #define _FBXSDK_SCENE_CONSTRAINT_ROTATION_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #include <fbxsdk/scene/constraint/fbxconstraint.h>
00019 
00020 #include <fbxsdk/fbxsdk_nsbegin.h>
00021 
00026 class FBXSDK_DLL FbxConstraintRotation : public FbxConstraint
00027 {
00028     FBXSDK_OBJECT_DECLARE(FbxConstraintRotation, FbxConstraint);
00029 
00030 public:
00038             FbxPropertyT<FbxBool>       AffectX;
00042             FbxPropertyT<FbxBool>       AffectY;
00043             
00047             FbxPropertyT<FbxBool>       AffectZ;
00048 
00052             FbxPropertyT<FbxDouble3>    Rotation;
00053 
00056             FbxPropertyT<FbxReference> ConstraintSources;
00057 
00060             FbxPropertyT<FbxReference> ConstrainedObject;   
00062 
00067     void AddConstraintSource(FbxObject* pObject, double pWeight = 100);
00068 
00072     int GetConstraintSourceCount() const;
00073 
00078     FbxObject* GetConstraintSource(int pIndex) const;
00079 
00083     void SetConstrainedObject(FbxObject* pObject);
00084 
00088     FbxObject* GetConstrainedObject() const;
00089 
00090 /*****************************************************************************************************************************
00091 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
00092 *****************************************************************************************************************************/
00093 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00094 protected:
00095     virtual void ConstructProperties(bool pForceSet);
00096     virtual EType GetConstraintType() const;
00097 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
00098 };
00099 
00100 #include <fbxsdk/fbxsdk_nsend.h>
00101 
00102 #endif /* _FBXSDK_SCENE_CONSTRAINT_ROTATION_H_ */