HDK
|
This class provides a convenient abstraction of the contents of an index pair attribute for a single element. More...
#include <GEO_AttributeIndexPairs.h>
Public Member Functions | |
GEO_AttributeIndexPairs (GA_Offset elem_off, const GA_RWAttributeRef &ref) | |
GEO_AttributeIndexPairs (GA_Offset elem_off, GA_Attribute *attrib, const GA_AIFIndexPair *aifindexpair) | |
~GEO_AttributeIndexPairs () | |
Destructor. More... | |
int32 | getEntryIndex (int n) const |
fpreal32 | getEntryValue (int n, int component=0) const |
void | getEntry (int n, int32 &index, fpreal32 &value) const |
void | setEntryIndex (int n, int32 index) |
void | setEntryValue (int n, fpreal32 value, int component=0) |
void | setEntry (int n, int32 index, fpreal32 value) |
void | offsetEntryValue (int n, fpreal32 o, int component=0) |
void | scaleEntryValue (int n, fpreal32 s, int component=0) |
void | bind (GA_Offset elem_off, GA_Attribute *attrib, const GA_AIFIndexPair *aifindexpair) |
void | bind (GA_Offset elem_off, const GA_RWAttributeRef &ref) |
This class provides a convenient abstraction of the contents of an index pair attribute for a single element.
It is important to note that this class does not perform any sort of bounds checking.
Definition at line 83 of file GEO_AttributeIndexPairs.h.
|
inline |
No Default constructor. An instance must always be bound.
Definition at line 88 of file GEO_AttributeIndexPairs.h.
|
inline |
Definition at line 90 of file GEO_AttributeIndexPairs.h.
|
inline |
Destructor.
Definition at line 95 of file GEO_AttributeIndexPairs.h.
|
inline |
Bind a element
Definition at line 100 of file GEO_AttributeIndexPairs.h.
void GEO_AttributeIndexPairs::bind | ( | GA_Offset | elem_off, |
const GA_RWAttributeRef & | ref | ||
) |
Bind a element
Definition at line 112 of file GEO_AttributeIndexPairs.h.
Definition at line 126 of file GEO_AttributeIndexPairs.h.
Definition at line 128 of file GEO_AttributeIndexPairs.h.
Definition at line 120 of file GEO_AttributeIndexPairs.h.