|
| GT_DAValues (const T *values, GT_Size array_size, int tuple_size, GT_Type type=GT_TYPE_NONE) |
|
| ~GT_DAValues () override |
|
const T * | getData () const |
|
const char * | className () const override |
|
bool | getPointerAliasing (const void *data) const override |
| Return "true" if there's pointer aliasing. More...
|
|
template<typename U > |
const U * | getT (GT_Offset offset, SYS_MAYBE_UNUSED U *buf, int size) const |
|
const uint8 * | get (GT_Offset offset, uint8 *buf, int size) const override |
|
const int8 * | get (GT_Offset offset, int8 *buf, int size) const override |
|
const int16 * | get (GT_Offset offset, int16 *buf, int size) const override |
|
const int32 * | get (GT_Offset offset, int32 *buf, int size) const override |
|
const int64 * | get (GT_Offset offset, int64 *buf, int size) const override |
|
const fpreal16 * | get (GT_Offset offset, fpreal16 *buf, int size) const override |
|
const fpreal32 * | get (GT_Offset offset, fpreal32 *buf, int size) const override |
|
const fpreal64 * | get (GT_Offset offset, fpreal64 *buf, int size) const override |
|
|
GT_Storage | getStorage () const override |
|
GT_Size | getTupleSize () const override |
|
int64 | getMemoryUsage () const override |
|
GT_Size | entries () const override |
|
GT_Type | getTypeInfo () const override |
|
uint8 | getU8 (GT_Offset offset, int index=0) const override |
|
int32 | getI32 (GT_Offset offset, int index=0) const override |
|
int64 | getI64 (GT_Offset offset, int index=0) const override |
|
fpreal16 | getF16 (GT_Offset offset, int index=0) const override |
|
fpreal32 | getF32 (GT_Offset offset, int index=0) const override |
|
fpreal64 | getF64 (GT_Offset offset, int index=0) const override |
|
GT_String | getS (GT_Offset, int) const override |
|
GT_Size | getStringIndexCount () const override |
|
GT_Offset | getStringIndex (GT_Offset, int) const override |
|
void | getIndexedStrings (UT_StringArray &, UT_IntArray &) const override |
|
GT_Size | getDictIndexCount () const override |
|
GT_Offset | getDictIndex (GT_Offset, int) const override |
|
void | getIndexedDicts (UT_Array< UT_OptionsHolder > &, UT_IntArray &) const override |
|
| GT_DataArray () |
|
| GT_DataArray (const GT_DataArray &src) |
|
virtual | ~GT_DataArray () |
|
virtual GT_DataArrayHandle | harden () const |
| Create a "hardened" version of the array. More...
|
|
virtual GT_Size | itemSize (GT_Offset) const |
| Return the number of elements in the array for the given item. More...
|
|
virtual GT_Size | getTotalArrayEntries () const |
|
virtual bool | hasArrayEntries () const |
| Returns "true" if each entry is an array. More...
|
|
virtual bool | isValid () const |
| Data array is valid; can be sampled from. More...
|
|
virtual const void * | getBackingData () const |
|
virtual int64 | getDataId () const |
|
template<typename T > |
const T * | getArray (GT_DataArrayHandle &buffer) const |
| Template-friendly version of getU8Array() and related methods. More...
|
|
virtual void | getStrings (UT_StringArray &strings) const |
|
void | fillStrings (UT_StringArray &result, int tuple_idx=0) const |
|
virtual void | fillStringArray (UT_StringArray &data, UT_ValArray< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | getDictionaries (UT_Array< UT_OptionsHolder > &dicts) const |
|
virtual void | fillDictionaryArray (UT_Array< UT_OptionsHolder > &data, UT_ValArray< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | extendedFillArray (uint8 *data, GT_Offset start, GT_Size length, int tsize, int nrepeats, int stride=-1, fpreal black=0, fpreal white=1) const |
|
virtual bool | isEqual (const GT_DataArray &src) const |
| Compare whether two data arrays are equal. More...
|
|
bool | getMinMax (fpreal64 *min, fpreal64 *max) const |
| Enlarge a bounding box with values of this 3-tuple array. More...
|
|
bool | enlargeBounds (UT_BoundingBox &b) const |
|
GT_Storage | checkIndexing (GT_IndexingMode mode) const |
| Test to see whether the data array requires int32 or int64 indexing. More...
|
|
void | dumpValues (const char *msg=NULL) const |
| For debugging, print values to stdout. More...
|
|
bool | save (UT_JSONWriter &w, bool flat=true) const |
|
void | copyDataId (const GT_DataArray &src) |
|
void | setDataId (int64 id) |
|
virtual void | updateGeoDetail (const GU_ConstDetailHandle &dtl, const char *attrib_name, GT_Owner attrib_owner, const int expected_size) |
| Update cached data, in case the underlying attribute changed. More...
|
|
template<typename T > |
T | getValue (GT_Offset index) const |
| Public accessor for POD types. More...
|
|
template<typename T > |
T | lerpValue (GT_Offset i0, GT_Offset i1, fpreal t) const |
|
template<typename T > |
T | bilerpValue (GT_Offset u0v0, GT_Offset u1v0, GT_Offset u0v1, GT_Offset u1v1, fpreal u, fpreal v) |
|
virtual int8 | getI8 (GT_Offset offset, int idx=0) const |
|
virtual int16 | getI16 (GT_Offset offset, int idx=0) const |
|
virtual bool | getSA (UT_StringArray &a, GT_Offset offset) const |
|
virtual GT_Dict | getDict (GT_Offset offset, int idx=0) const |
|
virtual bool | getDictA (UT_Array< UT_OptionsHolder > &a, GT_Offset offset) const |
|
virtual bool | getFA16 (UT_ValArray< fpreal16 > &a, GT_Offset offset) const |
|
virtual bool | getFA32 (UT_ValArray< fpreal32 > &a, GT_Offset offset) const |
|
virtual bool | getFA64 (UT_ValArray< fpreal64 > &a, GT_Offset offset) const |
|
virtual bool | getUA8 (UT_ValArray< uint8 > &a, GT_Offset offset) const |
|
virtual bool | getIA8 (UT_ValArray< int8 > &a, GT_Offset offset) const |
|
virtual bool | getIA16 (UT_ValArray< int16 > &a, GT_Offset offset) const |
|
virtual bool | getIA32 (UT_ValArray< int32 > &a, GT_Offset offset) const |
|
virtual bool | getIA64 (UT_ValArray< int64 > &a, GT_Offset offset) const |
|
virtual const uint8 * | getU8Array (GT_DataArrayHandle &buffer) const |
|
virtual const int8 * | getI8Array (GT_DataArrayHandle &buffer) const |
|
virtual const int16 * | getI16Array (GT_DataArrayHandle &buffer) const |
|
virtual const int32 * | getI32Array (GT_DataArrayHandle &buffer) const |
|
virtual const int64 * | getI64Array (GT_DataArrayHandle &buffer) const |
|
virtual const fpreal16 * | getF16Array (GT_DataArrayHandle &buffer) const |
|
virtual const fpreal32 * | getF32Array (GT_DataArrayHandle &buffer) const |
|
virtual const fpreal64 * | getF64Array (GT_DataArrayHandle &buffer) const |
|
const fpreal * | getRealArray (GT_DataArrayHandle &buffer) const |
|
void | import (GT_Offset idx, int8 *data, GT_Size size=0) const |
|
void | import (GT_Offset idx, int16 *data, GT_Size size=0) const |
|
void | import (GT_Offset idx, int32 *data, GT_Size size=0) const |
|
void | import (GT_Offset idx, int64 *data, GT_Size size=0) const |
|
void | import (GT_Offset idx, fpreal16 *data, GT_Size size=0) const |
|
void | import (GT_Offset idx, fpreal32 *data, GT_Size size=0) const |
|
void | import (GT_Offset idx, fpreal64 *data, GT_Size size=0) const |
|
void | import (GT_Offset idx, UT_ValArray< fpreal16 > &data) const |
|
void | import (GT_Offset idx, UT_ValArray< fpreal32 > &data) const |
|
void | import (GT_Offset idx, UT_ValArray< fpreal64 > &data) const |
|
void | import (GT_Offset idx, UT_ValArray< uint8 > &data) const |
|
void | import (GT_Offset idx, UT_ValArray< int8 > &data) const |
|
void | import (GT_Offset idx, UT_ValArray< int16 > &data) const |
|
void | import (GT_Offset idx, UT_ValArray< int32 > &data) const |
|
void | import (GT_Offset idx, UT_ValArray< int64 > &data) const |
|
void | import (GT_Offset idx, UT_StringArray &data) const |
|
void | import (GT_Offset idx, UT_Array< UT_OptionsHolder > &data) const |
|
void | import (GT_Offset idx, uint8 *data, GT_Size size=0, fpreal black=0, fpreal white=1) const |
|
void | fillArray (int8 *data, GT_Offset start, GT_Size length, int tsize, int stride=-1) const |
|
void | fillArray (int16 *data, GT_Offset start, GT_Size length, int tsize, int stride=-1) const |
|
void | fillArray (int32 *data, GT_Offset start, GT_Size length, int tsize, int stride=-1) const |
|
void | fillArray (int64 *data, GT_Offset start, GT_Size length, int tsize, int stride=-1) const |
|
void | fillArray (fpreal16 *data, GT_Offset start, GT_Size length, int tsize, int stride=-1) const |
|
void | fillArray (fpreal32 *data, GT_Offset start, GT_Size length, int tsize, int stride=-1) const |
|
void | fillArray (fpreal64 *data, GT_Offset start, GT_Size length, int tsize, int stride=-1) const |
|
void | fillArray (uint8 *data, GT_Offset start, GT_Size length, int tsize, int stride=-1, fpreal black=0, fpreal white=1) const |
|
void | fillVec3BBox (fpreal32 *dest, GT_Offset start, GT_Size length, UT_BoundingBoxF &bbox, int tsize, int stride=-1) |
|
void | fillVec3BBox (fpreal64 *dest, GT_Offset start, GT_Size length, UT_BoundingBoxD &bbox, int tsize, int stride=-1) |
|
void | fillArray (UT_Array< uint8 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
void | fillArray (UT_Array< int8 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
void | fillArray (UT_Array< int16 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
void | fillArray (UT_Array< int32 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
void | fillArray (UT_Array< int64 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
void | fillArray (UT_Array< fpreal16 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
void | fillArray (UT_Array< fpreal32 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
void | fillArray (UT_Array< fpreal64 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | extendedFill (uint8 *data, GT_Offset start, GT_Size length, int tsize, int nrepeats, int stride=-1) const |
|
virtual void | extendedFill (int8 *data, GT_Offset start, GT_Size length, int tsize, int nrepeats, int stride=-1) const |
|
virtual void | extendedFill (int16 *data, GT_Offset start, GT_Size length, int tsize, int nrepeats, int stride=-1) const |
|
virtual void | extendedFill (int32 *data, GT_Offset start, GT_Size length, int tsize, int nrepeats, int stride=-1) const |
|
virtual void | extendedFill (int64 *data, GT_Offset start, GT_Size length, int tsize, int nrepeats, int stride=-1) const |
|
virtual void | extendedFill (fpreal16 *data, GT_Offset start, GT_Size length, int tsize, int nrepeats, int stride=-1) const |
|
virtual void | extendedFill (fpreal32 *data, GT_Offset start, GT_Size length, int tsize, int nrepeats, int stride=-1) const |
|
virtual void | extendedFill (fpreal64 *data, GT_Offset start, GT_Size length, int tsize, int nrepeats, int stride=-1) const |
|
virtual void | getRange (exint &lo, exint &hi, int tuple_idx=0) const |
|
virtual void | getRange (fpreal &lo, fpreal &hi, int tidx=0) const |
|
SYS_HashType | hash () const |
|
virtual SYS_HashType | hashRange (exint begin, exint end) const |
|
SYS_FORCE_INLINE | UT_IntrusiveRefCounter () noexcept |
| Default constructor: Sets counter to 0. More...
|
|
SYS_FORCE_INLINE | UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept |
| Copy constructor: Sets counter to 0. More...
|
|
UT_IntrusiveRefCounter & | operator= (const UT_IntrusiveRefCounter &) noexcept |
| Assignment operator: Does not modify counter. More...
|
|
SYS_FORCE_INLINE uint32 | use_count () const noexcept |
| Return current counter. More...
|
|
SYS_FORCE_INLINE bool | conditionalAddRef () noexcept |
|
|
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) |
|
virtual bool | computeMinMax (fpreal64 *min, fpreal64 *max) 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 | doImport (GT_Offset idx, uint8 *data, GT_Size size) const |
|
virtual void | doImport (GT_Offset idx, int8 *data, GT_Size size) const |
|
virtual void | doImport (GT_Offset idx, int16 *data, GT_Size size) const |
|
virtual void | doImport (GT_Offset idx, int32 *data, GT_Size size) const |
|
virtual void | doImport (GT_Offset idx, int64 *data, GT_Size size) const |
|
virtual void | doImport (GT_Offset idx, fpreal16 *data, GT_Size size) const |
|
virtual void | doImport (GT_Offset idx, fpreal32 *data, GT_Size size) const |
|
virtual void | doImport (GT_Offset idx, fpreal64 *data, GT_Size size) const |
|
virtual void | doImportArray (GT_Offset idx, UT_ValArray< fpreal16 > &data) const |
|
virtual void | doImportArray (GT_Offset idx, UT_ValArray< fpreal32 > &data) const |
|
virtual void | doImportArray (GT_Offset idx, UT_ValArray< fpreal64 > &data) const |
|
virtual void | doImportArray (GT_Offset idx, UT_ValArray< uint8 > &data) const |
|
virtual void | doImportArray (GT_Offset idx, UT_ValArray< int8 > &data) const |
|
virtual void | doImportArray (GT_Offset idx, UT_ValArray< int16 > &data) const |
|
virtual void | doImportArray (GT_Offset idx, UT_ValArray< int32 > &data) const |
|
virtual void | doImportArray (GT_Offset idx, UT_ValArray< int64 > &data) const |
|
virtual void | doImportQuantized (GT_Offset idx, uint8 *data, GT_Size size, fpreal black, fpreal white) const |
|
virtual void | doFillArray (uint8 *data, GT_Offset start, GT_Size length, int tuple_size, int stride) const |
|
virtual void | doFillArray (int8 *data, GT_Offset start, GT_Size length, int tuple_size, int stride) const |
|
virtual void | doFillArray (int16 *data, GT_Offset start, GT_Size length, int tuple_size, int stride) const |
|
virtual void | doFillArray (int32 *data, GT_Offset start, GT_Size length, int tuple_size, int stride) const |
|
virtual void | doFillArray (int64 *data, GT_Offset start, GT_Size length, int tuple_size, int stride) const |
|
virtual void | doFillArray (fpreal16 *data, GT_Offset start, GT_Size length, int tuple_size, int stride) const |
|
virtual void | doFillArray (fpreal32 *data, GT_Offset start, GT_Size length, int tuple_size, int stride) const |
|
virtual void | doFillArray (fpreal64 *data, GT_Offset start, GT_Size length, int tuple_size, int stride) const |
|
virtual void | doFillArrayAttr (UT_Array< uint8 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | doFillArrayAttr (UT_Array< int8 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | doFillArrayAttr (UT_Array< int16 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | doFillArrayAttr (UT_Array< int32 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | doFillArrayAttr (UT_Array< int64 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | doFillArrayAttr (UT_Array< fpreal16 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | doFillArrayAttr (UT_Array< fpreal32 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | doFillArrayAttr (UT_Array< fpreal64 > &data, UT_Array< int > &sizes, GT_Offset start, GT_Size length) const |
|
virtual void | doFillQuantizedArray (uint8 *data, GT_Offset start, GT_Size length, int tuple_size, int stride, fpreal black, fpreal white) const |
|
virtual void | doExtendedQuantizedFill (uint8 *data, GT_Offset start, GT_Size length, int tuple_size, int nrepeats, int stride, fpreal black, fpreal white) const |
|
virtual void | doFillVec3BBox (fpreal32 *dest, GT_Offset start, GT_Size length, UT_BoundingBoxF &bbox, int, int stride) |
|
virtual void | doFillVec3BBox (fpreal64 *dest, GT_Offset start, GT_Size length, UT_BoundingBoxD &bbox, int, int stride) |
|
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
| Destructor: Only derived classes can destruct this. More...
|
|
template<typename T>
class GT_DAValues< T >
An array of const values.
The data in the array is not owned by the array, but needs to exist while the array is in use.
Definition at line 23 of file GT_DAValues.h.