HDK
|
Nearest neighbor, i.e. zero order, interpolator with caching. More...
#include <SampleFromVoxels.h>
Public Types | |
using | ValueT = typename TreeOrAccT::ValueType |
using | CoordT = typename TreeOrAccT::CoordType |
Public Member Functions | |
__hostdev__ | SampleFromVoxels (const TreeOrAccT &acc) |
Construction from a Tree or ReadAccessor. More... | |
__hostdev__ const TreeOrAccT & | accessor () const |
template<typename Vec3T > | |
__hostdev__ ValueT | operator() (const Vec3T &xyz) const |
__hostdev__ ValueT | operator() (const CoordT &ijk) const |
template<typename Vec3T > | |
__hostdev__ TreeOrAccT::ValueType | operator() (const Vec3T &xyz) const |
Static Public Attributes | |
static const int | ORDER = 0 |
Nearest neighbor, i.e. zero order, interpolator with caching.
Definition at line 82 of file SampleFromVoxels.h.
using nanovdb::SampleFromVoxels< TreeOrAccT, 0, true >::CoordT = typename TreeOrAccT::CoordType |
Definition at line 86 of file SampleFromVoxels.h.
using nanovdb::SampleFromVoxels< TreeOrAccT, 0, true >::ValueT = typename TreeOrAccT::ValueType |
Definition at line 85 of file SampleFromVoxels.h.
|
inline |
Construction from a Tree or ReadAccessor.
Definition at line 90 of file SampleFromVoxels.h.
|
inline |
Definition at line 96 of file SampleFromVoxels.h.
|
inline |
|
inline |
Definition at line 150 of file SampleFromVoxels.h.
__hostdev__ TreeOrAccT::ValueType nanovdb::SampleFromVoxels< TreeOrAccT, 0, true >::operator() | ( | const Vec3T & | xyz | ) | const |
Definition at line 139 of file SampleFromVoxels.h.
|
static |
Definition at line 88 of file SampleFromVoxels.h.