HDK
|
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.
Definition at line 302 of file GridOperators.h.
|
protected |
Definition at line 401 of file GridOperators.h.
typedef tree::LeafManager<OutTreeT> openvdb::OPENVDB_VERSION_NAME::tools::gridop::GridOperator< InGridT, MaskGridType, OutGridT, MapT, OperatorT, InterruptT >::LeafManagerT |
Definition at line 307 of file GridOperators.h.
typedef OutTreeT::LeafNodeType openvdb::OPENVDB_VERSION_NAME::tools::gridop::GridOperator< InGridT, MaskGridType, OutGridT, MapT, OperatorT, InterruptT >::OutLeafT |
Definition at line 306 of file GridOperators.h.
typedef OutGridT::TreeType openvdb::OPENVDB_VERSION_NAME::tools::gridop::GridOperator< InGridT, MaskGridType, OutGridT, MapT, OperatorT, InterruptT >::OutTreeT |
Definition at line 305 of file GridOperators.h.
|
inline |
Definition at line 309 of file GridOperators.h.
|
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.
Definition at line 387 of file GridOperators.h.
|
default |
|
inline |
Definition at line 322 of file GridOperators.h.
|
mutableprotected |
Definition at line 402 of file GridOperators.h.
|
protected |
Definition at line 406 of file GridOperators.h.
|
protected |
Definition at line 404 of file GridOperators.h.
|
protected |
Definition at line 403 of file GridOperators.h.
|
protected |
Definition at line 405 of file GridOperators.h.