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_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 FbxBlendShapeChannel; 00023 class FbxGeometry; 00024 00032 class FBXSDK_DLL FbxShape : public FbxGeometryBase 00033 { 00034 FBXSDK_OBJECT_DECLARE(FbxShape, FbxGeometryBase); 00035 00036 public: 00041 bool SetBlendShapeChannel(FbxBlendShapeChannel* pBlendShapeChannel); 00042 00046 FbxBlendShapeChannel* GetBlendShapeChannel() const; 00047 00057 FbxGeometry* GetBaseGeometry(); 00058 00063 int GetControlPointIndicesCount() const; 00064 00069 int* GetControlPointIndices() const; 00070 00071 00075 void SetControlPointIndicesCount(int pCount); 00076 00080 void AddControlPointIndex(int pIndex); 00081 00087 void Reset(); 00088 00089 /***************************************************************************************************************************** 00090 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! ** 00091 *****************************************************************************************************************************/ 00092 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00093 virtual FbxObject& Copy(const FbxObject& pObject); 00094 00095 protected: 00096 virtual FbxNodeAttribute::EType GetAttributeType() const; 00097 virtual FbxStringList GetTypeFlags() const; 00098 00099 FbxArray<int> mControlPointIndices; 00100 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/ 00101 }; 00102 00103 #include <fbxsdk/fbxsdk_nsend.h> 00104 00105 #endif /* _FBXSDK_SCENE_GEOMETRY_SHAPE_H_ */