|
OpenVDB 11.0.0
|
Compression oracle based on absolute difference. More...
#include <nanovdb/util/CreateNanoGrid.h>
Public Member Functions | |
| AbsDiff (float tolerance=-1.0f) | |
| AbsDiff (const AbsDiff &)=default | |
| ~AbsDiff ()=default | |
| operator bool () const | |
| void | init (nanovdb::GridClass gClass, float background) |
| void | setTolerance (float tolerance) |
| float | getTolerance () const |
| bool | operator() (float exact, float approx) const |
| Return true if the approximate value is within the accepted absolute error bounds of the exact value. | |
Compression oracle based on absolute difference.
|
inline |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
Return true if the approximate value is within the accepted absolute error bounds of the exact value.
Required member method
|
inline |