HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_VoxelCompressOptions Class Reference

#include <UT_VoxelArray.h>

Public Types

enum  DitherType { DITHER_NONE, DITHER_ORDERED }
 

Public Member Functions

 UT_VoxelCompressOptions ()
 
bool compressionEnabled () const
 

Public Attributes

fpreal myConstantTol
 
fpreal myQuantizeTol
 Tolerance for quantizing to reduced bit depth. More...
 
DitherType myDitherType
 
bool myAllowFP16
 Conversion to fpreal16, only valid for scalar data. More...
 

Detailed Description

Examples:
field3d/f3d_io.C.

Definition at line 91 of file UT_VoxelArray.h.

Member Enumeration Documentation

Enumerator
DITHER_NONE 
DITHER_ORDERED 

Definition at line 102 of file UT_VoxelArray.h.

Constructor & Destructor Documentation

UT_VoxelCompressOptions::UT_VoxelCompressOptions ( )
inline

Definition at line 94 of file UT_VoxelArray.h.

Member Function Documentation

bool UT_VoxelCompressOptions::compressionEnabled ( ) const
inline

Determines if compressTile should be run on this grid for things other than constant compression. Used by writeTiles to limit compression attempts.

Definition at line 111 of file UT_VoxelArray.h.

Member Data Documentation

bool UT_VoxelCompressOptions::myAllowFP16

Conversion to fpreal16, only valid for scalar data.

Examples:
field3d/f3d_io.C.

Definition at line 126 of file UT_VoxelArray.h.

fpreal UT_VoxelCompressOptions::myConstantTol

Tiles will be constant if within this range. This may need to be tighter than quantization tolerance as dithering can't recover partial values.

Definition at line 119 of file UT_VoxelArray.h.

DitherType UT_VoxelCompressOptions::myDitherType

Definition at line 123 of file UT_VoxelArray.h.

fpreal UT_VoxelCompressOptions::myQuantizeTol

Tolerance for quantizing to reduced bit depth.

Definition at line 121 of file UT_VoxelArray.h.


The documentation for this class was generated from the following file: