Tri-linear sampler, i.e. first order, interpolator.
More...
#include <nanovdb/util/SampleFromVoxels.h>
Inherited by SampleFromVoxels< TreeOrAccT, 1, false >, and SampleFromVoxels< TreeOrAccT, 1, true >.
|
| using | ValueT = typename TreeOrAccT::ValueType |
| |
| using | CoordT = typename TreeOrAccT::CoordType |
| |
|
| | TrilinearSampler (const TreeOrAccT &acc) |
| | Protected constructor from a Tree or ReadAccessor. More...
|
| |
| const TreeOrAccT & | accessor () const |
| |
| void | stencil (CoordT &ijk, ValueT(&v)[2][2][2]) const |
| | Extract the stencil of 8 values. More...
|
| |
| template<typename RealT , template< typename... > class Vec3T> |
| TreeOrAccT::ValueType | sample (const Vec3T< RealT > &uvw, const ValueT(&v)[2][2][2]) |
| |
| template<typename RealT , template< typename... > class Vec3T> |
| Vec3T< typename TreeOrAccT::ValueType > | gradient (const Vec3T< RealT > &uvw, const ValueT(&v)[2][2][2]) |
| |
|
| template<typename RealT , template< typename... > class Vec3T> |
| static ValueT | sample (const Vec3T< RealT > &uvw, const ValueT(&v)[2][2][2]) |
| |
| template<typename RealT , template< typename... > class Vec3T> |
| static Vec3T< ValueT > | gradient (const Vec3T< RealT > &uvw, const ValueT(&v)[2][2][2]) |
| |
| static bool | zeroCrossing (const ValueT(&v)[2][2][2]) |
| |
|
| static const int | ORDER = 1 |
| |
template<typename TreeOrAccT>
class nanovdb::TrilinearSampler< TreeOrAccT >
Tri-linear sampler, i.e. first order, interpolator.
◆ CoordT
| using CoordT = typename TreeOrAccT::CoordType |
◆ ValueT
| using ValueT = typename TreeOrAccT::ValueType |
◆ TrilinearSampler()
◆ accessor()
| const TreeOrAccT & accessor |
( |
| ) |
const |
|
inline |
◆ gradient() [1/2]
| static Vec3T< ValueT > gradient |
( |
const Vec3T< RealT > & |
uvw, |
|
|
const ValueT(&) |
v[2][2][2] |
|
) |
| |
|
inlinestatic |
◆ gradient() [2/2]
| Vec3T< typename TreeOrAccT::ValueType > gradient |
( |
const Vec3T< RealT > & |
uvw, |
|
|
const ValueT(&) |
v[2][2][2] |
|
) |
| |
◆ sample() [1/2]
| static ValueT sample |
( |
const Vec3T< RealT > & |
uvw, |
|
|
const ValueT(&) |
v[2][2][2] |
|
) |
| |
|
inlinestatic |
◆ sample() [2/2]
| TreeOrAccT::ValueType sample |
( |
const Vec3T< RealT > & |
uvw, |
|
|
const ValueT(&) |
v[2][2][2] |
|
) |
| |
◆ stencil()
Extract the stencil of 8 values.
◆ zeroCrossing()
| bool zeroCrossing |
( |
const ValueT(&) |
v[2][2][2] | ) |
|
|
inlinestatic |
◆ mAcc
◆ ORDER