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
 
bool mFltMinExists
 
bool mFltMaxExists
 

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! Also determines whether there is float max or float min stored in a voxel.

Definition at line 917 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 919 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 920 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 921 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 922 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 946 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 931 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 924 of file FastSweeping.h.

Member Data Documentation

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
bool openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::mFltMaxExists

Definition at line 955 of file FastSweeping.h.

template<typename SdfGridT , typename ExtValueT = typename SdfGridT::ValueType>
bool openvdb::OPENVDB_VERSION_NAME::tools::FastSweeping< SdfGridT, ExtValueT >::MinMaxKernel::mFltMinExists

Definition at line 955 of file FastSweeping.h.

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

Definition at line 954 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 954 of file FastSweeping.h.


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