Prune any descendants whose values are all inactive and replace them with inactive tiles having a values equal to the first value encountered in the (inactive) child.
More...
#include <Util.h>
|
template<typename ChildType > |
bool | operator() (ChildType &child) |
|
|
static const bool | state = false |
|
template<typename ValueType>
struct openvdb::v0_104_0::tree::LevelSetPrune< ValueType >
Prune any descendants whose values are all inactive and replace them with inactive tiles having a values equal to the first value encountered in the (inactive) child.
- Note
- This method is faster then tolerance based prune and useful for narrow-band level set applications where inactive values are limited to either an inside or outside value.
bool operator() |
( |
ChildType & |
child | ) |
|
|
inline |
The documentation for this struct was generated from the following file: