Apply an operator on an input grid to produce an output grid with the same topology but a possibly different value type.
More...
template<typename InGridT, typename MaskGridType, typename OutGridT, typename MapT, typename OperatorT, typename InterruptT = util::NullInterrupter>
class openvdb::v2_3_0::tools::gridop::GridOperator< InGridT, MaskGridType, OutGridT, MapT, OperatorT, InterruptT >
Apply an operator on an input grid to produce an output grid with the same topology but a possibly 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.
-
The current implementation assumes all the input values are represented by leaf voxels and not tiles. In the future we will expand this class to also handle tile values.