|
| struct | Sampler< Order, Staggered > |
| | Provises a unified interface for sampling, i.e. interpolation. More...
|
| |
| struct | PointSampler |
| |
| struct | BoxSampler |
| |
| struct | QuadraticSampler |
| |
| struct | StaggeredPointSampler |
| |
| struct | StaggeredBoxSampler |
| |
| struct | StaggeredQuadraticSampler |
| |
| class | GridSampler< GridOrTreeType, SamplerType > |
| | Class that provides the interface for continuous sampling of values in a tree. More...
|
| |
| class | GridSampler< tree::ValueAccessor< TreeT >, SamplerType > |
| | Specialization of GridSampler for construction from a ValueAccessor type. More...
|
| |
| class | DualGridSampler< GridOrTreeT, SamplerT > |
| | This is a simple convenience class that allows for sampling from a source grid into the index space of a target grid. At construction the source and target grids are checked for alignment which potentially renders interpolation unnecessary. Else interpolation is performed according to the templated Sampler type. More...
|
| |
| class | DualGridSampler< tree::ValueAccessor< TreeT >, SamplerT > |
| | Specialization of DualGridSampler for construction from a ValueAccessor type. More...
|
| |
| class | AlphaMask< GridT, MaskT, SamplerT, FloatT > |
| |
| struct | Sampler< 0, false > |
| |
| struct | Sampler< 1, false > |
| |
| struct | Sampler< 2, false > |
| |
| struct | Sampler< 0, true > |
| |
| struct | Sampler< 1, true > |
| |
| struct | Sampler< 2, true > |
| |
Sampler classes such as PointSampler and BoxSampler that are intended for use with tools::GridTransformer should operate in voxel space and must adhere to the interface described in the example below:
struct MySampler
{
const char* name() { return "mysampler"; }
int radius() { return 2; }
bool mipmap() { return true; }
bool consistent() { return false; }
template<class TreeT>
bool sample(
const TreeT& tree,
const Vec3R& coord,
typename TreeT::ValueType& val);
};