OpenVDB
11.0.0
|
Tri-cubic sampler, i.e. third order, interpolator. More...
#include <nanovdb/util/SampleFromVoxels.h>
Inherited by SampleFromVoxels< TreeOrAccT, 3, false >, and SampleFromVoxels< TreeOrAccT, 3, true >.
Public Member Functions | |
TricubicSampler (const TreeOrAccT &acc) | |
Construction from a Tree or ReadAccessor. More... | |
const TreeOrAccT & | accessor () const |
void | stencil (const CoordT &ijk, ValueT(&c)[64]) const |
Extract the stencil of 8 values. More... | |
template<typename RealT , template< typename... > class Vec3T> | |
TreeOrAccT::ValueType | sample (const Vec3T< RealT > &xyz, const ValueT(&C)[64]) |
Static Public Member Functions | |
template<typename RealT , template< typename... > class Vec3T> | |
static ValueT | sample (const Vec3T< RealT > &uvw, const ValueT(&c)[64]) |
Protected Types | |
using | ValueT = typename TreeOrAccT::ValueType |
using | CoordT = typename TreeOrAccT::CoordType |
Protected Attributes | |
const TreeOrAccT & | mAcc |
Tri-cubic sampler, i.e. third order, interpolator.
See the following paper for implementation details: Lekien, F. and Marsden, J.: Tricubic interpolation in three dimensions. In: International Journal for Numerical Methods in Engineering (2005), No. 63, p. 455-471
|
protected |
|
protected |
|
inline |
Construction from a Tree or ReadAccessor.
|
inline |
TreeOrAccT::ValueType sample | ( | const Vec3T< RealT > & | xyz, |
const ValueT(&) | C[64] | ||
) |
|
protected |