|
HDK
|
A GT Data Array to extract values from a point/primitive attribute. More...
#include <GT_GEOElementArray.h>
Inheritance diagram for GT_GEOElementArray: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 |
| 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 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 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 445 of file GT_GEOElementArray.h.
|
overridevirtual |
The underlying GA_Attribute, if one exists.
Reimplemented from GT_DataArray.
Return the source data index: a GT_Offset if the data is stored in GT, or a GA_Index if the data resides in a GA_Attribute.
Reimplemented from GT_DataArray.
Definition at line 384 of file GT_GEOElementArray.h.
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 436 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 425 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 |
Whether there is some indirection from the GT_Offset to the data index.
Reimplemented from GT_DataArray.
Definition at line 356 of file GT_GEOElementArray.h.
|
inline |
Definition at line 370 of file GT_GEOElementArray.h.
|
inlineoverridevirtual |
Whether the other data array shares the same indirection from GT_Offset to data index. If the data resides in a GA_Attribute, this returns whether the underlying GA elements are the same. This compares GT_DataArray metadata, instead of fully checking for equality!
Reimplemented from GT_DataArray.
Definition at line 359 of file GT_GEOElementArray.h.
|
inline |
Definition at line 378 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.
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 461 of file GT_GEOElementArray.h.
|
protected |
Definition at line 471 of file GT_GEOElementArray.h.
|
protected |
Definition at line 472 of file GT_GEOElementArray.h.
|
protected |
Definition at line 473 of file GT_GEOElementArray.h.
|
protected |
Definition at line 478 of file GT_GEOElementArray.h.
|
protected |
Definition at line 479 of file GT_GEOElementArray.h.
|
protected |
Definition at line 458 of file GT_GEOElementArray.h.
|
protected |
Definition at line 459 of file GT_GEOElementArray.h.
|
protected |
Definition at line 474 of file GT_GEOElementArray.h.
|
protected |
Definition at line 475 of file GT_GEOElementArray.h.
|
protected |
Definition at line 480 of file GT_GEOElementArray.h.
|
protected |
Definition at line 481 of file GT_GEOElementArray.h.
|
protected |
Definition at line 469 of file GT_GEOElementArray.h.
|
protected |
Definition at line 465 of file GT_GEOElementArray.h.
|
protected |
Definition at line 470 of file GT_GEOElementArray.h.
|
protected |
Definition at line 460 of file GT_GEOElementArray.h.
|
protected |
Definition at line 468 of file GT_GEOElementArray.h.
|
protected |
Definition at line 467 of file GT_GEOElementArray.h.
|
protected |
Definition at line 466 of file GT_GEOElementArray.h.
|
protected |
Definition at line 464 of file GT_GEOElementArray.h.
|
protected |
Definition at line 482 of file GT_GEOElementArray.h.
|
protected |
Definition at line 463 of file GT_GEOElementArray.h.
|
protected |
Definition at line 462 of file GT_GEOElementArray.h.
|
protected |
Definition at line 483 of file GT_GEOElementArray.h.
|
protected |
Definition at line 476 of file GT_GEOElementArray.h.
|
protected |
Definition at line 477 of file GT_GEOElementArray.h.