OpenVDB  0.104.0
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
LevelSetPrune< ValueType > Struct Template Reference

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>

Public Member Functions

template<typename ChildType >
bool operator() (ChildType &child)
 

Public Attributes

ValueType value
 

Static Public Attributes

static const bool state = false
 

Detailed Description

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.

Member Function Documentation

bool operator() ( ChildType &  child)
inline

Member Data Documentation

const bool state = false
static
ValueType value

The documentation for this struct was generated from the following file: