fbxsdk/scene/geometry/fbxblendshape.h Source File
 
 
 
fbxsdk/scene/geometry/fbxblendshape.h
Go to the documentation of this file.
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_BLEND_SHAPE_H_
00014 #define _FBXSDK_SCENE_GEOMETRY_BLEND_SHAPE_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #include <fbxsdk/scene/geometry/fbxdeformer.h>
00019 
00020 #include <fbxsdk/fbxsdk_nsbegin.h>
00021 
00022 class FbxGeometry;
00023 class FbxBlendShapeChannel;
00024 
00039 class FBXSDK_DLL FbxBlendShape : public FbxDeformer
00040 {
00041     FBXSDK_OBJECT_DECLARE(FbxBlendShape, FbxDeformer);
00042 
00043 public:
00051     bool SetGeometry(FbxGeometry* pGeometry);
00052 
00056     FbxGeometry* GetGeometry();
00057 
00062     bool AddBlendShapeChannel(FbxBlendShapeChannel* pBlendShapeChannel);
00063 
00068     FbxBlendShapeChannel* RemoveBlendShapeChannel(FbxBlendShapeChannel* pBlendShapeChannel);
00069 
00073     int GetBlendShapeChannelCount() const;
00074 
00079     FbxBlendShapeChannel* GetBlendShapeChannel(int pIndex);
00080 
00085     const FbxBlendShapeChannel* GetBlendShapeChannel(int pIndex) const;
00086 
00090     EDeformerType GetDeformerType()  const {return eBlendShape; };
00091 
00097         void Reset();
00098 
00099 /*****************************************************************************************************************************
00100 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
00101 *****************************************************************************************************************************/
00102 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00103     virtual FbxObject& Copy(const FbxObject& pObject);
00104 
00105 protected:
00106     virtual FbxStringList GetTypeFlags() const;
00107 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
00108 };
00109 
00110 #include <fbxsdk/fbxsdk_nsend.h>
00111 
00112 #endif /* _FBXSDK_SCENE_GEOMETRY_BLEND_SHAPE_H_ */