OpenVDB
12.0.1
|
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 > |
Public Member Functions | |
DualGridSampler (const AccessorType &sourceAccessor, const math::Transform &sourceXform, const math::Transform &targetXform) | |
ValueAccessor and transform constructor. More... | |
ValueType | operator() (const Coord &ijk) const |
Return the value of the source grid at the index coordinates, ijk, relative to the target grid. More... | |
bool | isAligned () const |
Return true if the two grids are aligned. More... | |
Specialization of DualGridSampler for construction from a ValueAccessor type.
using AccessorType = typename tree::ValueAccessor<TreeT> |
using TreeType = TreeT |
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 |
Return true if the two grids are aligned.
|
inline |
Return the value of the source grid at the index coordinates, ijk, relative to the target grid.