OpenVDB  0.104.0
Public Member Functions | Static Public Member Functions | List of all members
PointSampler Struct Reference

#include <Interpolation.h>

Inherited by TileSampler< PointSampler, TreeT >.

Public Member Functions

template<class TreeT >
bool sample (const TreeT &inTree, const Vec3R &inCoord, typename TreeT::ValueType &result)
 

Static Public Member Functions

static const char * name ()
 
static int radius ()
 
static bool mipmap ()
 
static bool consistent ()
 
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...
 

Member Function Documentation

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

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

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

The documentation for this struct was generated from the following file: