KFbxSkin Class Reference

Inherits KFbxDeformer.

Inheritance diagram for KFbxSkin:

Inheritance graph
List of all members.

Detailed Description

Definition at line 64 of file kfbxskin.h.

Public Member Functions

void SetDeformAccuracy (double pDeformAccuracy)
 Set deformation accuracy.
double GetDeformAccuracy () const
 Get deformation accuracy.
bool SetNode (KFbxNode *pNode)
 Set the node affected by this skin deformer.
KFbxNodeGetNode ()
 Get the node affected by this skin deformer.
bool SetGeometry (KFbxGeometry *pGeometry)
 Set the geometry affected by this skin deformer.
KFbxGeometryGetGeometry ()
 Get the geometry affected by this skin deformer.
bool AddCluster (KFbxCluster *pCluster)
 Add a cluster.
KFbxClusterRemoveCluster (KFbxCluster *pCluster)
 Remove cluster at given index.
int GetClusterCount () const
 Get the number of clusters.
KFbxClusterGetCluster (int pIndex)
 Get cluster at given index.
KFbxCluster const * GetCluster (int pIndex) const
 Get cluster at given index.
EDeformerType GetDeformerType () const
 Get the type of the deformer.


Member Function Documentation

void SetDeformAccuracy ( double  pDeformAccuracy  ) 

Set deformation accuracy.

Parameters:
pDeformAccuracy value for deformation accuracy.

double GetDeformAccuracy (  )  const

Get deformation accuracy.

Returns:
deformation accuracy value.

bool SetNode ( KFbxNode pNode  ) 

Set the node affected by this skin deformer.

Parameters:
pNode Pointer to the node object to set.
Returns:
true on success.

KFbxNode* GetNode (  ) 

Get the node affected by this skin deformer.

Returns:
a pointer to the node if set or NULL.

bool SetGeometry ( KFbxGeometry pGeometry  ) 

Set the geometry affected by this skin deformer.

Parameters:
pGeometry Pointer to the geometry object to set.
Returns:
true on success.

KFbxGeometry* GetGeometry (  ) 

Get the geometry affected by this skin deformer.

Returns:
a pointer to the geometry if set or NULL.

bool AddCluster ( KFbxCluster pCluster  ) 

Add a cluster.

Parameters:
pCluster Pointer to the cluster object to add.
Returns:
true on success.

KFbxCluster* RemoveCluster ( KFbxCluster pCluster  ) 

Remove cluster at given index.

Parameters:
pCluster pointer to the cluster to remove from this skin deformer.
Returns:
Pointer to cluster or NULL if pCluster is not owned by this skin deformer.

int GetClusterCount (  )  const

Get the number of clusters.

Returns:
Number of clusters that have been added to this object.

KFbxCluster* GetCluster ( int  pIndex  ) 

Get cluster at given index.

Parameters:
pIndex Index of cluster.
Returns:
Pointer to cluster or NULL if index is out of range.

KFbxCluster const* GetCluster ( int  pIndex  )  const

Get cluster at given index.

Parameters:
pIndex Index of cluster.
Returns:
Pointer to cluster or NULL if index is out of range.

EDeformerType GetDeformerType (  )  const [inline, virtual]

Get the type of the deformer.

Returns:
Deformer type identifier.

Reimplemented from KFbxDeformer.

Definition at line 133 of file kfbxskin.h.