OpenVDB  12.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
 
bool mFltMinExists
 
bool mFltMaxExists
 

Detailed Description

template<typename SdfGridT, typename ExtValueT = typename SdfGridT::ValueType>
struct openvdb::v12_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! Also determines whether there is float max or float min stored in a voxel.

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

bool mFltMaxExists
bool mFltMinExists
SdfValueT mMax
SdfValueT mMin