HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_DANumeric.h File Reference
#include "GT_API.h"
#include "GT_DataArray.h"
#include "GT_Memory.h"
#include <UT/UT_Assert.h>
#include <UT/UT_ArrayHelp.h>
#include <string.h>
+ Include dependency graph for GT_DANumeric.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GT_DANumeric< T >
 An array of numeric values (int32, int64, fpreal16, fpreal32, fpreal64) More...
 
class  GT_DANumeric< T >::num_MinMaxTask
 
class  GT_DAPointMaterialID
 

Typedefs

using GT_Unsigned8Array = GT_DANumeric< uint8 >
 
using GT_UInt8Array = GT_Unsigned8Array
 
using GT_Int8Array = GT_DANumeric< int8 >
 
using GT_Int16Array = GT_DANumeric< int16 >
 
using GT_Int32Array = GT_DANumeric< int32 >
 
using GT_Int64Array = GT_DANumeric< int64 >
 
using GT_Real16Array = GT_DANumeric< fpreal16 >
 
using GT_Real32Array = GT_DANumeric< fpreal32 >
 
using GT_Real64Array = GT_DANumeric< fpreal64 >
 
using GT_RealArray = GT_DANumeric< fpreal >
 

Functions

 GT_EXTERN_TEMPLATE (GT_DANumeric< int8 >)
 
 GT_EXTERN_TEMPLATE (GT_DANumeric< uint8 >)
 
 GT_EXTERN_TEMPLATE (GT_DANumeric< int16 >)
 
 GT_EXTERN_TEMPLATE (GT_DANumeric< int32 >)
 
 GT_EXTERN_TEMPLATE (GT_DANumeric< int64 >)
 
 GT_EXTERN_TEMPLATE (GT_DANumeric< fpreal16 >)
 
 GT_EXTERN_TEMPLATE (GT_DANumeric< fpreal32 >)
 
 GT_EXTERN_TEMPLATE (GT_DANumeric< fpreal64 >)
 
GT_API GT_DataArrayGTallocateIntArray (const int64 *array, GT_Size size, int tuple_size=1)
 
GT_API GT_DataArrayGTallocateIntArray (const int32 *array, GT_Size size, int tuple_size=1)
 

Typedef Documentation

Definition at line 518 of file GT_DANumeric.h.

Definition at line 519 of file GT_DANumeric.h.

Definition at line 520 of file GT_DANumeric.h.

Definition at line 517 of file GT_DANumeric.h.

Examples:
RAY/RAY_DemoGT.C.

Definition at line 522 of file GT_DANumeric.h.

Definition at line 523 of file GT_DANumeric.h.

Definition at line 524 of file GT_DANumeric.h.

Definition at line 516 of file GT_DANumeric.h.

Definition at line 515 of file GT_DANumeric.h.

Function Documentation

GT_EXTERN_TEMPLATE ( GT_DANumeric< int8 )
GT_EXTERN_TEMPLATE ( GT_DANumeric< uint8 )
GT_EXTERN_TEMPLATE ( GT_DANumeric< int16 )
GT_EXTERN_TEMPLATE ( GT_DANumeric< int32 )
GT_EXTERN_TEMPLATE ( GT_DANumeric< int64 )
GT_EXTERN_TEMPLATE ( GT_DANumeric< fpreal16 )
GT_EXTERN_TEMPLATE ( GT_DANumeric< fpreal32 )
GT_EXTERN_TEMPLATE ( GT_DANumeric< fpreal64 )
GT_API GT_DataArray* GTallocateIntArray ( const int64 array,
GT_Size  size,
int  tuple_size = 1 
)

Return either an int64 or int32 array based on the contents of the array. That is, only allocate a 64 bit integer array if it's needed. For tuple sizes > 1, this function assumes that the array is an array of structs, rather than a struct of arrays.

GT_API GT_DataArray* GTallocateIntArray ( const int32 array,
GT_Size  size,
int  tuple_size = 1 
)