HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel Struct Reference

#include <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::OPENVDB_VERSION_NAME::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!

Definition at line 900 of file FastSweeping.h.

Member Typedef Documentation

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
using openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::LeafMgr = tree::LeafManager<const SdfTreeT>

Definition at line 902 of file FastSweeping.h.

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
using openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::LeafRange = typename LeafMgr::LeafRange

Definition at line 903 of file FastSweeping.h.

Constructor & Destructor Documentation

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::MinMaxKernel ( )
inline

Definition at line 904 of file FastSweeping.h.

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::MinMaxKernel ( MinMaxKernel other,
tbb::split   
)
inline

Definition at line 905 of file FastSweeping.h.

Member Function Documentation

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
void openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::join ( const MinMaxKernel other)
inline

Definition at line 925 of file FastSweeping.h.

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
void openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::operator() ( const LeafRange r)
inline

Definition at line 914 of file FastSweeping.h.

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
math::MinMax<SdfValueT> openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::run ( const SdfGridT &  grid)
inline

Definition at line 907 of file FastSweeping.h.

Member Data Documentation

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
SdfValueT openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::mMax

Definition at line 931 of file FastSweeping.h.

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
SdfValueT openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::mMin

Definition at line 931 of file FastSweeping.h.


The documentation for this struct was generated from the following file: