HDK
|
#include <GU_PointMatch.h>
Public Member Functions | |
GU_PointMatch (GA_AttributeOwner dict, const GU_Detail *src, const GU_Detail *dst, const char *idname, const char *dstidname=0) | |
GA_Offset | matchOffset (GA_Offset srcoff) const |
GA_Index | matchIndex (GA_Index srcindex) const |
bool | fallbackUsed () const |
Protected Attributes | |
GA_ROHandleI | mySrcId |
GA_ROHandleI | myDstId |
GA_ROHandleS | mySrcName |
GA_ROHandleS | myDstName |
GA_AttributeOwner | myDict |
GA_Size | myNumDstIndices |
const GU_Detail * | mySrcGdp |
const GU_Detail * | myDstGdp |
const GU_Detail::AttribSingleValueLookupTable * | myLutId |
const GU_Detail::AttribSingleValueLookupTable * | myLutName |
Definition at line 20 of file GU_PointMatch.h.
GU_PointMatch::GU_PointMatch | ( | GA_AttributeOwner | dict, |
const GU_Detail * | src, | ||
const GU_Detail * | dst, | ||
const char * | idname, | ||
const char * | dstidname = 0 |
||
) |
Initialize a lookup from src to dst on the given dictionary. The idname attribute will be matched if it is a string or integer, if not found in both it will match by raw index. dst must remain unchanged as we stash LUT pointers built by it.
bool GU_PointMatch::fallbackUsed | ( | ) | const |
Determine if any fallback macthing was done or if this is a fully specified match.
Given index in src, return correspnding index in dst, or GA_INVALID_INDEX if none exists
Given offset in src, return correspnding offset in dst, or GA_INVALID_OFFSET if none exists
|
protected |
Definition at line 44 of file GU_PointMatch.h.
|
protected |
Definition at line 46 of file GU_PointMatch.h.
|
protected |
Definition at line 41 of file GU_PointMatch.h.
|
protected |
Definition at line 42 of file GU_PointMatch.h.
|
protected |
Definition at line 49 of file GU_PointMatch.h.
|
protected |
Definition at line 50 of file GU_PointMatch.h.
|
protected |
Definition at line 45 of file GU_PointMatch.h.
|
protected |
Definition at line 46 of file GU_PointMatch.h.
|
protected |
Definition at line 41 of file GU_PointMatch.h.
|
protected |
Definition at line 42 of file GU_PointMatch.h.