#include <openvdb/tools/Interpolation.h>
|
static const char * | name () |
|
static int | radius () |
|
static bool | mipmap () |
|
static bool | consistent () |
|
static bool | staggered () |
|
static size_t | order () |
|
static bool | sample (const TreeT &inTree, const Vec3R &inCoord, typename TreeT::ValueType &result) |
| Sample inTree at the floating-point index coordinate inCoord and store the result in result.
|
|
static TreeT::ValueType | sample (const TreeT &inTree, const Vec3R &inCoord) |
| Sample inTree at the floating-point index coordinate inCoord.
|
|
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.
|
|
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.
|
|
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.
|
|
template<class ValueT, size_t N> |
static ValueT | trilinearInterpolation (ValueT(&data)[N][N][N], const Vec3R &uvw) |
|
◆ consistent()
static bool consistent |
( |
| ) |
|
|
static |
◆ extrema()
template<class ValueT, size_t N>
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.
◆ getValues()
template<class ValueT, class TreeT, size_t N>
void getValues |
( |
ValueT(&) | data[N][N][N], |
|
|
const TreeT & | inTree, |
|
|
Coord | ijk ) |
|
inlinestaticinherited |
Import all eight values from inTree to support tri-linear interpolation.
◆ mipmap()
◆ name()
static const char * name |
( |
| ) |
|
|
static |
◆ order()
◆ probeValues()
template<class ValueT, class TreeT, size_t N>
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
◆ radius()
◆ sample() [1/2]
static TreeT::ValueType sample |
( |
const TreeT & | inTree, |
|
|
const Vec3R & | inCoord ) |
|
static |
Sample inTree at the floating-point index coordinate inCoord.
- Returns
- the reconstructed value
◆ sample() [2/2]
static bool sample |
( |
const TreeT & | inTree, |
|
|
const Vec3R & | inCoord, |
|
|
typename TreeT::ValueType & | result ) |
|
static |
Sample inTree at the floating-point index coordinate inCoord and store the result in result.
- Returns
true
if the sampled value is active.
◆ staggered()
static bool staggered |
( |
| ) |
|
|
static |
◆ trilinearInterpolation()
template<class ValueT, size_t N>
ValueT trilinearInterpolation |
( |
ValueT(&) | data[N][N][N], |
|
|
const Vec3R & | uvw ) |
|
inlinestaticinherited |
- Returns
- the tri-linear interpolation with the unit cell coordinates uvw