OpenVDB  9.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel Struct Reference

#include <openvdb/tools/FastSweeping.h>

Public Types

using LeafMgr = tree::LeafManager< const SdfTreeT >
 
using LeafRange = typename LeafMgr::LeafRange
 

Public Member Functions

 MinMaxKernel ()
 
 MinMaxKernel (MinMaxKernel &other, tbb::split)
 
math::MinMax< SdfValueT > run (const SdfGridT &grid)
 
void operator() (const LeafRange &r)
 
void join (const MinMaxKernel &other)
 

Public Attributes

SdfValueT mMin
 
SdfValueT mMax
 

Detailed Description

template<typename SdfGridT, typename ExtValueT = typename SdfGridT::ValueType>
struct openvdb::v9_0::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel

Private class of FastSweeping to quickly compute the extrema values of the active voxels in the leaf nodes. Several orders of magnitude faster than tools::extrema!

Member Typedef Documentation

using LeafMgr = tree::LeafManager<const SdfTreeT>
using LeafRange = typename LeafMgr::LeafRange

Constructor & Destructor Documentation

MinMaxKernel ( )
inline
MinMaxKernel ( MinMaxKernel other,
tbb::split   
)
inline

Member Function Documentation

void join ( const MinMaxKernel other)
inline
void operator() ( const LeafRange r)
inline
math::MinMax<SdfValueT> run ( const SdfGridT &  grid)
inline

Member Data Documentation

SdfValueT mMax
SdfValueT mMin