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

Helper class for use with Tree::pruneOp() to replace inactive branches with more memory-efficient inactive tiles with the provided value. More...

#include <Util.h>

Public Member Functions

 InactivePrune (const ValueType &val)
 
template<typename ChildType >
bool operator() (ChildType &child) const
 

Public Attributes

const ValueType value
 

Static Public Attributes

static const bool state = false
 

Detailed Description

template<typename ValueType>
struct openvdb::v2_3_0::tree::InactivePrune< ValueType >

Helper class for use with Tree::pruneOp() to replace inactive branches with more memory-efficient inactive tiles with the provided value.

This is more specialized but faster than a TolerancePrune.

Constructor & Destructor Documentation

InactivePrune ( const ValueType &  val)
inline

Member Function Documentation

bool operator() ( ChildType &  child) const
inline

Member Data Documentation

const bool state = false
static
const ValueType value

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