HDK
|
Template specialization with caching of stencil values. More...
#include <SampleFromVoxels.h>
Public Member Functions | |
__hostdev__ | SampleFromVoxels (const TreeOrAccT &acc) |
Construction from a Tree or ReadAccessor. More... | |
template<typename RealT , template< typename...> class Vec3T> | |
__hostdev__ ValueT | operator() (Vec3T< RealT > xyz) const |
__hostdev__ ValueT | operator() (const CoordT &ijk) const |
template<typename RealT , template< typename...> class Vec3T> | |
__hostdev__ bool | zeroCrossing (Vec3T< RealT > xyz) const |
Return true if the tr-linear stencil has a zero crossing at the specified index position. More... | |
__hostdev__ bool | zeroCrossing () const |
Return true if the cached tri-linear stencil has a zero crossing. More... | |
template<typename RealT , template< typename...> class Vec3T> | |
__hostdev__ TreeOrAccT::ValueType | operator() (Vec3T< RealT > xyz) const |
![]() | |
__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]) |
Additional Inherited Members | |
![]() | |
using | ValueT = typename TreeOrAccT::ValueType |
using | CoordT = typename TreeOrAccT::CoordType |
![]() | |
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 const int | ORDER = 1 |
![]() | |
const TreeOrAccT & | mAcc |
Template specialization with caching of stencil values.
Definition at line 590 of file SampleFromVoxels.h.
|
inline |
Construction from a Tree or ReadAccessor.
Definition at line 604 of file SampleFromVoxels.h.
|
inline |
|
inline |
Definition at line 634 of file SampleFromVoxels.h.
__hostdev__ TreeOrAccT::ValueType nanovdb::SampleFromVoxels< TreeOrAccT, 2, true >::operator() | ( | Vec3T< RealT > | xyz | ) | const |
Definition at line 627 of file SampleFromVoxels.h.
|
inline |
Return true if the tr-linear stencil has a zero crossing at the specified index position.
Definition at line 641 of file SampleFromVoxels.h.
|
inline |
Return true if the cached tri-linear stencil has a zero crossing.
Definition at line 621 of file SampleFromVoxels.h.