HDK
|
A GT Data Array to extract values from a point/primitive attribute. More...
#include <GT_GEOElementArray.h>
Public Types | |
enum | GT_GEOAttributeOwner { GT_GEOATTRIB_INVALID = -1, GT_GEOATTRIB_VERTEX = GA_ATTRIB_VERTEX, GT_GEOATTRIB_POINT = GA_ATTRIB_POINT, GT_GEOATTRIB_PRIMITIVE = GA_ATTRIB_PRIMITIVE, GT_GEOATTRIB_GLOBAL = GA_ATTRIB_GLOBAL, GT_GEOATTRIB_DETAIL = GA_ATTRIB_DETAIL, GT_GEOATTRIB_VERTEX_POINT, GT_GEOATTRIB_VERTEX_PRIMITIVE, GT_GEOATTRIB_VERTEX_DETAIL, GT_GEOATTRIB_PRIMITIVE_DETAIL } |
Protected Member Functions | |
GT_GEOElementArray (const GU_ConstDetailHandle &gdp, const GT_GEOOffsetList &offsets, GA_AttributeOwner offset_owner) | |
GT_GEOAutoNormalArray has no attribute yet when calling constructor. More... | |
void | initAttribute (const GA_Attribute *attrib) |
void | makeInvalid () |
template<typename T > | |
T | getValue_t (GT_Offset offset, int idx) const |
template<typename T > | |
const T * | getTuple_t (GT_Offset offset, T *store, int size) const |
template<typename T > | |
bool | getArrayValue_t (UT_ValArray< T > &val, GT_Offset offset) const |
GT_Type | mapTypeInfo (GA_TypeInfo type, int tsize) const |
Protected Member Functions inherited from GT_DataArray | |
SYS_STATIC_FORCE_INLINE GT_Size | fixImportTupleSize (GT_Size size, GT_Size tuple_size) |
template<typename T_POD > | |
void | t_extendedFill (T_POD *dest, GT_Offset start, GT_Size length, int tsize, int nrepeats, int stride) const |
Templated method to fill an array. More... | |
template<typename T_POD > | |
void | t_extendedFillArray (UT_Array< T_POD > &dest, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
Templated method to fill an array attribute. More... | |
virtual void | doImportQuantized (GT_Offset idx, uint8 *data, GT_Size size, fpreal black, fpreal white) const |
Protected Member Functions inherited from UT_IntrusiveRefCounter< GT_DataArray > | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
Protected Attributes | |
GU_ConstDetailHandle | myGdh |
const GU_Detail * | myGdp |
GT_GEOOffsetList | myOffsets |
const GA_Attribute * | myAttribute |
const GA_AIFTuple * | myTuple |
const GA_AIFStringTuple * | mySTuple |
const GA_AIFSharedStringTuple * | mySSTuple |
const GA_AIFNumericArray * | myNumericArray |
const GA_AIFSharedStringArray * | mySSArray |
const GA_AIFSharedDictTuple * | mySDictTuple |
const GA_AIFSharedDictArray * | mySDictArray |
GA_AttributeOwner | myOffsetOwner |
GA_AttributeOwner | myAttributeOwner |
GA_ROHandleF | myF |
GA_ROHandleD | myF64 |
GA_ROHandleI | myI |
GA_ROHandleID | myI64 |
GA_ROHandleV3 | myV3 |
GA_ROHandleV3D | myV364 |
GA_ROHandleFA | myFA |
GA_ROHandleDA | myFA64 |
GA_ROHandleIA | myIA |
GA_ROHandleIDA | myIA64 |
GT_Storage | myStorage |
int | myTupleSize |
Additional Inherited Members | |
Static Public Member Functions inherited from GT_DataArray | |
static bool | isBigInteger (GT_Size size) |
Quick & dirty test to see if a size is bigger than a 32 bit int. More... | |
static void * | operator new (size_t size) |
static void * | operator new (size_t size, void *p) |
static void | operator delete (void *p, size_t size) |
A GT Data Array to extract values from a point/primitive attribute.
Definition at line 27 of file GT_GEOElementArray.h.
Definition at line 30 of file GT_GEOElementArray.h.
GT_GEOElementArray::GT_GEOElementArray | ( | const GU_ConstDetailHandle & | gdp, |
const GA_Attribute * | attrib, | ||
const GT_GEOOffsetList & | offsets, | ||
GA_AttributeOwner | offset_owner | ||
) |
The index_mode
is used to lookup values. This does not necessarily have to match the attribute owner, but it must be one of the following.
index_mode
:= point, attribute
:= point index_mode
:= vertex, attribute
:= point index_mode
:= vertex, attribute
:= primitive index_mode
:= vertex, attribute
:= vertex index_mode
:= primitive, attribute
:= primitive index_mode
:= detail, attribute
:= detail GT_GEOElementArray::GT_GEOElementArray | ( | const GT_GEOElementArray & | src_array, |
const GT_GEOOffsetList & | offsets, | ||
GA_AttributeOwner | offset_owner | ||
) |
|
override |
|
protected |
GT_GEOAutoNormalArray has no attribute yet when calling constructor.
|
inlineoverridevirtual |
Implements GT_DataArray.
Definition at line 68 of file GT_GEOElementArray.h.
Enlarge a bounding box with values.
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
overridevirtual |
Optimized filling methods
Reimplemented from GT_DataArray.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 75 of file GT_GEOElementArray.h.
|
overridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
|
overridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
|
inlineoverridevirtual |
Copy the data out of the array as a tuple of size entries The data may be copied, or the array may return a pointer to raw data. That is, the sub-class may not copy the data into the storage.
Reimplemented from GT_DataArray.
Definition at line 236 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Copy the data out of the array as a tuple of size entries The data may be copied, or the array may return a pointer to raw data. That is, the sub-class may not copy the data into the storage.
Reimplemented from GT_DataArray.
Definition at line 238 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Copy the data out of the array as a tuple of size entries The data may be copied, or the array may return a pointer to raw data. That is, the sub-class may not copy the data into the storage.
Reimplemented from GT_DataArray.
Definition at line 240 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Copy the data out of the array as a tuple of size entries The data may be copied, or the array may return a pointer to raw data. That is, the sub-class may not copy the data into the storage.
Reimplemented from GT_DataArray.
Definition at line 242 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Copy the data out of the array as a tuple of size entries The data may be copied, or the array may return a pointer to raw data. That is, the sub-class may not copy the data into the storage.
Reimplemented from GT_DataArray.
Definition at line 244 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Copy the data out of the array as a tuple of size entries The data may be copied, or the array may return a pointer to raw data. That is, the sub-class may not copy the data into the storage.
Reimplemented from GT_DataArray.
Definition at line 246 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Copy the data out of the array as a tuple of size entries The data may be copied, or the array may return a pointer to raw data. That is, the sub-class may not copy the data into the storage.
Reimplemented from GT_DataArray.
Definition at line 248 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Copy the data out of the array as a tuple of size entries The data may be copied, or the array may return a pointer to raw data. That is, the sub-class may not copy the data into the storage.
Reimplemented from GT_DataArray.
Definition at line 250 of file GT_GEOElementArray.h.
|
inlineprotected |
Definition at line 397 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 174 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 183 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Implements GT_DataArray.
|
overridevirtual |
Access methods defined on GT_DataArray
Implements GT_DataArray.
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 142 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 144 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 146 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 210 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 213 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 216 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 150 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 152 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 225 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 228 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 231 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 222 of file GT_GEOElementArray.h.
|
overridevirtual |
Access methods defined on GT_DataArray
Implements GT_DataArray.
|
overridevirtual |
Access methods defined on GT_DataArray
Implements GT_DataArray.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Implements GT_DataArray.
Reimplemented in GT_GEOAutoNormalArray.
Definition at line 122 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 154 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 163 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 73 of file GT_GEOElementArray.h.
|
overridevirtual |
Access methods defined on GT_DataArray
Implements GT_DataArray.
|
overridevirtual |
Access methods defined on GT_DataArray
Implements GT_DataArray.
|
overridevirtual |
Query methods defined on GT_DataArray
Reimplemented from GT_DataArray.
|
inlineprotected |
Definition at line 388 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 97 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 101 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 148 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 219 of file GT_GEOElementArray.h.
|
inlineprotected |
Definition at line 377 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 125 of file GT_GEOElementArray.h.
|
protected |
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 124 of file GT_GEOElementArray.h.
Query methods defined on GT_DataArray
Reimplemented from GT_DataArray.
|
protected |
|
protected |
|
overridevirtual |
Query methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Reimplemented in GT_GEOAutoNormalArray.
|
protected |
Definition at line 413 of file GT_GEOElementArray.h.
|
protected |
Definition at line 422 of file GT_GEOElementArray.h.
|
protected |
Definition at line 423 of file GT_GEOElementArray.h.
|
protected |
Definition at line 424 of file GT_GEOElementArray.h.
|
protected |
Definition at line 429 of file GT_GEOElementArray.h.
|
protected |
Definition at line 430 of file GT_GEOElementArray.h.
|
protected |
Definition at line 410 of file GT_GEOElementArray.h.
|
protected |
Definition at line 411 of file GT_GEOElementArray.h.
|
protected |
Definition at line 425 of file GT_GEOElementArray.h.
|
protected |
Definition at line 426 of file GT_GEOElementArray.h.
|
protected |
Definition at line 431 of file GT_GEOElementArray.h.
|
protected |
Definition at line 432 of file GT_GEOElementArray.h.
|
protected |
Definition at line 417 of file GT_GEOElementArray.h.
|
protected |
Definition at line 421 of file GT_GEOElementArray.h.
|
protected |
Definition at line 412 of file GT_GEOElementArray.h.
|
protected |
Definition at line 420 of file GT_GEOElementArray.h.
|
protected |
Definition at line 419 of file GT_GEOElementArray.h.
|
protected |
Definition at line 418 of file GT_GEOElementArray.h.
|
protected |
Definition at line 416 of file GT_GEOElementArray.h.
|
protected |
Definition at line 433 of file GT_GEOElementArray.h.
|
protected |
Definition at line 415 of file GT_GEOElementArray.h.
|
protected |
Definition at line 414 of file GT_GEOElementArray.h.
|
protected |
Definition at line 434 of file GT_GEOElementArray.h.
|
protected |
Definition at line 427 of file GT_GEOElementArray.h.
|
protected |
Definition at line 428 of file GT_GEOElementArray.h.