HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::PointSampler Struct Reference

#include <Interpolation.h>

+ Inheritance diagram for openvdb::OPENVDB_VERSION_NAME::tools::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...
 

Detailed Description

Definition at line 96 of file Interpolation.h.

Member Function Documentation

static bool openvdb::OPENVDB_VERSION_NAME::tools::PointSampler::consistent ( )
inlinestatic

Definition at line 101 of file Interpolation.h.

static bool openvdb::OPENVDB_VERSION_NAME::tools::PointSampler::mipmap ( )
inlinestatic

Definition at line 100 of file Interpolation.h.

static const char* openvdb::OPENVDB_VERSION_NAME::tools::PointSampler::name ( void  )
inlinestatic

Definition at line 98 of file Interpolation.h.

static size_t openvdb::OPENVDB_VERSION_NAME::tools::PointSampler::order ( )
inlinestatic

Definition at line 103 of file Interpolation.h.

static int openvdb::OPENVDB_VERSION_NAME::tools::PointSampler::radius ( )
inlinestatic

Definition at line 99 of file Interpolation.h.

template<class TreeT >
bool openvdb::OPENVDB_VERSION_NAME::tools::PointSampler::sample ( const TreeT &  inTree,
const Vec3R inCoord,
typename TreeT::ValueType &  result 
)
inlinestatic

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

Returns
true if the sampled value is active.

Definition at line 611 of file Interpolation.h.

template<class TreeT >
TreeT::ValueType openvdb::OPENVDB_VERSION_NAME::tools::PointSampler::sample ( const TreeT &  inTree,
const Vec3R inCoord 
)
inlinestatic

Sample inTree at the nearest neighbor to inCoord.

Returns
the reconstructed value

Definition at line 619 of file Interpolation.h.

static bool openvdb::OPENVDB_VERSION_NAME::tools::PointSampler::staggered ( )
inlinestatic

Definition at line 102 of file Interpolation.h.


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