OpenVDB  9.0.1
Public Member Functions | List of all members
DitherLUT Class Reference

#include <nanovdb/util/DitherLUT.h>

Public Member Functions

 DitherLUT (bool enable=true)
 Constructor with an optional scaling factor for the dithering. More...
 
float operator() (const int offset)
 Retrieves dither threshold for an offset within an 8^3 leaf nodes. More...
 

Constructor & Destructor Documentation

DitherLUT ( bool  enable = true)
inline

Constructor with an optional scaling factor for the dithering.

Member Function Documentation

float operator() ( const int  offset)
inline

Retrieves dither threshold for an offset within an 8^3 leaf nodes.

Parameters
offsetinto the lookup table of size 512