fbxgeometryweightedmap.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_WEIGHTED_MAP_H_
00014 #define _FBXSDK_SCENE_GEOMETRY_WEIGHTED_MAP_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #include <fbxsdk/scene/geometry/fbxweightedmapping.h>
00019 
00020 #include <fbxsdk/core/fbxobject.h>
00021 #include <fbxsdk/core/fbxmanager.h>
00022 #include <fbxsdk/scene/fbxgroupname.h>
00023 
00024 #include <fbxsdk/fbxsdk_nsbegin.h>
00025 
00026 class FbxGeometry;
00027 
00043 class FBXSDK_DLL FbxGeometryWeightedMap : public FbxObject
00044 {
00045     FBXSDK_OBJECT_DECLARE(FbxGeometryWeightedMap,FbxObject);
00046 public:
00051 
00055     FbxError& GetError();
00056 
00059     enum EErrorCode
00060     {
00061         eError,     
00062         eErrorCount 
00063     };
00064 
00068     EErrorCode GetLastErrorID() const;
00069 
00073     const char* GetLastErrorString() const;
00074 
00076 
00081     FbxWeightedMapping* SetValues(FbxWeightedMapping* pWeightedMappingTable);
00082 
00086     FbxWeightedMapping* GetValues() const;
00087 
00091     FbxGeometry* GetSourceGeometry();
00092 
00096     FbxGeometry* GetDestinationGeometry();
00097 
00099 //
00100 //  WARNING!
00101 //
00102 //  Anything beyond these lines may not be documented accurately and is
00103 //  subject to change without notice.
00104 //
00106 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00107 
00108     virtual FbxObject& Copy(const FbxObject& pObject);
00109 
00110 protected:
00111     FbxGeometryWeightedMap(FbxManager& pManager, char const* pName);
00112     virtual void Destruct(bool pRecursive, bool pDependents);
00113 
00114     // Real weigths table
00115     FbxWeightedMapping* mWeightedMapping;
00116 
00117 private:
00118     // Error management object
00119     FbxError mError;
00120 
00121     friend class FbxGeometry;
00122 
00123 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00124 
00125 };
00126 
00127 #include <fbxsdk/fbxsdk_nsend.h>
00128 
00129 #endif /* _FBXSDK_SCENE_GEOMETRY_WEIGHTED_MAP_H_ */