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_GEOMETRY_WEIGHTED_MAP_H_ 00014 #define _FBXSDK_SCENE_GEOMETRY_WEIGHTED_MAP_H_ 00015 00016 #include <fbxsdk/fbxsdk_def.h> 00017 00018 #include <fbxsdk/core/fbxobject.h> 00019 #include <fbxsdk/scene/geometry/fbxweightedmapping.h> 00020 00021 #include <fbxsdk/fbxsdk_nsbegin.h> 00022 00023 class FbxGeometry; 00024 00040 class FBXSDK_DLL FbxGeometryWeightedMap : public FbxObject 00041 { 00042 FBXSDK_OBJECT_DECLARE(FbxGeometryWeightedMap, FbxObject); 00043 00044 public: 00045 00052 void SetValues(const FbxWeightedMapping* pWeightedMappingTable); 00053 00057 FbxWeightedMapping* GetValues() const; 00058 00062 FbxGeometry* GetSourceGeometry(); 00063 00067 FbxGeometry* GetDestinationGeometry(); 00068 00069 /***************************************************************************************************************************** 00070 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! ** 00071 *****************************************************************************************************************************/ 00072 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00073 virtual FbxObject& Copy(const FbxObject& pObject); 00074 00075 protected: 00076 virtual void Construct(const FbxGeometryWeightedMap* pFrom); 00077 virtual void Destruct(bool pRecursive); 00078 00079 // Real weigths table 00080 FbxWeightedMapping* mWeightedMapping; 00081 00082 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/ 00083 }; 00084 00085 #include <fbxsdk/fbxsdk_nsend.h> 00086 00087 #endif /* _FBXSDK_SCENE_GEOMETRY_WEIGHTED_MAP_H_ */