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 |
![]() | |
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 |
![]() | |
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 |
const GA_AIFIndexPair * | myIndexPair |
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 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 28 of file GT_GEOElementArray.h.
Definition at line 31 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 69 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 76 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 245 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 247 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 249 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 251 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 253 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 255 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 257 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 259 of file GT_GEOElementArray.h.
|
inlineprotected |
Definition at line 411 of file GT_GEOElementArray.h.
const GA_Attribute* GT_GEOElementArray::getBufferAttribute | ( | ) |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 175 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 184 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Implements GT_DataArray.
|
overridevirtual |
Access methods defined on GT_DataArray
Implements GT_DataArray.
|
overridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 143 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 145 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 147 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.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 222 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.
Access methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 151 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 153 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 234 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 237 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 240 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.
|
overridevirtual |
Access methods defined on GT_DataArray
Implements GT_DataArray.
|
overridevirtual |
Access methods defined on GT_DataArray
Implements GT_DataArray.
|
overridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
|
overridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Implements GT_DataArray.
Reimplemented in GT_GEOAutoNormalArray.
Definition at line 123 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 155 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 164 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 74 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 |
Access methods defined on GT_DataArray
Reimplemented from GT_DataArray.
|
overridevirtual |
Query methods defined on GT_DataArray
Reimplemented from GT_DataArray.
|
inlineprotected |
Definition at line 402 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 98 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 102 of file GT_GEOElementArray.h.
Access methods defined on GT_DataArray
Implements GT_DataArray.
Definition at line 149 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.
|
inlineprotected |
Definition at line 391 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 126 of file GT_GEOElementArray.h.
bool GT_GEOElementArray::hasCLBuffer | ( | ) | const |
|
protected |
|
inlineoverridevirtual |
Query methods defined on GT_DataArray
Reimplemented from GT_DataArray.
Definition at line 125 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 427 of file GT_GEOElementArray.h.
|
protected |
Definition at line 437 of file GT_GEOElementArray.h.
|
protected |
Definition at line 438 of file GT_GEOElementArray.h.
|
protected |
Definition at line 439 of file GT_GEOElementArray.h.
|
protected |
Definition at line 444 of file GT_GEOElementArray.h.
|
protected |
Definition at line 445 of file GT_GEOElementArray.h.
|
protected |
Definition at line 424 of file GT_GEOElementArray.h.
|
protected |
Definition at line 425 of file GT_GEOElementArray.h.
|
protected |
Definition at line 440 of file GT_GEOElementArray.h.
|
protected |
Definition at line 441 of file GT_GEOElementArray.h.
|
protected |
Definition at line 446 of file GT_GEOElementArray.h.
|
protected |
Definition at line 447 of file GT_GEOElementArray.h.
|
protected |
Definition at line 435 of file GT_GEOElementArray.h.
|
protected |
Definition at line 431 of file GT_GEOElementArray.h.
|
protected |
Definition at line 436 of file GT_GEOElementArray.h.
|
protected |
Definition at line 426 of file GT_GEOElementArray.h.
|
protected |
Definition at line 434 of file GT_GEOElementArray.h.
|
protected |
Definition at line 433 of file GT_GEOElementArray.h.
|
protected |
Definition at line 432 of file GT_GEOElementArray.h.
|
protected |
Definition at line 430 of file GT_GEOElementArray.h.
|
protected |
Definition at line 448 of file GT_GEOElementArray.h.
|
protected |
Definition at line 429 of file GT_GEOElementArray.h.
|
protected |
Definition at line 428 of file GT_GEOElementArray.h.
|
protected |
Definition at line 449 of file GT_GEOElementArray.h.
|
protected |
Definition at line 442 of file GT_GEOElementArray.h.
|
protected |
Definition at line 443 of file GT_GEOElementArray.h.