Public Member Functions | Protected Member Functions | Protected Attributes | Friends

KFbxGeometryWeightedMap Class Reference

Search for all occurrences

Detailed Description

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

This correspondence 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 correspondence object will express the correspondence between the NURB's control vertices and the mesh's vertices.

If the mesh corresponds to a tesselation of the NURB, the correspondence 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 68 of file kfbxgeometryweightedmap.h.

#include <kfbxgeometryweightedmap.h>

Inheritance diagram for KFbxGeometryWeightedMap:
Inheritance graph
[legend]

List of all members.

Public Member Functions

KFbxWeightedMapping SetValues (KFbxWeightedMapping *pWeightedMappingTable)
  Set correspondence values.
KFbxWeightedMapping GetValues () const
  Return correspondence values.
KFbxGeometry GetSourceGeometry ()
  Return source geometry.
KFbxGeometry GetDestinationGeometry ()
  Return destination geometry.
virtual KFbxObject Copy (const KFbxObject &pObject)
  Copy an object content into this object.

Protected Member Functions

  KFbxGeometryWeightedMap (KFbxSdkManager &pManager, char const *pName)
virtual void  Destruct (bool pRecursive, bool pDependents)

Protected Attributes

KFbxWeightedMapping mWeightedMapping

Friends

class  KFbxGeometry

Error Management

enum   EError { eERROR, eERROR_COUNT }
 

Error identifiers.

More...
KError GetError ()
  Retrieve error object.
EError  GetLastErrorID () const
  Get last error code.
const char *  GetLastErrorString () const
  Get last error string.

Member Enumeration Documentation

enum EError

Error identifiers.

  • eERROR
  • eERROR_COUNT
Enumerator:
eERROR 
eERROR_COUNT 

Definition at line 86 of file kfbxgeometryweightedmap.h.


Constructor & Destructor Documentation

KFbxGeometryWeightedMap ( KFbxSdkManager pManager,
char const *  pName 
) [protected]

Member Function Documentation

KError& GetError ( )

Retrieve error object.

Returns:
Reference to error object.
EError GetLastErrorID ( ) const

Get last error code.

Returns:
Last error code.
const char* GetLastErrorString ( ) const

Get last error string.

Returns:
Textual description of the last error.
KFbxWeightedMapping* SetValues ( KFbxWeightedMapping pWeightedMappingTable )

Set correspondence values.

Parameters:
pWeightedMappingTable Pointer to the table containing values
Returns:
Pointer to previous correspondence values table.
KFbxWeightedMapping* GetValues ( ) const

Return correspondence values.

Returns:
Pointer to the correspondence 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
virtual KFbxObject& Copy ( const KFbxObject pObject ) [virtual]

Copy an object content into this object.

Parameters:
pObject The source object to copy data from.
Returns:
Returns the destination object being modified by the source.
Remarks:
This function replace the assignment operator (operator=). It will copy all property values and the name. Connections are NOT copied.

Reimplemented from KFbxObject.

virtual void Destruct ( bool  pRecursive,
bool  pDependents 
) [protected, virtual]

Friends And Related Function Documentation

friend class KFbxGeometry [friend]

Member Data Documentation


The documentation for this class was generated from the following file:

KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap
KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap KFbxGeometryWeightedMap