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

#include <Interpolation.h>

+ Inheritance diagram for openvdb::OPENVDB_VERSION_NAME::tools::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 ()
 
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 223 of file Interpolation.h.

Member Function Documentation

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

Definition at line 228 of file Interpolation.h.

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

Definition at line 227 of file Interpolation.h.

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

Definition at line 225 of file Interpolation.h.

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

Definition at line 230 of file Interpolation.h.

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

Definition at line 226 of file Interpolation.h.

template<class TreeT >
bool openvdb::OPENVDB_VERSION_NAME::tools::StaggeredPointSampler::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 904 of file Interpolation.h.

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

Sample inTree at the nearest neighbor to inCoord.

Returns
the reconstructed value

Definition at line 925 of file Interpolation.h.

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

Definition at line 229 of file Interpolation.h.


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