HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_VoxelArray.h File Reference
#include "UT_API.h"
#include "UT_BoundingBox.h"
#include "UT_Vector2.h"
#include "UT_Vector3.h"
#include "UT_Vector4.h"
#include "UT_IntArray.h"
#include "UT_ValArray.h"
#include "UT_Array.h"
#include "UT_FilterType.h"
#include "UT_COW.h"
#include "UT_ThreadedAlgorithm.h"
#include "UT_Interrupt.h"
#include <VM/VM_SIMD.h>
#include <SYS/SYS_SharedMemory.h>
#include <SYS/SYS_StaticAssert.h>
#include <SYS/SYS_Types.h>
#include <hboost/shared_ptr.hpp>
+ Include dependency graph for UT_VoxelArray.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_VoxelTile< T >
 
class  UT_VoxelArray< T >
 
class  UT_VoxelProbe< T, DoRead, DoWrite, TestForWrite >
 
class  UT_VoxelProbeCube< T >
 
class  UT_VoxelProbeFace< T >
 
class  UT_VoxelCompressOptions
 
class  UT_VoxelTileCompress< T >
 
class  UT_VoxelTile< T >
 
class  UT_VoxelArray< T >
 
class  UT_VoxelMipMap< T >
 
class  UT_VoxelArrayIterator< T >
 
class  UT_VoxelTileIterator< T >
 
class  UT_VoxelProbe< T, DoRead, DoWrite, TestForWrite >
 
class  UT_VoxelVectorProbe< T, DoRead, DoWrite, TestForWrites >
 
class  UT_VoxelProbeCube< T >
 
class  UT_VoxelProbeConstant< T >
 
class  UT_VoxelProbeAverage< T, XStep, YStep, ZStep >
 
class  UT_VoxelProbeFace< T >
 

Macros

#define UT_VOXEL_ALLOC(x)   SYSamalloc((x), 128)
 
#define UT_VOXEL_FREE(x)   SYSafree(x)
 
#define DEFINE_STD_FUNC(TYPE)
 

Typedefs

typedef UT_VoxelArray< fpreal32UT_VoxelArrayF
 
typedef UT_VoxelArray< int64UT_VoxelArrayI
 
typedef UT_VoxelArray< UT_Vector4UT_VoxelArrayV4
 
typedef UT_VoxelMipMap< fpreal32UT_VoxelMipMapF
 
typedef UT_VoxelArrayIterator
< fpreal32
UT_VoxelArrayIteratorF
 
typedef UT_VoxelArrayIterator
< int64
UT_VoxelArrayIteratorI
 
typedef UT_VoxelTileIterator
< fpreal32
UT_VoxelTileIteratorF
 
typedef UT_VoxelTileIterator
< int64
UT_VoxelTileIteratorI
 
typedef UT_VoxelArrayIterator
< UT_Vector4
UT_VoxelArrayIteratorV4
 
typedef UT_VoxelTileIterator
< UT_Vector4
UT_VoxelTileIteratorV4
 
typedef UT_VoxelProbe
< fpreal32, true, false, false > 
UT_VoxelProbeF
 
typedef UT_VoxelVectorProbe
< fpreal32, true, false, false > 
UT_VoxelVectorProbeF
 
typedef UT_VoxelProbe
< UT_Vector4, true, false,
false > 
UT_VoxelProbeV4
 
typedef UT_VoxelProbe
< fpreal32, false, true, false > 
UT_VoxelWOProbeF
 
typedef UT_VoxelVectorProbe
< fpreal32, false, true, false > 
UT_VoxelVectorWOProbeF
 
typedef UT_VoxelProbe
< UT_Vector4, false, true,
false > 
UT_VoxelWOProbeV4
 
typedef UT_VoxelProbe
< fpreal32, true, true, false > 
UT_VoxelRWProbeF
 
typedef UT_VoxelVectorProbe
< fpreal32, true, true, false > 
UT_VoxelVectorRWProbeF
 
typedef UT_VoxelProbe
< UT_Vector4, true, true,
false > 
UT_VoxelRWProbeV4
 
typedef UT_VoxelProbe
< fpreal32, true, true, true > 
UT_VoxelRWTProbeF
 
typedef UT_VoxelVectorProbe
< fpreal32, true, true, true > 
UT_VoxelVectorRWTProbeF
 
typedef UT_VoxelProbe
< UT_Vector4, true, true, true > 
UT_VoxelRWTProbeV4
 
typedef UT_VoxelProbeCube
< fpreal32
UT_VoxelProbeCubeF
 
typedef UT_COWHandle
< UT_VoxelArray< fpreal32 > > 
UT_VoxelArrayHandleF
 
typedef UT_COWReadHandle
< UT_VoxelArray< fpreal32 > > 
UT_VoxelArrayReadHandleF
 
typedef UT_COWWriteHandle
< UT_VoxelArray< fpreal32 > > 
UT_VoxelArrayWriteHandleF
 
typedef UT_COWHandle
< UT_VoxelArray< UT_Vector4 > > 
UT_VoxelArrayHandleV4
 
typedef UT_COWReadHandle
< UT_VoxelArray< UT_Vector4 > > 
UT_VoxelArrayReadHandleV4
 
typedef UT_COWWriteHandle
< UT_VoxelArray< UT_Vector4 > > 
UT_VoxelArrayWriteHandleV4
 

Enumerations

enum  UT_VoxelBorderType { UT_VOXELBORDER_CONSTANT, UT_VOXELBORDER_REPEAT, UT_VOXELBORDER_STREAK, UT_VOXELBORDER_EXTRAP }
 

Functions

UT_API UT_ValArray
< UT_VoxelTileCompress
< fpreal16 > * > & 
UTvoxelTileGetCompressionEngines (fpreal16 *dummy)
 
UT_API UT_ValArray
< UT_VoxelTileCompress
< fpreal32 > * > & 
UTvoxelTileGetCompressionEngines (fpreal32 *dummy)
 
UT_API UT_ValArray
< UT_VoxelTileCompress
< fpreal64 > * > & 
UTvoxelTileGetCompressionEngines (fpreal64 *dummy)
 
UT_API UT_ValArray
< UT_VoxelTileCompress< uint8 > * > & 
UTvoxelTileGetCompressionEngines (uint8 *dummy)
 
UT_API UT_ValArray
< UT_VoxelTileCompress< int8 > * > & 
UTvoxelTileGetCompressionEngines (int8 *dummy)
 
UT_API UT_ValArray
< UT_VoxelTileCompress< int16 > * > & 
UTvoxelTileGetCompressionEngines (int16 *dummy)
 
UT_API UT_ValArray
< UT_VoxelTileCompress< int32 > * > & 
UTvoxelTileGetCompressionEngines (int32 *dummy)
 
UT_API UT_ValArray
< UT_VoxelTileCompress< int64 > * > & 
UTvoxelTileGetCompressionEngines (int64 *dummy)
 
UT_API UT_ValArray
< UT_VoxelTileCompress
< UT_Vector2 > * > & 
UTvoxelTileGetCompressionEngines (UT_Vector2 *dummy)
 
UT_API UT_ValArray
< UT_VoxelTileCompress
< UT_Vector3 > * > & 
UTvoxelTileGetCompressionEngines (UT_Vector3 *dummy)
 
UT_API UT_ValArray
< UT_VoxelTileCompress
< UT_Vector4 > * > & 
UTvoxelTileGetCompressionEngines (UT_Vector4 *dummy)
 
void UTvoxelTileExpandMinMax (UT_Vector2 v, UT_Vector2 &min, UT_Vector2 &max)
 
void UTvoxelTileExpandMinMax (UT_Vector3 v, UT_Vector3 &min, UT_Vector3 &max)
 
void UTvoxelTileExpandMinMax (UT_Vector4 v, UT_Vector4 &min, UT_Vector4 &max)
 
fpreal UTvoxelTileDist (const UT_Vector2 &a, const UT_Vector2 &b)
 
fpreal UTvoxelTileDist (const UT_Vector3 &a, const UT_Vector3 &b)
 
fpreal UTvoxelTileDist (const UT_Vector4 &a, const UT_Vector4 &b)
 

Macro Definition Documentation

#define DEFINE_STD_FUNC (   TYPE)
Value:
inline void \
UTvoxelTileExpandMinMax(TYPE v, TYPE &min, TYPE &max) \
{ \
if (v < min) \
min = v; \
else if (v > max) \
max = v; \
} \
\
inline fpreal \
UTvoxelTileDist(TYPE a, TYPE b) \
{ \
return (fpreal) SYSabs(a - b); \
}
const hboost::disable_if_c< VecTraits< T >::IsVec, T >::type & min(const T &a, const T &b)
Definition: Composite.h:128
const GLdouble * v
Definition: glcorearb.h:836
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:1221
#define SYSabs(a)
Definition: SYS_Math.h:1367
fpreal UTvoxelTileDist(const UT_Vector2 &a, const UT_Vector2 &b)
void UTvoxelTileExpandMinMax(UT_Vector2 v, UT_Vector2 &min, UT_Vector2 &max)
const hboost::disable_if_c< VecTraits< T >::IsVec, T >::type & max(const T &a, const T &b)
Definition: Composite.h:132
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:1221
double fpreal
Definition: SYS_Types.h:263

Definition at line 180 of file UT_VoxelArray.h.

#define UT_VOXEL_ALLOC (   x)    SYSamalloc((x), 128)

Definition at line 53 of file UT_VoxelArray.h.

#define UT_VOXEL_FREE (   x)    SYSafree(x)

Definition at line 54 of file UT_VoxelArray.h.

Typedef Documentation

Definition at line 2257 of file UT_VoxelArray.h.

Definition at line 2258 of file UT_VoxelArray.h.

Definition at line 2259 of file UT_VoxelArray.h.

Definition at line 2261 of file UT_VoxelArray.h.

Definition at line 2286 of file UT_VoxelArray.h.

typedef UT_VoxelProbe<fpreal32, true, false, false> UT_VoxelProbeF

Definition at line 2269 of file UT_VoxelArray.h.

typedef UT_VoxelProbe<UT_Vector4, true, false, false> UT_VoxelProbeV4

Definition at line 2271 of file UT_VoxelArray.h.

typedef UT_VoxelProbe<fpreal32, true, true, false> UT_VoxelRWProbeF

Definition at line 2277 of file UT_VoxelArray.h.

typedef UT_VoxelProbe<UT_Vector4, true, true, false> UT_VoxelRWProbeV4

Definition at line 2279 of file UT_VoxelArray.h.

typedef UT_VoxelProbe<fpreal32, true, true, true> UT_VoxelRWTProbeF

Definition at line 2281 of file UT_VoxelArray.h.

typedef UT_VoxelProbe<UT_Vector4, true, true, true> UT_VoxelRWTProbeV4

Definition at line 2283 of file UT_VoxelArray.h.

typedef UT_VoxelVectorProbe<fpreal32, true, false, false> UT_VoxelVectorProbeF

Definition at line 2270 of file UT_VoxelArray.h.

Definition at line 2278 of file UT_VoxelArray.h.

Definition at line 2282 of file UT_VoxelArray.h.

typedef UT_VoxelVectorProbe<fpreal32, false, true, false> UT_VoxelVectorWOProbeF

Definition at line 2274 of file UT_VoxelArray.h.

typedef UT_VoxelProbe<fpreal32, false, true, false> UT_VoxelWOProbeF

Definition at line 2273 of file UT_VoxelArray.h.

typedef UT_VoxelProbe<UT_Vector4, false, true, false> UT_VoxelWOProbeV4

Definition at line 2275 of file UT_VoxelArray.h.

Enumeration Type Documentation

Behaviour of out of bound reads.

Enumerator
UT_VOXELBORDER_CONSTANT 
UT_VOXELBORDER_REPEAT 
UT_VOXELBORDER_STREAK 
UT_VOXELBORDER_EXTRAP 

Definition at line 69 of file UT_VoxelArray.h.

Function Documentation

fpreal UTvoxelTileDist ( const UT_Vector2 a,
const UT_Vector2 b 
)
inline

Definition at line 247 of file UT_VoxelArray.h.

fpreal UTvoxelTileDist ( const UT_Vector3 a,
const UT_Vector3 b 
)
inline

Definition at line 253 of file UT_VoxelArray.h.

fpreal UTvoxelTileDist ( const UT_Vector4 a,
const UT_Vector4 b 
)
inline

Definition at line 260 of file UT_VoxelArray.h.

void UTvoxelTileExpandMinMax ( UT_Vector2  v,
UT_Vector2 min,
UT_Vector2 max 
)
inline

Definition at line 208 of file UT_VoxelArray.h.

void UTvoxelTileExpandMinMax ( UT_Vector3  v,
UT_Vector3 min,
UT_Vector3 max 
)
inline

Definition at line 218 of file UT_VoxelArray.h.

void UTvoxelTileExpandMinMax ( UT_Vector4  v,
UT_Vector4 min,
UT_Vector4 max 
)
inline

Definition at line 231 of file UT_VoxelArray.h.

UT_API UT_ValArray<UT_VoxelTileCompress<fpreal16> *>& UTvoxelTileGetCompressionEngines ( fpreal16 dummy)
UT_API UT_ValArray<UT_VoxelTileCompress<fpreal32> *>& UTvoxelTileGetCompressionEngines ( fpreal32 dummy)
UT_API UT_ValArray<UT_VoxelTileCompress<fpreal64> *>& UTvoxelTileGetCompressionEngines ( fpreal64 dummy)
UT_API UT_ValArray<UT_VoxelTileCompress<uint8> *>& UTvoxelTileGetCompressionEngines ( uint8 dummy)
UT_API UT_ValArray<UT_VoxelTileCompress<int8> *>& UTvoxelTileGetCompressionEngines ( int8 dummy)
UT_API UT_ValArray<UT_VoxelTileCompress<int16> *>& UTvoxelTileGetCompressionEngines ( int16 dummy)
UT_API UT_ValArray<UT_VoxelTileCompress<int32> *>& UTvoxelTileGetCompressionEngines ( int32 dummy)
UT_API UT_ValArray<UT_VoxelTileCompress<int64> *>& UTvoxelTileGetCompressionEngines ( int64 dummy)
UT_API UT_ValArray<UT_VoxelTileCompress<UT_Vector2> *>& UTvoxelTileGetCompressionEngines ( UT_Vector2 dummy)
UT_API UT_ValArray<UT_VoxelTileCompress<UT_Vector3> *>& UTvoxelTileGetCompressionEngines ( UT_Vector3 dummy)
UT_API UT_ValArray<UT_VoxelTileCompress<UT_Vector4> *>& UTvoxelTileGetCompressionEngines ( UT_Vector4 dummy)