Base class that provides the interface for continuous sampling of values in a grid.
More...
#include <Interpolation.h>
Inherited by LinearInterp< TreeType >, and QuadraticInterp< TreeType >.
template<typename TreeType>
class openvdb::v0_104_0::tools::GridSampling< TreeType >
Base class that provides the interface for continuous sampling of values in a grid.
Since grids support only discrete voxel sampling, GridSampling must be used to sample arbitrary continuous points in space.
- Deprecated:
- Use GridSampler instead.
Sample a point in voxel space in the grid.
- Parameters
-
pt | the grid point to be sampled, in voxel coordinates |
Sample a point in voxel space in the grid.
- Parameters
-
x | x-coordinate of point in voxel-coordinates of grid |
y | y-coordinate of point in voxel-coordinates of grid |
z | z-coordinate of point in voxel-coordinates of grid |
Implemented in QuadraticInterp< TreeType >, and LinearInterp< TreeType >.
const TreeType& tree |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: