Helper class for use with Tree::pruneOp() to prune any branches whose values are all inactive and replace each with an inactive tile whose value is equal in magnitude to the background value and whose sign is equal to that of the first value encountered in the (inactive) child.
More...
#include <Util.h>
|
static const bool | state = false |
|
template<typename ValueType>
struct openvdb::v1_2_0::tree::LevelSetPrune< ValueType >
Helper class for use with Tree::pruneOp() to prune any branches whose values are all inactive and replace each with an inactive tile whose value is equal in magnitude to the background value and whose sign is equal to that of the first value encountered in the (inactive) child.
This operation is faster than a TolerancePrune and useful for narrow-band level set applications where inactive values are limited to either the inside or the outside value.
bool operator() |
( |
ChildType & |
child) | |
|
|
inline |
The documentation for this struct was generated from the following file: