KFbxGeometryWeightedMap Class Reference

#include <kfbxgeometryweightedmap.h>

Inherits KFbxObject.

Inheritance diagram for KFbxGeometryWeightedMap:

Inheritance graph
List of all members.

Detailed Description

This class provides the structure to build a correspondance between 2 geometries.

This correspondance is done at the vertex level. Which means that for each vertex in the source geometry, you can have from 0 to N corresponding vertices in the destination geometry. Each corresponding vertex is weighted.

For example, if the source geometry is a NURB and the destination geometry is a mesh, the correspondance object will express the correspondance between the NURB's control vertices and the mesh's vertices.

If the mesh corresponds to a tesselation of the NURB, the correspondance object can be used to transfer any deformation that affect the NURB's control vertices to the mesh's vertices.

See KFbxWeightedMapping for more details.

Definition at line 76 of file kfbxgeometryweightedmap.h.

Error Management

enum  EError
 Error identifiers. More...
KErrorGetError ()
 Retrieve error object.
EError GetLastErrorID ()
 Get last error code.
char * GetLastErrorString ()
 Get last error string.

Public Member Functions

virtual KFbxObject::ENameSpace GetNameSpace () const
 Return the type ID of this class.
KFbxWeightedMappingSetValues (KFbxWeightedMapping *pWeightedMappingTable)
 Set correspondance values.
KFbxWeightedMappingGetValues () const
 Return correspondance values.
KFbxGeometryGetSourceGeometry ()
 Return source geometry.
KFbxGeometryGetDestinationGeometry ()
 Return destination geometry.
KFbxGeometryWeightedMapoperator= (KFbxGeometryWeightedMap const &pGeometryWeightedMap)
 Assigment operator.


Member Enumeration Documentation

enum EError

Error identifiers.

  • eERROR
  • eERROR_COUNT

Definition at line 94 of file kfbxgeometryweightedmap.h.


Member Function Documentation

KError& GetError (  ) 

Retrieve error object.

Returns:
Reference to error object.

EError GetLastErrorID (  ) 

Get last error code.

Returns:
Last error code.

char* GetLastErrorString (  ) 

Get last error string.

Returns:
Textual description of the last error.

virtual KFbxObject::ENameSpace GetNameSpace (  )  const [virtual]

Return the type ID of this class.

Returns:
KFbxObject::eGEOMETRY_WEIGHTED_MAP.

KFbxWeightedMapping* SetValues ( KFbxWeightedMapping pWeightedMappingTable  ) 

Set correspondance values.

Parameters:
pWeightedMappingTable Pointer to the table containing values
Returns:
Pointer to previous correspondance values table.

KFbxWeightedMapping* GetValues (  )  const

Return correspondance values.

Returns:
Pointer to the correspondance values table.

KFbxGeometry* GetSourceGeometry (  ) 

Return source geometry.

Returns:
Pointer to the source geometry, or NULL if there is no connected source geometry

KFbxGeometry* GetDestinationGeometry (  ) 

Return destination geometry.

Returns:
Pointer to the destination geometry, or NULL if there is no connected destination geometry

KFbxGeometryWeightedMap& operator= ( KFbxGeometryWeightedMap const &  pGeometryWeightedMap  ) 

Assigment operator.