OpenVDB: PointSampler Struct Reference

OpenVDB 3.1.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Static Public Member Functions | List of all members
PointSampler Struct Reference

`#include <Interpolation.h>`

Inherited by TileSampler< PointSampler, TreeT >, and Sampler< 0, false >.

## 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...

## Member Function Documentation

static bool consistent | ( |  | ) |
| inlinestatic

static bool mipmap | ( |  | ) |
| inlinestatic

static const char* name | ( |  | ) |
| inlinestatic

static size_t order | ( |  | ) |
| inlinestatic

static int radius | ( |  | ) |
| inlinestatic

bool 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.

TreeT::ValueType sample | ( | const TreeT & | inTree,
|  | const Vec3R & | inCoord
| ) |  |
| inlinestatic

Sample inTree at the nearest neighbor to inCoord.

Returns
  the reconstructed value

static bool staggered | ( |  | ) |
| inlinestatic

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

- Interpolation.h