OpenVDB 9.0.0
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

◆ LeafMgr

using LeafMgr = tree::LeafManager<const SdfTreeT>

◆ LeafRange

using LeafRange = typename LeafMgr::LeafRange

Constructor & Destructor Documentation

◆ MinMaxKernel() [1/2]

MinMaxKernel ( )
inline

◆ MinMaxKernel() [2/2]

MinMaxKernel ( MinMaxKernel other,
tbb::split   
)
inline

Member Function Documentation

◆ join()

void join ( const MinMaxKernel other)
inline

◆ operator()()

void operator() ( const LeafRange r)
inline

◆ run()

math::MinMax< SdfValueT > run ( const SdfGridT &  grid)
inline

Member Data Documentation

◆ mMax

SdfValueT mMax

◆ mMin

SdfValueT mMin