OpenVDB  8.1.1
Classes | Namespaces | Functions
Activate.h File Reference

Implementation of topological activation/deactivation. More...

#include <openvdb/Types.h>
#include <openvdb/Grid.h>
#include <openvdb/math/Math.h>
#include <openvdb/tree/NodeManager.h>

Go to the source code of this file.

Classes

struct  ActivateOp< TreeT, IgnoreTolerance >
 
struct  DeactivateOp< TreeT, IgnoreTolerance >
 

Namespaces

 openvdb
 
 openvdb::v8_1
 
 openvdb::v8_1::tools
 
 openvdb::v8_1::tools::activate_internal
 

Functions

template<typename GridOrTree >
void activate (GridOrTree &, const typename GridOrTree::ValueType &value, const typename GridOrTree::ValueType &tolerance=zeroVal< typename GridOrTree::ValueType >(), const bool threaded=true)
 Mark as active any inactive tiles or voxels in the given grid or tree whose values are equal to value (optionally to within the given tolerance). More...
 
template<typename GridOrTree >
void deactivate (GridOrTree &, const typename GridOrTree::ValueType &value, const typename GridOrTree::ValueType &tolerance=zeroVal< typename GridOrTree::ValueType >(), const bool threaded=true)
 Mark as inactive any active tiles or voxels in the given grid or tree whose values are equal to value (optionally to within the given tolerance). More...
 

Detailed Description

Implementation of topological activation/deactivation.

Author
Ken Museth