OpenVDB 3.2.0

Classes | Namespaces | Functions
SignedFloodFill.h File Reference

Propagates the sign of distance values from the active voxels in the narrow band to the inactive values outside the narrow band. More...

`#include <boost/utility/enable_if.hpp>`
`#include <openvdb/math/Math.h>`
`#include <openvdb/Types.h>`
`#include <boost/static_assert.hpp>`
`#include <boost/type_traits/is_floating_point.hpp>`
`#include <boost/type_traits/is_signed.hpp>`
`#include <openvdb/tree/NodeManager.h>`

Go to the source code of this file.

## Classes
class | SignedFloodFillOp< TreeOrLeafManagerT >

## Namespaces
| openvdb
| openvdb::v3_2_0
| openvdb::v3_2_0::tools

## Functions
template<typename TreeOrLeafManagerT >
void | signedFloodFill (TreeOrLeafManagerT &tree, bool threaded=true, size_t grainSize=1, Index minLevel=0)
| Set the values of all inactive voxels and tiles of a narrow-band level set from the signs of the active voxels, setting outside values to +background and inside values to -background. More...
template<typename TreeOrLeafManagerT >
void | signedFloodFillWithValues (TreeOrLeafManagerT &tree, const typename TreeOrLeafManagerT::ValueType &outsideWidth, const typename TreeOrLeafManagerT::ValueType &insideWidth, bool threaded=true, size_t grainSize=1, Index minLevel=0)
| Set the values of all inactive voxels and tiles of a narrow-band level set from the signs of the active voxels, setting exterior values to outsideWidth and interior values to insideWidth. Set the background value of this tree to outsideWidth. More...
template<typename TreeOrLeafManagerT >
boost::enable_if_c< boost::is_floating_point< typename TreeOrLeafManagerT::ValueType >::value||boost::is_signed< typename TreeOrLeafManagerT::ValueType >::value, void >::type | doSignedFloodFill (TreeOrLeafManagerT &tree, typename TreeOrLeafManagerT::ValueType outsideValue, typename TreeOrLeafManagerT::ValueType insideValue, bool threaded, size_t grainSize, Index minLevel)
template<typename TreeOrLeafManagerT >
boost::disable_if_c< boost::is_floating_point< typename TreeOrLeafManagerT::ValueType >::value||boost::is_signed< typename TreeOrLeafManagerT::ValueType >::value, void >::type | doSignedFloodFill (TreeOrLeafManagerT &, const typename TreeOrLeafManagerT::ValueType &, const typename TreeOrLeafManagerT::ValueType &, bool, size_t, Index)

## Detailed Description

Propagates the sign of distance values from the active voxels in the narrow band to the inactive values outside the narrow band.

Author
  Ken Museth