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

#include <Interpolation.h>

+ Inheritance diagram for openvdb::OPENVDB_VERSION_NAME::tools::QuadraticSampler:

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)
 Triquadratically reconstruct inTree at inCoord and store the result in result. More...
 
template<class TreeT >
static TreeT::ValueType sample (const TreeT &inTree, const Vec3R &inCoord)
 Triquadratically reconstruct inTree at to inCoord. More...
 
template<class ValueT , size_t N>
static ValueT triquadraticInterpolation (ValueT(&data)[N][N][N], const Vec3R &uvw)
 

Detailed Description

Definition at line 162 of file Interpolation.h.

Member Function Documentation

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

Definition at line 167 of file Interpolation.h.

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

Definition at line 166 of file Interpolation.h.

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

Definition at line 164 of file Interpolation.h.

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

Definition at line 169 of file Interpolation.h.

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

Definition at line 165 of file Interpolation.h.

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

Triquadratically reconstruct inTree at inCoord and store the result in result.

Returns
true if any one of the sampled values is active.

Definition at line 830 of file Interpolation.h.

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

Triquadratically reconstruct inTree at to inCoord.

Returns
the reconstructed value

Definition at line 857 of file Interpolation.h.

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

Definition at line 168 of file Interpolation.h.

template<class ValueT , size_t N>
ValueT openvdb::OPENVDB_VERSION_NAME::tools::QuadraticSampler::triquadraticInterpolation ( ValueT(&)  data[N][N][N],
const Vec3R uvw 
)
inlinestatic
Todo:
For vector types, interpolate over each component independently.

Definition at line 786 of file Interpolation.h.


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