OpenVDB
3.0.0
|
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 <openvdb/tree/NodeManager.h>
Go to the source code of this file.
Classes | |
class | SignedFloodFillOp< TreeOrLeafManagerT > |
Namespaces | |
openvdb | |
openvdb::v3_0_0 | |
openvdb::v3_0_0::tools | |
Functions | |
template<typename TreeOrLeafManagerT > | |
void | signedFloodFill (TreeOrLeafManagerT &tree, bool threaded=true, size_t grainSize=1) |
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) |
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< typename boost::is_floating_point< typename TreeOrLeafManagerT::ValueType >::type >::type | doSignedFloodFill (TreeOrLeafManagerT &tree, typename TreeOrLeafManagerT::ValueType outsideValue, typename TreeOrLeafManagerT::ValueType insideValue, bool threaded, size_t grainSize) |
template<typename TreeOrLeafManagerT > | |
boost::disable_if< typename boost::is_floating_point< typename TreeOrLeafManagerT::ValueType >::type >::type | doSignedFloodFill (TreeOrLeafManagerT &, const typename TreeOrLeafManagerT::ValueType &, const typename TreeOrLeafManagerT::ValueType &, bool, size_t) |
Propagates the sign of distance values from the active voxels in the narrow band to the inactive values outside the narrow band.