OpenVDB: SampleFromVoxels< TreeOrAccT, 3, false > Class Template Reference

OpenVDB 9.1.0

Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
SampleFromVoxels< TreeOrAccT, 3, false > Class Template Reference

`#include <nanovdb/util/SampleFromVoxels.h>`

Inheritance diagram for SampleFromVoxels< TreeOrAccT, 3, false >:

## Public Member Functions
| SampleFromVoxels (const TreeOrAccT &acc)
| Construction from a Tree or ReadAccessor. More...
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>
TreeOrAccT::ValueType | operator() (Vec3T< RealT > xyz) const
const TreeOrAccT & | accessor () const
void | stencil (const CoordT &ijk, ValueT(&c)[64]) const
| Extract the stencil of 8 values. More...
template<typename RealT , template< typename... > class Vec3T>
TreeOrAccT::ValueType | sample (const Vec3T< RealT > &xyz, const ValueT(&C)[64])

## Static Public Member Functions
template<typename RealT , template< typename... > class Vec3T>
static ValueT | sample (const Vec3T< RealT > &uvw, const ValueT(&c)[64])

## Protected Attributes
const TreeOrAccT & | mAcc

## Constructor & Destructor Documentation

## ◆ SampleFromVoxels()

SampleFromVoxels | ( | const TreeOrAccT & | acc | ) |
| inline

Construction from a Tree or ReadAccessor.

## Member Function Documentation

## ◆ accessor()

const TreeOrAccT & accessor | ( |  | ) | const
| inlineinherited

## ◆ operator()() [1/3]

ValueT operator() | ( | const CoordT & | ijk | ) | const
| inline

## ◆ operator()() [2/3]

ValueT operator() | ( | Vec3T< RealT > | xyz | ) | const
| inline

Note
  xyz is in index space space

## ◆ operator()() [3/3]

TreeOrAccT::ValueType operator() | ( | Vec3T< RealT > | xyz | ) | const

## ◆ sample() [1/2]

static ValueT sample | ( | const Vec3T< RealT > & | uvw,
|  | const ValueT(&) | c[64]
| ) |  |
| inlinestaticinherited

## ◆ sample() [2/2]

TreeOrAccT::ValueType sample | ( | const Vec3T< RealT > & | xyz,
|  | const ValueT(&) | C[64]
| ) |  |
| inherited

## ◆ stencil()

void stencil | ( | const CoordT & | ijk,
|  | ValueT(&) | c[64]
| ) |  | const
| inlineinherited

Extract the stencil of 8 values.

## Member Data Documentation

## ◆ mAcc

const TreeOrAccT& mAcc
| protectedinherited