OpenVDB 12.0.0
 
Loading...
Searching...
No Matches
Sampler< 0, true > Struct Reference

#include <openvdb/tools/Interpolation.h>

Inheritance diagram for Sampler< 0, true >:
StaggeredPointSampler

Static Public Member Functions

static const char * name ()
 
static int radius ()
 
static bool mipmap ()
 
static bool consistent ()
 
static bool staggered ()
 
static size_t order ()
 
static bool sample (const TreeT &inTree, const Vec3R &inCoord, typename TreeT::ValueType &result)
 Sample inTree at the floating-point index coordinate inCoord and store the result in result.
 
static TreeT::ValueType sample (const TreeT &inTree, const Vec3R &inCoord)
 Sample inTree at the floating-point index coordinate inCoord.
 

Member Function Documentation

◆ consistent()

static bool consistent ( )
static

◆ mipmap()

static bool mipmap ( )
static

◆ name()

static const char * name ( )
static

◆ order()

static size_t order ( )
static

◆ radius()

static int radius ( )
static

◆ sample() [1/2]

static TreeT::ValueType sample ( const TreeT & inTree,
const Vec3R & inCoord )
static

Sample inTree at the floating-point index coordinate inCoord.

Returns
the reconstructed value

◆ sample() [2/2]

static bool sample ( const TreeT & inTree,
const Vec3R & inCoord,
typename TreeT::ValueType & result )
static

Sample inTree at the floating-point index coordinate inCoord and store the result in result.

Returns
true if the sampled value is active.

◆ staggered()

static bool staggered ( )
static