Specialization of DualGridSampler for construction from a ValueAccessor type. More...
#include <openvdb/tools/Interpolation.h>
Public Types | |
using | ValueType = typename TreeT::ValueType |
using | TreeType = TreeT |
using | GridType = Grid<TreeType> |
using | AccessorType = typename tree::ValueAccessor<TreeT> |
using | ValueType |
using | GridType |
using | TreeType |
using | AccessorType |
Public Member Functions | |
DualGridSampler (const AccessorType &sourceAccessor, const math::Transform &sourceXform, const math::Transform &targetXform) | |
ValueAccessor and transform constructor. | |
ValueType | operator() (const Coord &ijk) const |
Return the value of the source grid at the index coordinates, ijk, relative to the target grid. | |
bool | isAligned () const |
Return true if the two grids are aligned. | |
DualGridSampler (const GridType &sourceGrid, const math::Transform &targetXform) | |
Grid and transform constructor. | |
DualGridSampler (const TreeType &sourceTree, const math::Transform &sourceXform, const math::Transform &targetXform) | |
Tree and transform constructor. | |
ValueType | operator() (const Coord &ijk) const |
Return the value of the source grid at the index coordinates, ijk, relative to the target grid (or its tranform). | |
bool | isAligned () const |
Return true if the two grids are aligned. | |
Specialization of DualGridSampler for construction from a ValueAccessor type.
using AccessorType |
using AccessorType = typename tree::ValueAccessor<TreeT> |
using GridType |
using TreeType |
using TreeType = TreeT |
using ValueType |
using ValueType = typename TreeT::ValueType |
|
inline |
ValueAccessor and transform constructor.
sourceAccessor | ValueAccessor into the source grid. |
sourceXform | Transform for the source grid. |
targetXform | Transform for the target grid. |
|
inline |
Grid and transform constructor.
sourceGrid | Source grid. |
targetXform | Transform of the target grid. |
|
inline |
Tree and transform constructor.
sourceTree | Source tree. |
sourceXform | Transform of the source grid. |
targetXform | Transform of the target grid. |
|
inline |
Return true if the two grids are aligned.
|
inline |
Return true if the two grids are aligned.
Return the value of the source grid at the index coordinates, ijk, relative to the target grid (or its tranform).