11 #ifndef __GA_ArrayDataArray__
12 #define __GA_ArrayDataArray__
31 template <
typename T>
class UT_Array;
34 class ga_PageArrayTable;
55 int64 getMemoryUsage(
bool inclusive)
const;
74 exint findMaximumArrayLength()
const;
87 void setTupleSize(
GA_Size size);
128 #define GETBLOCKFROMINDEX(ITYPE, DTYPE) \
129 bool getBlockFromIndices(const GA_IndexMap &map, \
130 GA_Index start, GA_Size nelem, \
131 UT_Array<ITYPE> &index, \
132 UT_Array<DTYPE> &data) const;
145 #undef GETBLOCKFROMINDEX
196 return myStorage == b.myStorage && mySize == b.mySize
207 void tryCompressSinglePage(
GA_Offset pageoffset);
220 void remapAndCount(
GA_Offset start_offset,
228 ga_PageArrayTable *myPageTable;
A class to manage an ordered array which has fixed offset handles.
Definition of a geometry attribute.
GLboolean GLboolean GLboolean GLboolean a
GLint GLsizei const GLuint64 * values
bool isSameType(const GA_ArrayDataArray &b) const
The merge map keeps track of information when merging details.
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
exint GA_Size
Defines the bit width for index and offset types in GA.
An array of array of numbers with various storage types.
#define GA_INVALID_OFFSET
A range of elements in an index-map.
GA_Size getTupleSize() const
Queries the size of each tuple stored in the arrays.
GLubyte GLubyte GLubyte GLubyte w
Keeps track of offset mapping when merging index lists.
Defragmentation of IndexMaps.
GA_Offset getArraySize() const
Query the size of the array.
GLdouble GLdouble GLdouble b
OIIO_API bool copy(string_view from, string_view to, std::string &err)
GLuint GLuint GLsizei count
#define GETBLOCKFROMINDEX(ITYPE, DTYPE)
getOption("OpenEXR.storage") storage