Apply an operator to an input grid to produce an output grid with the same active voxel topology but a potentially different value type.
More...
template<typename InGridT, typename MaskGridType, typename OutGridT, typename MapT, typename OperatorT, typename InterruptT = util::NullInterrupter>
class openvdb::v11_0::tools::gridop::GridOperator< InGridT, MaskGridType, OutGridT, MapT, OperatorT, InterruptT >
Apply an operator to an input grid to produce an output grid with the same active voxel topology but a potentially different value type.
To facilitate inlining, this class is also templated on a Map type.
- Note
- This is a helper class and should never be used directly.
template<typename InGridT , typename MaskGridType , typename OutGridT , typename MapT , typename OperatorT , typename InterruptT = util::NullInterrupter>
Iterate sequentially over LeafNodes and voxels in the output grid and apply the operator using a value accessor for the input grid.
- Note
- Never call this public method directly - it is called by TBB threads only!