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 87 of file UT_VoxelArray.h.

Member Enumeration Documentation

Enumerator
DITHER_NONE 
DITHER_ORDERED 

Definition at line 98 of file UT_VoxelArray.h.

Constructor & Destructor Documentation

UT_VoxelCompressOptions::UT_VoxelCompressOptions ( )
inline

Definition at line 90 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 107 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 122 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 115 of file UT_VoxelArray.h.

DitherType UT_VoxelCompressOptions::myDitherType

Definition at line 119 of file UT_VoxelArray.h.

fpreal UT_VoxelCompressOptions::myQuantizeTol

Tolerance for quantizing to reduced bit depth.

Definition at line 117 of file UT_VoxelArray.h.


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