Prune any descendants whose values are all inactive and replace them with inactive tiles having values with a magnitude equal to the background value and a sign equal to the first value encountered in the (inactive) child.
More...
#include <Util.h>
Public Member Functions |
| LevelSetPrune (const ValueType &background) |
template<typename ChildType > |
bool | operator() (ChildType &child) |
Static Public Attributes |
static const bool | state = false |
Detailed Description
template<typename ValueType>
struct openvdb::v1_1_0::tree::LevelSetPrune< ValueType >
Prune any descendants whose values are all inactive and replace them with inactive tiles having values with a magnitude equal to the background value and a sign 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. Also note that this methods
Constructor & Destructor Documentation
Member Function Documentation
bool operator() |
( |
ChildType & |
child | ) |
|
|
inline |
Member Data Documentation
The documentation for this struct was generated from the following file: