This reference page is linked to from the following overview topics: FBX SDK 2012, List of Python FBX classes.
A shape describes the deformation on a set of control points, which is similar to the cluster deformer in Maya.
For example, we can add a shape to a created geometry. And the shape and the geometry have the same topological information but different position of the control points. With varying amounts of influence, the geometry performs a deformation effect.
ExportScene02/main.cxx, ExportScene03/main.cxx, ImportScene/DisplayShape.cxx, and ViewScene/DrawScene.cxx.
Definition at line 58 of file kfbxshape.h.
#include <kfbxshape.h>

Public Member Functions |
|
| bool | SetBlendShapeChannel (KFbxBlendShapeChannel *pBlendShapeChannel) |
| Set the blend shape channel that contains
this target shape. |
|
| KFbxBlendShapeChannel * | GetBlendShapeChannel () const |
| Get the blend shape channel that contains
this target shape. |
|
| KFbxGeometry * | GetBaseGeometry () |
| Get the base geometry of this target shape.
|
|
| int | GetControlPointIndicesCount () const |
| Get the length of the arrays of control
point indices and weights. |
|
| int * | GetControlPointIndices () const |
| Get the array of control point indices.
|
|
| void | SetControlPointIndicesCount (int pCount) |
| Set the array size for the control point
indices. |
|
| void | AddControlPointIndex (int pIndex) |
| Add a control point index to the control
point indices array. |
|
| void | Reset () |
| Restore the shape to its initial state.
|
|
| virtual KFbxObject & | Copy (const KFbxObject &pObject) |
| Copy an object content into this object.
|
|
Protected Member Functions |
|
| virtual EAttributeType | GetAttributeType () const |
| Return the type of node attribute which is
EAttributeType::eUNIDENTIFIED. |
|
| virtual KStringList | GetTypeFlags () const |
| KFbxShape (KFbxSdkManager &pManager, char const *pName) | |
| virtual bool | ConstructProperties (bool pForceSet) |
Protected Attributes |
|
| KArrayTemplate< int > | mControlPointIndices |
Friends |
|
| class | KFbxGeometry |
| KFbxShape | ( | KFbxSdkManager & | pManager, |
| char const * | pName | ||
| ) | [protected] |
| bool SetBlendShapeChannel | ( | KFbxBlendShapeChannel * | pBlendShapeChannel | ) |
Set the blend shape channel that contains this target shape.
| pBlendShapeChannel | Pointer to the blend shape channel to set. |
true on success, false
otherwise.| KFbxBlendShapeChannel* GetBlendShapeChannel | ( | ) | const |
Get the blend shape channel that contains this target shape.
| KFbxGeometry* GetBaseGeometry | ( | ) |
Get the base geometry of this target shape.
| int GetControlPointIndicesCount | ( | ) | const |
Get the length of the arrays of control point indices and weights.
| int* GetControlPointIndices | ( | ) | const |
Get the array of control point indices.
NULL if no control point indices have been added or
the array has been reset.| void SetControlPointIndicesCount | ( | int | pCount | ) |
Set the array size for the control point indices.
| pCount | The new count. |
| void AddControlPointIndex | ( | int | pIndex | ) |
Add a control point index to the control point indices array.
| pIndex | The control point index to add. |
| void Reset | ( | ) |
Restore the shape to its initial state.
Calling this function will clear the following:
| virtual KFbxObject& Copy | ( | const KFbxObject & | pObject | ) | [virtual] |
Copy an object content into this object.
| pObject | The source object to copy data from. |
Reimplemented from KFbxGeometryBase.
| virtual EAttributeType GetAttributeType | ( | ) | const [protected, virtual] |
Return the type of node attribute which is EAttributeType::eUNIDENTIFIED.
EAttributeType::eUNIDENTIFIED is returned because this class derives accidentally from KFbxNodeAttribute but its instances are not meant to be assigned to nodes.
Reimplemented from KFbxLayerContainer.
| virtual KStringList GetTypeFlags | ( | ) | const [protected, virtual] |
Reimplemented from KFbxObject.
| virtual bool ConstructProperties | ( | bool | pForceSet | ) | [protected, virtual] |
Reimplemented from KFbxGeometryBase.
friend class KFbxGeometry
[friend] |
Definition at line 142 of file kfbxshape.h.
KArrayTemplate<int>
mControlPointIndices
[protected] |
Definition at line 140 of file kfbxshape.h.