HDK
|
#include <GA_Handle.h>
Public Types | |
typedef void(* | GAprobeAttribGetter )(T &result, const GA_Attribute *atr, GA_Offset) |
typedef T::value_type | BASETYPE |
using | ALTBASETYPE = typename UT_StorageNum< BASETYPE >::SecondGuess |
using | ALTTYPE = UT_FixedVector< ALTBASETYPE, theTupleSize > |
Static Public Attributes | |
static const exint | theTupleSize = UT_FixedVectorTraits<T>::TupleSize |
Protected Attributes | |
GA_ATINumeric * | myAttrib |
GA_PageArray< BASETYPE, theTupleSize > * | myExactMatch |
GA_PageArray< typename UT_StorageNum< BASETYPE > ::SecondGuess, theTupleSize > * | myAlmostMatch |
Read-only handle for vector attribute data.
T | Return vector type for get methods. Requires T::value_type to describe the underlying element type of the vector. |
ENABLE | Use SYS_EnableIf to specialize arithmetic template implementations (i.e. see the SCALAR implementation) |
Definition at line 109 of file GA_Handle.h.
using GA_ROHandleT< T, ENABLE >::ALTBASETYPE = typename UT_StorageNum<BASETYPE>::SecondGuess |
Definition at line 115 of file GA_Handle.h.
using GA_ROHandleT< T, ENABLE >::ALTTYPE = UT_FixedVector<ALTBASETYPE, theTupleSize> |
Definition at line 116 of file GA_Handle.h.
typedef T::value_type GA_ROHandleT< T, ENABLE >::BASETYPE |
Definition at line 113 of file GA_Handle.h.
typedef void(* GA_ROHandleT< T, ENABLE >::GAprobeAttribGetter)(T &result, const GA_Attribute *atr, GA_Offset) |
Definition at line 112 of file GA_Handle.h.
|
inline |
Definition at line 118 of file GA_Handle.h.
|
inline |
Definition at line 122 of file GA_Handle.h.
GA_ROHandleT< T, ENABLE >::GA_ROHandleT | ( | const GA_Detail * | gdp, |
GA_AttributeOwner | owner, | ||
const UT_StringRef & | name, | ||
int | minsize = 1 |
||
) |
void GA_ROHandleT< T, ENABLE >::bind | ( | const GA_Detail * | gdp, |
GA_AttributeOwner | owner, | ||
const UT_StringRef & | name, | ||
int | minsize = 1 |
||
) |
|
inline |
Definition at line 136 of file GA_Handle.h.
|
inline |
Definition at line 141 of file GA_Handle.h.
|
inline |
Definition at line 180 of file GA_Handle.h.
|
inline |
Definition at line 203 of file GA_Handle.h.
|
inline |
Definition at line 216 of file GA_Handle.h.
|
inline |
Definition at line 166 of file GA_Handle.h.
void GA_ROHandleT< T, ENABLE >::getBlock | ( | GA_Offset | startoff, |
GA_Size | nelements, | ||
T * | dest, | ||
int | deststride = 1 , |
||
int | component = 0 |
||
) | const |
Copies attribute values from a contiguous block of offsets into the dest array. NOTE: The block of offsets is assumed to have no holes, else data could be read from offsets that don't have corresponding elements.
void GA_ROHandleT< T, ENABLE >::getBlockFromIndices | ( | GA_Index | startidx, |
GA_Size | nelements, | ||
T * | dest, | ||
int | deststride = 1 , |
||
int | component = 0 |
||
) | const |
Copies attribute values from a contiguous block of indices into the dest array. This allows there to be holes in the geometry.
|
inline |
Definition at line 168 of file GA_Handle.h.
|
inline |
True if we've bound the Almost match, which we consider our alternate binding.
Definition at line 198 of file GA_Handle.h.
|
inline |
Definition at line 191 of file GA_Handle.h.
|
inline |
Returns true iff the specified page is constant-compressed, where a single value is stored to represent GA_PAGE_SIZE values in the page, (or possibly fewer if only one page).
Definition at line 266 of file GA_Handle.h.
|
inline |
Definition at line 177 of file GA_Handle.h.
|
inline |
Definition at line 187 of file GA_Handle.h.
|
inline |
Definition at line 274 of file GA_Handle.h.
|
inline |
Definition at line 255 of file GA_Handle.h.
|
inline |
Definition at line 278 of file GA_Handle.h.
|
inline |
Definition at line 128 of file GA_Handle.h.
|
inline |
Definition at line 270 of file GA_Handle.h.
|
inline |
Definition at line 259 of file GA_Handle.h.
|
protected |
Definition at line 285 of file GA_Handle.h.
|
protected |
Definition at line 283 of file GA_Handle.h.
|
protected |
Definition at line 284 of file GA_Handle.h.
|
static |
Definition at line 114 of file GA_Handle.h.