fbxsdk/scene/geometry/fbxblendshape.h Source File

fbxblendshape.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_SCENE_GEOMETRY_BLEND_SHAPE_H_
14 #define _FBXSDK_SCENE_GEOMETRY_BLEND_SHAPE_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
22 class FbxGeometry;
24 
40 {
42 
43 public:
51  bool SetGeometry(FbxGeometry* pGeometry);
52 
56  FbxGeometry* GetGeometry();
57 
62  bool AddBlendShapeChannel(FbxBlendShapeChannel* pBlendShapeChannel);
63 
68  FbxBlendShapeChannel* RemoveBlendShapeChannel(FbxBlendShapeChannel* pBlendShapeChannel);
69 
73  int GetBlendShapeChannelCount() const;
74 
79  FbxBlendShapeChannel* GetBlendShapeChannel(int pIndex);
80 
85  const FbxBlendShapeChannel* GetBlendShapeChannel(int pIndex) const;
86 
91 
97  void Reset();
98 
99 /*****************************************************************************************************************************
100 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
101 *****************************************************************************************************************************/
102 #ifndef DOXYGEN_SHOULD_SKIP_THIS
103  virtual FbxObject& Copy(const FbxObject& pObject);
104  virtual FbxObject* Clone(FbxObject::ECloneType pCloneType=eDeepClone, FbxObject* pContainer=NULL, void* pSet = NULL) const;
105 
106 protected:
107  virtual FbxStringList GetTypeFlags() const;
108 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
109 };
110 
111 #include <fbxsdk/fbxsdk_nsend.h>
112 
113 #endif /* _FBXSDK_SCENE_GEOMETRY_BLEND_SHAPE_H_ */
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
FBX SDK environment definition.
Type FbxBlendShape.
Definition: fbxdeformer.h:71
#define NULL
Definition: fbxarch.h:210
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
Array that stores pairs of FbxString and a pointer.
ECloneType
Types of clones that can be created for FbxObject.
Definition: fbxobject.h:245
Class for blend shape deformer.
Definition: fbxblendshape.h:39
The base class of most FBX objects.
Definition: fbxobject.h:157
EDeformerType
Deformer types.
Definition: fbxdeformer.h:67
Base class for skin deformer (FbxSkin) and vertex cache deformer (FbxVertexCacheDeformer).
Definition: fbxdeformer.h:38
Class for blend shape channels.
virtual FbxObject * Clone(FbxObject::ECloneType pCloneType=eDeepClone, FbxObject *pContainer=((void *) 0), void *pSet=((void *) 0)) const
Creates a clone of this object.
#define FBXSDK_DLL
Definition: fbxarch.h:173
EDeformerType GetDeformerType() const
Get the type of the deformer.
Definition: fbxblendshape.h:90
The base class of geometric objects that support control point deformations (e.g. ...
Definition: fbxgeometry.h:45