OpenVDB  2.1.0
Classes | Namespaces | Functions
LevelSetMeasure.h File Reference
#include <tbb/parallel_for.h>
#include <tbb/parallel_sort.h>
#include <boost/bind.hpp>
#include <boost/function.hpp>
#include <boost/type_traits/is_floating_point.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/math/constants/constants.hpp>
#include <openvdb/math/Math.h>
#include <openvdb/Types.h>
#include <openvdb/Grid.h>
#include <openvdb/tree/LeafManager.h>
#include <openvdb/tree/ValueAccessor.h>
#include <openvdb/math/FiniteDifference.h>
#include <openvdb/math/Operators.h>
#include <openvdb/util/NullInterrupter.h>

Go to the source code of this file.

Classes

class  DiracDelta< RealT >
 Smeared-out and continuous Dirac Delta function. More...
 
class  LevelSetMeasure< GridT, InterruptT >
 Multi-threaded computation of surface area, volume and average mean-curvature for narrow band level sets. More...
 

Namespaces

 openvdb
 
 openvdb::v2_1_0
 
 openvdb::v2_1_0::tools
 

Functions

template<class GridType >
Real levelSetArea (const GridType &grid, bool useWorldSpace=true)
 Return the surface area of a narrow-band level set. More...
 
template<class GridType >
Real levelSetVolume (const GridType &grid, bool useWorldSpace=true)
 Return the volume of a narrow-band level set surface. More...
 
template<class GridType >
void levelSetMeasure (const GridType &grid, Real &area, Real &volume, bool useWorldSpace=true)
 Compute the surface area and volume of a narrow-band level set. More...
 
template<class GridType >
void levelSetMeasure (const GridType &grid, Real &area, Real &volume, Real &avgCurvature, bool useWorldSpace=true)
 Compute the surface area and volume of a narrow-band level set. More...
 
template<class GridT >
boost::enable_if
< boost::is_floating_point
< typename GridT::ValueType >
, Real >::type 
doLevelSetArea (const GridT &grid, bool useWorldSpace)
 
template<class GridT >
boost::disable_if
< boost::is_floating_point
< typename GridT::ValueType >
, Real >::type 
doLevelSetArea (const GridT &, bool)
 
template<class GridT >
Real levelSetArea (const GridT &grid, bool useWorldSpace)
 
template<class GridT >
boost::enable_if
< boost::is_floating_point
< typename GridT::ValueType >
, Real >::type 
doLevelSetVolume (const GridT &grid, bool useWorldSpace)
 
template<class GridT >
boost::disable_if
< boost::is_floating_point
< typename GridT::ValueType >
, Real >::type 
doLevelSetVolume (const GridT &, bool)
 
template<class GridT >
Real levelSetVolume (const GridT &grid, bool useWorldSpace)
 
template<class GridT >
boost::enable_if
< boost::is_floating_point
< typename GridT::ValueType >
>::type 
doLevelSetMeasure (const GridT &grid, Real &area, Real &volume, bool useWorldSpace)
 
template<class GridT >
boost::disable_if
< boost::is_floating_point
< typename GridT::ValueType >
>::type 
doLevelSetMeasure (const GridT &, Real &, Real &, bool)
 
template<class GridT >
void levelSetMeasure (const GridT &grid, Real &area, Real &volume, bool useWorldSpace)
 
template<class GridT >
boost::enable_if
< boost::is_floating_point
< typename GridT::ValueType >
>::type 
doLevelSetMeasure (const GridT &grid, Real &area, Real &volume, Real &avgCurvature, bool useWorldSpace)
 
template<class GridT >
boost::disable_if
< boost::is_floating_point
< typename GridT::ValueType >
>::type 
doLevelSetMeasure (const GridT &, Real &, Real &, Real &, bool)
 
template<class GridT >
void levelSetMeasure (const GridT &grid, Real &area, Real &volume, Real &avgCurvature, bool useWorldSpace)
 

Detailed Description

Author
Ken Museth