HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 189 of file Interpolation.h.

Member Function Documentation

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

Definition at line 194 of file Interpolation.h.

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

Definition at line 193 of file Interpolation.h.

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

Definition at line 191 of file Interpolation.h.

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

Definition at line 196 of file Interpolation.h.

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

Definition at line 192 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 850 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 877 of file Interpolation.h.

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

Definition at line 195 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 806 of file Interpolation.h.


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