OpenVDB  9.0.1
Static Public Member Functions | List of all members
Sampler< 0, false > Struct Template Reference

#include <openvdb/tools/Interpolation.h>

Inherits PointSampler.

Static Public Member Functions

static const char * name ()
 
static int radius ()
 
static bool mipmap ()
 
static bool consistent ()
 
static bool staggered ()
 
static size_t order ()
 
template<class TreeT >
static bool sample (const TreeT &inTree, const Vec3R &inCoord, typename TreeT::ValueType &result)
 Sample inTree at the nearest neighbor to inCoord and store the result in result. More...
 
template<class TreeT >
static TreeT::ValueType sample (const TreeT &inTree, const Vec3R &inCoord)
 Sample inTree at the nearest neighbor to inCoord. More...
 

Member Function Documentation

static bool consistent ( )
inlinestaticinherited
static bool mipmap ( )
inlinestaticinherited
static const char* name ( )
inlinestaticinherited
static size_t order ( )
inlinestaticinherited
static int radius ( )
inlinestaticinherited
bool sample ( const TreeT &  inTree,
const Vec3R inCoord,
typename TreeT::ValueType &  result 
)
inlinestaticinherited

Sample inTree at the nearest neighbor to inCoord and store the result in result.

Returns
true if the sampled value is active.
TreeT::ValueType sample ( const TreeT &  inTree,
const Vec3R inCoord 
)
inlinestaticinherited

Sample inTree at the nearest neighbor to inCoord.

Returns
the reconstructed value
static bool staggered ( )
inlinestaticinherited