A TileSampler wraps a grid sampler of another type (BoxSampler, QuadraticSampler, etc.), and for samples that fall within a given tile of the grid, it returns a cached tile value instead of accessing the grid.
More...
#include <GridTransformer.h>
Inherits Sampler.
|
typedef TreeT::ValueType | ValueT |
|
template<typename Sampler, typename TreeT>
class openvdb::v0_104_0::tools::internal::TileSampler< Sampler, TreeT >
A TileSampler wraps a grid sampler of another type (BoxSampler, QuadraticSampler, etc.), and for samples that fall within a given tile of the grid, it returns a cached tile value instead of accessing the grid.
typedef TreeT::ValueType ValueT |
- Parameters
-
b | the index-space bounding box of a particular grid tile |
tileVal | the tile's value |
on | the tile's active state |
bool sample |
( |
const TreeT & |
inTree, |
|
|
const Vec3R & |
inCoord, |
|
|
ValueT & |
result |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file: