|
HDK
|
Tri-linear sampler, i.e. first order, interpolator. More...
#include <SampleFromVoxels.h>
Inheritance diagram for nanovdb::TrilinearSampler< TreeOrAccT >:Public Types | |
| using | ValueT = typename TreeOrAccT::ValueType |
| using | CoordT = typename TreeOrAccT::CoordType |
Public Member Functions | |
| __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]) |
Static Public Member Functions | |
| 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 | |
| static const int | ORDER = 1 |
Protected Attributes | |
| const TreeOrAccT & | mAcc |
Tri-linear sampler, i.e. first order, interpolator.
Definition at line 170 of file SampleFromVoxels.h.
| using nanovdb::TrilinearSampler< TreeOrAccT >::CoordT = typename TreeOrAccT::CoordType |
Definition at line 177 of file SampleFromVoxels.h.
| using nanovdb::TrilinearSampler< TreeOrAccT >::ValueT = typename TreeOrAccT::ValueType |
Definition at line 176 of file SampleFromVoxels.h.
|
inline |
Protected constructor from a Tree or ReadAccessor.
Definition at line 181 of file SampleFromVoxels.h.
|
inline |
Definition at line 183 of file SampleFromVoxels.h.
|
inlinestatic |
| __hostdev__ Vec3T<typename TreeOrAccT::ValueType> nanovdb::TrilinearSampler< TreeOrAccT >::gradient | ( | const Vec3T< RealT > & | uvw, |
| const ValueT(&) | v[2][2][2] | ||
| ) |
Definition at line 242 of file SampleFromVoxels.h.
|
inlinestatic |
| __hostdev__ TreeOrAccT::ValueType nanovdb::TrilinearSampler< TreeOrAccT >::sample | ( | const Vec3T< RealT > & | uvw, |
| const ValueT(&) | v[2][2][2] | ||
| ) |
Definition at line 227 of file SampleFromVoxels.h.
|
inline |
Extract the stencil of 8 values.
Definition at line 198 of file SampleFromVoxels.h.
|
inlinestatic |
Definition at line 273 of file SampleFromVoxels.h.
|
protected |
Definition at line 173 of file SampleFromVoxels.h.
|
static |
Definition at line 178 of file SampleFromVoxels.h.