HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_AIFNumericArray.h File Reference
#include "GA_API.h"
#include "GA_Types.h"
#include <SYS/SYS_Types.h>
#include <UT/UT_PackedArrayOfArrays.h>
#include <UT/UT_Span.h>
+ Include dependency graph for GA_AIFNumericArray.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GA_AIFNumericArray
 Generic Attribute Interface class to access an attribute as a array. More...
 

Macros

#define GETBLOCKFROMINDEX(ITYPE, DTYPE)
 
#define GETBLOCKFROMINDEX(DTYPE)
 

Macro Definition Documentation

#define GETBLOCKFROMINDEX (   ITYPE,
  DTYPE 
)
Value:
virtual bool getBlockFromIndices(const GA_Attribute *attrib, \
UT_Array<DTYPE> &data) const = 0;
Definition of a geometry attribute.
Definition: GA_Attribute.h:198
GLuint start
Definition: glcorearb.h:475
exint GA_Size
Defines the bit width for index and offset types in GA.
Definition: GA_Types.h:236
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
Definition: GA_Types.h:640
GLuint index
Definition: glcorearb.h:786
Definition: format.h:895

Stream in a block representation of the array. The index array will have nelements+1. Each array will go from [index[i] .. index[i+1]) in the data array.

Stream in a packed array representation of the array.

Definition at line 126 of file GA_AIFNumericArray.h.

#define GETBLOCKFROMINDEX (   DTYPE)
Value:
bool getPackedArrayFromIndices(const GA_Attribute *attrib, \
{ return getBlockFromIndices(attrib, start, nelem, array.rawOffsets(), array.rawData()); }
Definition of a geometry attribute.
Definition: GA_Attribute.h:198
GLuint start
Definition: glcorearb.h:475
exint GA_Size
Defines the bit width for index and offset types in GA.
Definition: GA_Types.h:236
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
Definition: GA_Types.h:640

Stream in a block representation of the array. The index array will have nelements+1. Each array will go from [index[i] .. index[i+1]) in the data array.

Stream in a packed array representation of the array.

Definition at line 126 of file GA_AIFNumericArray.h.