Public Member Functions | Protected Member Functions | Protected Attributes

FbxGeometryWeightedMap 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 FbxWeightedMapping for more details.

Definition at line 40 of file fbxgeometryweightedmap.h.

#include <fbxgeometryweightedmap.h>

Inheritance diagram for FbxGeometryWeightedMap:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void SetValues (const FbxWeightedMapping *pWeightedMappingTable)
 Set correspondence values.
FbxWeightedMappingGetValues () const
 Return correspondence values.
FbxGeometryGetSourceGeometry ()
 Return source geometry.
FbxGeometryGetDestinationGeometry ()
 Return destination geometry.
virtual FbxObjectCopy (const FbxObject &pObject)
 Copy an object content into this object.

Protected Member Functions

virtual void Construct (const FbxGeometryWeightedMap *pFrom)
virtual void Destruct (bool pRecursive)
 Optional destructor override, automatically called by default destructor.

Protected Attributes

FbxWeightedMappingmWeightedMapping

Member Function Documentation

void SetValues ( const FbxWeightedMapping pWeightedMappingTable)

Set correspondence values.

Parameters:
pWeightedMappingTablePointer to the table containing values
Remarks:
pWeightedMappingTable becomes owned by this object and will be destroyed by it when the object goes out of scope or on the next call to SetValues(). The deletion uses FbxDelete() so the content of the pointer must have been allocated with FbxNew<>()
FbxWeightedMapping* GetValues ( ) const

Return correspondence values.

Returns:
Pointer to the correspondence values table.
FbxGeometry* GetSourceGeometry ( )

Return source geometry.

Returns:
Pointer to the source geometry, or NULL if there is no connected source geometry
FbxGeometry* GetDestinationGeometry ( )

Return destination geometry.

Returns:
Pointer to the destination geometry, or NULL if there is no connected destination geometry
virtual FbxObject& Copy ( const FbxObject pObject) [virtual]

Copy an object content into this object.

Parameters:
pObjectThe 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 FbxObject.

virtual void Construct ( const FbxGeometryWeightedMap pFrom) [protected, virtual]
virtual void Destruct ( bool  pRecursive) [protected, virtual]

Optional destructor override, automatically called by default destructor.

Parameters:
pRecursiveIf true, children objects should be destroyed as well.
Remarks:
In case it is decided to override this function, do not forget to call ParentClass::Destruct(pResursive) at the end.

Reimplemented from FbxObject.


Member Data Documentation


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

FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap
FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap FbxGeometryWeightedMap