HDK
|
Nearest neighbor, i.e. zero order, interpolator without 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 without caching.
Definition at line 112 of file SampleFromVoxels.h.
using nanovdb::SampleFromVoxels< TreeOrAccT, 0, false >::CoordT = typename TreeOrAccT::CoordType |
Definition at line 116 of file SampleFromVoxels.h.
using nanovdb::SampleFromVoxels< TreeOrAccT, 0, false >::ValueT = typename TreeOrAccT::ValueType |
Definition at line 115 of file SampleFromVoxels.h.
|
inline |
Construction from a Tree or ReadAccessor.
Definition at line 120 of file SampleFromVoxels.h.
|
inline |
Definition at line 125 of file SampleFromVoxels.h.
|
inline |
|
inline |
Definition at line 131 of file SampleFromVoxels.h.
__hostdev__ TreeOrAccT::ValueType nanovdb::SampleFromVoxels< TreeOrAccT, 0, false >::operator() | ( | const Vec3T & | xyz | ) | const |
Definition at line 161 of file SampleFromVoxels.h.
|
static |
Definition at line 117 of file SampleFromVoxels.h.