GA_AIFEditDeltaMap Class Reference

Class for mapping between an index and an attribute data offset. More...

#include <GA_AIFEdit.h>

Inheritance diagram for GA_AIFEditDeltaMap:

GA_AIFEditDeltaIndexMap

List of all members.

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


Detailed Description

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 50 of file GA_AIFEdit.h.


Constructor & Destructor Documentation

virtual GA_AIFEditDeltaMap::~GA_AIFEditDeltaMap (  )  [inline, virtual]

Definition at line 53 of file GA_AIFEdit.h.


Member Function Documentation

virtual GA_Offset GA_AIFEditDeltaMap::getDataOffset ( GA_Index  delta_index  )  const [pure virtual]

Implemented in GA_AIFEditDeltaIndexMap.

virtual GA_Index GA_AIFEditDeltaMap::getDeltaIndex ( GA_Offset  data_offset  )  const [pure virtual]

Implemented in GA_AIFEditDeltaIndexMap.


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

Generated on Thu Jan 31 00:30:31 2013 for HDK by  doxygen 1.5.9