Tri-quadratic sampler, i.e. second order, interpolator.
More...
#include <nanovdb/util/SampleFromVoxels.h>
Inherited by SampleFromVoxels< TreeOrAccT, 2, false >, and SampleFromVoxels< TreeOrAccT, 2, true >.
|
using | ValueT = typename TreeOrAccT::ValueType |
|
using | CoordT = typename TreeOrAccT::CoordType |
|
|
template<typename RealT , template< typename... > class Vec3T> |
static ValueT | sample (const Vec3T< RealT > &uvw, const ValueT(&v)[3][3][3]) |
|
static bool | zeroCrossing (const ValueT(&v)[3][3][3]) |
|
|
static const int | ORDER = 1 |
|
template<typename TreeOrAccT>
class nanovdb::TriquadraticSampler< TreeOrAccT >
Tri-quadratic sampler, i.e. second order, interpolator.
using CoordT = typename TreeOrAccT::CoordType |
using ValueT = typename TreeOrAccT::ValueType |
const TreeOrAccT& accessor |
( |
| ) |
const |
|
inline |
static ValueT sample |
( |
const Vec3T< RealT > & |
uvw, |
|
|
const ValueT(&) |
v[3][3][3] |
|
) |
| |
|
inlinestatic |
TreeOrAccT::ValueType sample |
( |
const Vec3T< RealT > & |
uvw, |
|
|
const ValueT(&) |
v[3][3][3] |
|
) |
| |
void stencil |
( |
const CoordT & |
ijk, |
|
|
ValueT(&) |
v[3][3][3] |
|
) |
| const |
|
inline |
Extract the stencil of 27 values.
bool zeroCrossing |
( |
const ValueT(&) |
v[3][3][3] | ) |
|
|
inlinestatic |