HDK
|
Class for mapping between an index and an attribute data offset. More...
#include <GA_AIFEdit.h>
Public Member Functions | |
virtual | ~GA_AIFEditDeltaMap () |
virtual GA_Offset | getDataOffset (GA_Index delta_index) const =0 |
virtual GA_Index | getDeltaIndex (GA_Offset data_offset) const =0 |
Class for mapping between an index and an attribute data offset.
GA_AIFEditDelta objects store element deltas by an ordered index, not necessarily corresponding to the element's order in an GA_IndexMap. This class maps between that index and the corresponding data offset in a particular attribute.
The simplest map is to use the ordered index from a GA_IndexMap as the delta index. TODO: Add a virtual getDeltaIndexTraverser which yields data offsets in delta index order. This may be more efficient for GA_AIFEditDelta::apply
Definition at line 48 of file GA_AIFEdit.h.
|
inlinevirtual |
Definition at line 51 of file GA_AIFEdit.h.
Implemented in GA_AIFEditDeltaIndexMap.
Implemented in GA_AIFEditDeltaIndexMap.