|
HDK
|
Template specialization with caching of stencil values. More...
#include <SampleFromVoxels.h>
Inheritance diagram for nanovdb::SampleFromVoxels< TreeOrAccT, 1, true >: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__ Vec3T< ValueT > | gradient (Vec3T< RealT > xyz) const |
| Return the gradient in index space. More... | |
| 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 |
| template<typename RealT , template< typename...> class Vec3T> | |
| __hostdev__ Vec3T< typename TreeOrAccT::ValueType > | gradient (Vec3T< RealT > xyz) const |
Public Member Functions inherited from nanovdb::TrilinearSampler< TreeOrAccT > | |
| __hostdev__ | TrilinearSampler (const TreeOrAccT &acc) |
| Protected constructor from a Tree or ReadAccessor. More... | |
| __hostdev__ const TreeOrAccT & | accessor () const |
| __hostdev__ void | stencil (CoordT &ijk, ValueT(&v)[2][2][2]) const |
| Extract the stencil of 8 values. More... | |
| template<typename RealT , template< typename...> class Vec3T> | |
| __hostdev__ TreeOrAccT::ValueType | sample (const Vec3T< RealT > &uvw, const ValueT(&v)[2][2][2]) |
| template<typename RealT , template< typename...> class Vec3T> | |
| __hostdev__ Vec3T< typename TreeOrAccT::ValueType > | gradient (const Vec3T< RealT > &uvw, const ValueT(&v)[2][2][2]) |
Additional Inherited Members | |
Public Types inherited from nanovdb::TrilinearSampler< TreeOrAccT > | |
| using | ValueT = typename TreeOrAccT::ValueType |
| using | CoordT = typename TreeOrAccT::CoordType |
Static Public Member Functions inherited from nanovdb::TrilinearSampler< TreeOrAccT > | |
| template<typename RealT , template< typename...> class Vec3T> | |
| static __hostdev__ ValueT | sample (const Vec3T< RealT > &uvw, const ValueT(&v)[2][2][2]) |
| template<typename RealT , template< typename...> class Vec3T> | |
| static __hostdev__ Vec3T< ValueT > | gradient (const Vec3T< RealT > &uvw, const ValueT(&v)[2][2][2]) |
| static __hostdev__ bool | zeroCrossing (const ValueT(&v)[2][2][2]) |
Static Public Attributes inherited from nanovdb::TrilinearSampler< TreeOrAccT > | |
| static const int | ORDER = 1 |
Protected Attributes inherited from nanovdb::TrilinearSampler< TreeOrAccT > | |
| const TreeOrAccT & | mAcc |
Template specialization with caching of stencil values.
Definition at line 322 of file SampleFromVoxels.h.
|
inline |
Construction from a Tree or ReadAccessor.
Definition at line 336 of file SampleFromVoxels.h.
|
inline |
Return the gradient in index space.
| __hostdev__ Vec3T<typename TreeOrAccT::ValueType> nanovdb::SampleFromVoxels< TreeOrAccT, 1, true >::gradient | ( | Vec3T< RealT > | xyz | ) | const |
Definition at line 380 of file SampleFromVoxels.h.
|
inline |
| __hostdev__ TreeOrAccT::ValueType nanovdb::SampleFromVoxels< TreeOrAccT, 1, true >::operator() | ( | const CoordT & | ijk | ) | const |
Definition at line 373 of file SampleFromVoxels.h.
| __hostdev__ TreeOrAccT::ValueType nanovdb::SampleFromVoxels< TreeOrAccT, 1, true >::operator() | ( | Vec3T< RealT > | xyz | ) | const |
Definition at line 366 of file SampleFromVoxels.h.
|
inline |
Return true if the tr-linear stencil has a zero crossing at the specified index position.
Definition at line 388 of file SampleFromVoxels.h.
|
inline |
Return true if the cached tri-linear stencil has a zero crossing.
Definition at line 360 of file SampleFromVoxels.h.