OpenVDB
0.104.0
|
Perform linear interpolation on a grid voxel to sample space. More...
#include <Interpolation.h>
Inherits GridSampling< TreeType >.
Public Types | |
typedef GridSampling< TreeType > | BaseType |
typedef boost::shared_ptr < LinearInterp > | Ptr |
typedef TreeType::ValueType | ValueType |
typedef tree::ValueAccessor < const TreeType > | ConstAccessor |
Public Member Functions | |
OPENVDB_DEPRECATED | LinearInterp (const TreeType &tree) |
virtual | ~LinearInterp () |
virtual ValueType | sampleVoxel (Real x, Real y, Real z) const |
Sample space at a point defined by (x, y, z) in a grid by linear interpolation of values in adjacent voxels. More... | |
const TreeType & | tree () const |
ValueType | sampleVoxel (const Vec3R &pt) const |
Sample a point in voxel space in the grid. More... | |
Perform linear interpolation on a grid voxel to sample space.
typedef GridSampling<TreeType> BaseType |
|
inherited |
typedef boost::shared_ptr<LinearInterp> Ptr |
typedef TreeType::ValueType ValueType |
|
inlineexplicit |
|
inlinevirtual |
Sample a point in voxel space in the grid.
pt | the grid point to be sampled, in voxel coordinates |
Sample space at a point defined by (x, y, z) in a grid by linear interpolation of values in adjacent voxels.
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 |
Implements GridSampling< TreeType >.
|
inlineinherited |