FBX C++ API Reference
fbxshape.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_SHAPE_H_
14 #define _FBXSDK_SCENE_GEOMETRY_SHAPE_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
23 class FbxGeometry;
24 
33 {
35 
36 public:
41  bool SetBlendShapeChannel(FbxBlendShapeChannel* pBlendShapeChannel);
42 
46  FbxBlendShapeChannel* GetBlendShapeChannel() const;
47 
57  FbxGeometry* GetBaseGeometry();
58 
63  int GetControlPointIndicesCount() const;
64 
69  int* GetControlPointIndices() const;
70 
71 
75  void SetControlPointIndicesCount(int pCount);
76 
80  void AddControlPointIndex(int pIndex);
81 
87  void Reset();
88 
89 /*****************************************************************************************************************************
90 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
91 *****************************************************************************************************************************/
92 #ifndef DOXYGEN_SHOULD_SKIP_THIS
93  virtual void Compact();
94  virtual FbxObject& Copy(const FbxObject& pObject);
95  virtual FbxObject* Clone(FbxObject::ECloneType pCloneType=eDeepClone, FbxObject* pContainer=NULL, void* pSet = NULL) const;
96 
97 protected:
99  virtual FbxStringList GetTypeFlags() const;
100 
101  FbxArray<int> mControlPointIndices;
102 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
103 };
104 
105 #include <fbxsdk/fbxsdk_nsend.h>
106 
107 #endif /* _FBXSDK_SCENE_GEOMETRY_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.
virtual void Compact()
Compact the memory used by this object.
#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:239
EType
Node attribute types.
The base class of most FBX objects.
Definition: fbxobject.h:157
This class is the base class for geometric object such as meshes, NURBS and patches.
virtual FbxNodeAttribute::EType GetAttributeType() const
Returns the type of node attribute.
A shape describes the deformation on a set of control points, which is similar to the cluster deforme...
Definition: fbxshape.h:32
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
The base class of geometric objects that support control point deformations (e.g. ...
Definition: fbxgeometry.h:45