|
OpenVDB
4.0.2
|
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...
#include <GridOperators.h>
Public Types | |
| typedef OutGridT::TreeType | OutTreeT |
| typedef OutTreeT::LeafNodeType | OutLeafT |
| typedef tree::LeafManager< OutTreeT > | LeafManagerT |
Public Member Functions | |
| GridOperator (const InGridT &grid, const MaskGridType *mask, const MapT &map, InterruptT *interrupt=nullptr, bool densify=true) | |
| GridOperator (const GridOperator &)=default | |
| GridOperator & | operator= (const GridOperator &)=default |
| virtual | ~GridOperator ()=default |
| OutGridT::Ptr | process (bool threaded=true) |
| void | operator() (const typename LeafManagerT::LeafRange &range) const |
| Iterate sequentially over LeafNodes and voxels in the output grid and apply the operator using a value accessor for the input grid. More... | |
Protected Types | |
| typedef InGridT::ConstAccessor | AccessorT |
Protected Attributes | |
| AccessorT | mAcc |
| const MapT & | mMap |
| InterruptT * | mInterrupt |
| const MaskGridType * | mMask |
| const bool | mDensify |
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.
|
protected |
| typedef tree::LeafManager<OutTreeT> LeafManagerT |
| typedef OutTreeT::LeafNodeType OutLeafT |
| typedef OutGridT::TreeType OutTreeT |
|
inline |
|
default |
|
virtualdefault |
|
inline |
Iterate sequentially over LeafNodes and voxels in the output grid and apply the operator using a value accessor for the input grid.
|
default |
|
inline |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.13