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 123 of file Interpolation.h.

Member Function Documentation

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

Definition at line 128 of file Interpolation.h.

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

Definition at line 127 of file Interpolation.h.

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

Definition at line 125 of file Interpolation.h.

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

Definition at line 130 of file Interpolation.h.

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

Definition at line 126 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 638 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 646 of file Interpolation.h.

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

Definition at line 129 of file Interpolation.h.


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