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_SHAPE_H_ 00014 #define _FBXSDK_SCENE_GEOMETRY_SHAPE_H_ 00015 00016 #include <fbxsdk/fbxsdk_def.h> 00017 00018 #include <fbxsdk/scene/geometry/fbxgeometrybase.h> 00019 00020 #include <fbxsdk/fbxsdk_nsbegin.h> 00021 00022 class FbxManager; 00023 class FbxBlendShapeChannel; 00024 class FbxGeometry; 00025 00033 class FBXSDK_DLL FbxShape : public FbxGeometryBase 00034 { 00035 FBXSDK_OBJECT_DECLARE(FbxShape,FbxGeometryBase); 00036 00037 public: 00042 bool SetBlendShapeChannel(FbxBlendShapeChannel* pBlendShapeChannel); 00043 00047 FbxBlendShapeChannel* GetBlendShapeChannel() const; 00048 00058 FbxGeometry* GetBaseGeometry(); 00059 00064 int GetControlPointIndicesCount() const; 00065 00070 int* GetControlPointIndices() const; 00071 00072 00076 void SetControlPointIndicesCount(int pCount); 00077 00081 void AddControlPointIndex(int pIndex); 00082 00088 void Reset(); 00089 00091 // 00092 // WARNING! 00093 // 00094 // Anything beyond these lines may not be documented accurately and is 00095 // subject to change without notice. 00096 // 00098 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00099 public: 00100 virtual FbxObject& Copy(const FbxObject& pObject); 00101 00102 protected: 00108 virtual FbxNodeAttribute::EType GetAttributeType() const; 00109 00110 virtual FbxStringList GetTypeFlags() const; 00111 00112 FbxShape(FbxManager& pManager, char const* pName); 00113 virtual bool ConstructProperties( bool pForceSet ); 00114 00115 FbxArray<int> mControlPointIndices; 00116 00117 friend class FbxGeometry; 00118 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS 00119 }; 00120 00121 #include <fbxsdk/fbxsdk_nsend.h> 00122 00123 #endif /* _FBXSDK_SCENE_GEOMETRY_SHAPE_H_ */