OpenVDB 10.0.1
|
Template specialization that does not use caching of stencil points. More...
#include <nanovdb/util/SampleFromVoxels.h>
Public Member Functions | |
SampleFromVoxels (const TreeOrAccT &acc) | |
Construction from a Tree or ReadAccessor. | |
template<typename RealT , template< typename... > class Vec3T> | |
ValueT | operator() (Vec3T< RealT > xyz) const |
ValueT | operator() (const CoordT &ijk) const |
template<typename RealT , template< typename... > class Vec3T> | |
bool | zeroCrossing (Vec3T< RealT > xyz) const |
Return true if the tr-linear stencil has a zero crossing at the specified index position. | |
template<typename RealT , template< typename... > class Vec3T> | |
TreeOrAccT::ValueType | operator() (Vec3T< RealT > xyz) const |
const TreeOrAccT & | accessor () const |
void | stencil (const CoordT &ijk, ValueT(&v)[3][3][3]) const |
Extract the stencil of 27 values. | |
template<typename RealT , template< typename... > class Vec3T> | |
TreeOrAccT::ValueType | sample (const Vec3T< RealT > &uvw, const ValueT(&v)[3][3][3]) |
Static Public Member Functions | |
template<typename RealT , template< typename... > class Vec3T> | |
static ValueT | sample (const Vec3T< RealT > &uvw, const ValueT(&v)[3][3][3]) |
static bool | zeroCrossing (const ValueT(&v)[3][3][3]) |
Static Public Attributes | |
static const int | ORDER = 1 |
Protected Attributes | |
const TreeOrAccT & | mAcc |
Template specialization that does not use caching of stencil points.
|
inline |
Construction from a Tree or ReadAccessor.
|
inlineinherited |
|
inline |
|
inline |
TreeOrAccT::ValueType operator() | ( | Vec3T< RealT > | xyz | ) | const |
|
inlinestaticinherited |
|
inherited |
|
inlineinherited |
Extract the stencil of 27 values.
|
inlinestaticinherited |
|
inline |
Return true if the tr-linear stencil has a zero crossing at the specified index position.
|
protectedinherited |
|
staticinherited |