#include <openvdb/tools/Interpolation.h>
Inherits BoxSampler.
|
static const char * | name () |
|
static int | radius () |
|
static bool | mipmap () |
|
static bool | consistent () |
|
static bool | staggered () |
|
static size_t | order () |
|
template<class TreeT > |
static bool | sample (const TreeT &inTree, const Vec3R &inCoord, typename TreeT::ValueType &result) |
| Trilinearly reconstruct inTree at inCoord and store the result in result. More...
|
|
template<class TreeT > |
static TreeT::ValueType | sample (const TreeT &inTree, const Vec3R &inCoord) |
| Trilinearly reconstruct inTree at inCoord. More...
|
|
template<class ValueT , class TreeT , size_t N> |
static void | getValues (ValueT(&data)[N][N][N], const TreeT &inTree, Coord ijk) |
| Import all eight values from inTree to support tri-linear interpolation. More...
|
|
template<class ValueT , class TreeT , size_t N> |
static bool | probeValues (ValueT(&data)[N][N][N], const TreeT &inTree, Coord ijk) |
| Import all eight values from inTree to support tri-linear interpolation. More...
|
|
template<class ValueT , size_t N> |
static void | extrema (ValueT(&data)[N][N][N], ValueT &vMin, ValueT &vMax) |
| Find the minimum and maximum values of the eight cell values in @ data. More...
|
|
template<class ValueT , size_t N> |
static ValueT | trilinearInterpolation (ValueT(&data)[N][N][N], const Vec3R &uvw) |
|
static bool consistent |
( |
| ) |
|
|
inlinestaticinherited |
void extrema |
( |
ValueT(&) |
data[N][N][N], |
|
|
ValueT & |
vMin, |
|
|
ValueT & |
vMax |
|
) |
| |
|
inlinestaticinherited |
Find the minimum and maximum values of the eight cell values in @ data.
void getValues |
( |
ValueT(&) |
data[N][N][N], |
|
|
const TreeT & |
inTree, |
|
|
Coord |
ijk |
|
) |
| |
|
inlinestaticinherited |
Import all eight values from inTree to support tri-linear interpolation.
static const char* name |
( |
| ) |
|
|
inlinestaticinherited |
bool probeValues |
( |
ValueT(&) |
data[N][N][N], |
|
|
const TreeT & |
inTree, |
|
|
Coord |
ijk |
|
) |
| |
|
inlinestaticinherited |
Import all eight values from inTree to support tri-linear interpolation.
- Returns
true
if any of the eight values are active
bool sample |
( |
const TreeT & |
inTree, |
|
|
const Vec3R & |
inCoord, |
|
|
typename TreeT::ValueType & |
result |
|
) |
| |
|
inlinestaticinherited |
Trilinearly reconstruct inTree at inCoord and store the result in result.
- Returns
true
if any one of the sampled values is active.
TreeT::ValueType sample |
( |
const TreeT & |
inTree, |
|
|
const Vec3R & |
inCoord |
|
) |
| |
|
inlinestaticinherited |
Trilinearly reconstruct inTree at inCoord.
- Returns
- the reconstructed value
static bool staggered |
( |
| ) |
|
|
inlinestaticinherited |
ValueT trilinearInterpolation |
( |
ValueT(&) |
data[N][N][N], |
|
|
const Vec3R & |
uvw |
|
) |
| |
|
inlinestaticinherited |
- Returns
- the tri-linear interpolation with the unit cell coordinates uvw