|
HDK
|
Tri-quadratic sampler, i.e. second order, interpolator. More...
#include <SampleFromVoxels.h>
Inheritance diagram for nanovdb::TriquadraticSampler< TreeOrAccT >:Public Types | |
| using | ValueT = typename TreeOrAccT::ValueType |
| using | CoordT = typename TreeOrAccT::CoordType |
Public Member Functions | |
| __hostdev__ | TriquadraticSampler (const TreeOrAccT &acc) |
| Protected constructor from a Tree or ReadAccessor. More... | |
| __hostdev__ const TreeOrAccT & | accessor () const |
| __hostdev__ void | stencil (const CoordT &ijk, ValueT(&v)[3][3][3]) const |
| Extract the stencil of 27 values. More... | |
| template<typename RealT , template< typename...> class Vec3T> | |
| __hostdev__ TreeOrAccT::ValueType | sample (const Vec3T< RealT > &uvw, const ValueT(&v)[3][3][3]) |
Static Public Member Functions | |
| template<typename RealT , template< typename...> class Vec3T> | |
| static __hostdev__ ValueT | sample (const Vec3T< RealT > &uvw, const ValueT(&v)[3][3][3]) |
| static __hostdev__ bool | zeroCrossing (const ValueT(&v)[3][3][3]) |
Static Public Attributes | |
| static const int | ORDER = 1 |
Protected Attributes | |
| const TreeOrAccT & | mAcc |
Tri-quadratic sampler, i.e. second order, interpolator.
Definition at line 488 of file SampleFromVoxels.h.
| using nanovdb::TriquadraticSampler< TreeOrAccT >::CoordT = typename TreeOrAccT::CoordType |
Definition at line 495 of file SampleFromVoxels.h.
| using nanovdb::TriquadraticSampler< TreeOrAccT >::ValueT = typename TreeOrAccT::ValueType |
Definition at line 494 of file SampleFromVoxels.h.
|
inline |
Protected constructor from a Tree or ReadAccessor.
Definition at line 499 of file SampleFromVoxels.h.
|
inline |
Definition at line 501 of file SampleFromVoxels.h.
|
inlinestatic |
| __hostdev__ TreeOrAccT::ValueType nanovdb::TriquadraticSampler< TreeOrAccT >::sample | ( | const Vec3T< RealT > & | uvw, |
| const ValueT(&) | v[3][3][3] | ||
| ) |
Definition at line 529 of file SampleFromVoxels.h.
|
inline |
Extract the stencil of 27 values.
Definition at line 513 of file SampleFromVoxels.h.
|
inlinestatic |
Definition at line 548 of file SampleFromVoxels.h.
|
protected |
Definition at line 491 of file SampleFromVoxels.h.
|
static |
Definition at line 496 of file SampleFromVoxels.h.