HDK
|
Tri-cubic sampler, i.e. third order, interpolator. More...
#include <SampleFromVoxels.h>
Public Member Functions | |
__hostdev__ | TricubicSampler (const TreeOrAccT &acc) |
Construction from a Tree or ReadAccessor. More... | |
__hostdev__ const TreeOrAccT & | accessor () const |
__hostdev__ void | stencil (const CoordT &ijk, ValueT(&c)[64]) const |
Extract the stencil of 8 values. More... | |
template<typename RealT , template< typename...> class Vec3T> | |
__hostdev__ TreeOrAccT::ValueType | sample (const Vec3T< RealT > &xyz, const ValueT(&C)[64]) |
Static Public Member Functions | |
template<typename RealT , template< typename...> class Vec3T> | |
static __hostdev__ 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
Definition at line 688 of file SampleFromVoxels.h.
|
protected |
Definition at line 692 of file SampleFromVoxels.h.
|
protected |
Definition at line 691 of file SampleFromVoxels.h.
|
inline |
Construction from a Tree or ReadAccessor.
Definition at line 698 of file SampleFromVoxels.h.
|
inline |
Definition at line 703 of file SampleFromVoxels.h.
|
inlinestatic |
__hostdev__ TreeOrAccT::ValueType nanovdb::TricubicSampler< TreeOrAccT >::sample | ( | const Vec3T< RealT > & | xyz, |
const ValueT(&) | C[64] | ||
) |
Definition at line 883 of file SampleFromVoxels.h.
|
inline |
Extract the stencil of 8 values.
Definition at line 713 of file SampleFromVoxels.h.
|
protected |
Definition at line 694 of file SampleFromVoxels.h.