fbxsubdeformer.h

Go to the documentation of this file.
00001 /****************************************************************************************
00002  
00003    Copyright (C) 2012 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_GEOMETRY_SUB_DEFORMER_H_
00014 #define _FBXSDK_SCENE_GEOMETRY_SUB_DEFORMER_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #include <fbxsdk/core/fbxobject.h>
00019 #include <fbxsdk/scene/fbxgroupname.h>
00020 #include <fbxsdk/core/math/fbxmatrix.h>
00021 
00022 #include <fbxsdk/core/base/fbxerror.h>
00023 
00024 #include <fbxsdk/fbxsdk_nsbegin.h>
00025 
00026 class FbxGeometry;
00027 class FbxManager;
00028 
00063 class FBXSDK_DLL FbxSubDeformer : public FbxObject
00064 {
00065     FBXSDK_OBJECT_DECLARE(FbxSubDeformer,FbxObject);
00066     public:
00067 
00071         void SetMultiLayer(bool pMultiLayer);
00072 
00076         bool GetMultiLayer() const;
00077 
00078 
00081         enum EType
00082         {
00083             eUnknown,           
00084             eCluster,           
00085             eBlendShapeChannel  
00086         };
00087 
00091         virtual EType GetSubDeformerType() const { return eUnknown; }
00092 
00097 
00101         FbxError& GetError();
00102 
00106         enum EErrorCode
00107         {
00108             eError,
00109             eErrorCount
00110         };
00111 
00115         EErrorCode GetLastErrorID() const;
00116 
00120         const char* GetLastErrorString() const;
00121 
00123 
00125 //
00126 //  WARNING!
00127 //
00128 //  Anything beyond these lines may not be documented accurately and is
00129 //  subject to change without notice.
00130 //
00132 
00133     protected:
00134         FbxSubDeformer(FbxManager& pManager, char const* pName);
00135 
00136         virtual FbxStringList GetTypeFlags() const { return FbxStringList(); }
00137 
00138         // Local
00139         FbxError mError;
00140         bool   mMultiLayer;
00141 
00142         friend class FbxGeometry;
00143         friend class FbxScene;
00144 };
00145 
00146 #include <fbxsdk/fbxsdk_nsend.h>
00147 
00148 #endif /* _FBXSDK_SCENE_GEOMETRY_SUB_DEFORMER_H_ */