#include<kfbxgeometryweightedmap.h>
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.
SeeKFbxWeightedMappingfor more details.
Definition at line75of filekfbxgeometryweightedmap.h.
Error Management | |
enum | EError |
Error identifiers.More... | |
KError& | GetError() |
Retrieve error object. | |
EError | GetLastErrorID() const |
Get last error code. | |
const char * | GetLastErrorString() const |
Get last error string. | |
Public Member Functions | |
KFbxWeightedMapping* | SetValues(KFbxWeightedMapping*pWeightedMappingTable) |
Set correspondance values. | |
KFbxWeightedMapping* | GetValues() const |
Return correspondance values. | |
KFbxGeometry* | GetSourceGeometry() |
Return source geometry. | |
KFbxGeometry* | GetDestinationGeometry() |
Return destination geometry. | |
KFbxGeometryWeightedMap& | operator=(KFbxGeometryWeightedMapconst&pGeometryWeightedMap) |
Assigment operator. |
enumEError |
KError&GetError | ( | ) |
Retrieve error object.
EErrorGetLastErrorID | ( | ) | const |
Get last error code.
const char* GetLastErrorString | ( | ) | const |
Get last error string.
KFbxWeightedMapping* SetValues | ( | KFbxWeightedMapping* | pWeightedMappingTable | ) |
Set correspondance values.
pWeightedMappingTable | Pointer to the table containing values |
KFbxWeightedMapping* GetValues | ( | ) | const |
Return correspondance values.
KFbxGeometry* GetSourceGeometry | ( | ) |
Return source geometry.
NULL
if there is no connected source geometryKFbxGeometry* GetDestinationGeometry | ( | ) |
Return destination geometry.
NULL
if there is no connected destination geometryKFbxGeometryWeightedMap&operator= | ( | KFbxGeometryWeightedMapconst& | pGeometryWeightedMap | ) |
Assigment operator.