OpenVDB  1.2.0
Public Types | Public Member Functions | List of all members
MinMaxVoxel< TreeType > Class Template Reference

Threaded operator that finds the minimum and maximum values among the active leaf-level voxels of a grid. More...

#include <LevelSetUtil.h>

Public Types

typedef tree::LeafManager
< TreeType > 
LeafArray
 
typedef TreeType::ValueType ValueType
 

Public Member Functions

 MinMaxVoxel (LeafArray &)
 
void runParallel ()
 
void runSerial ()
 
const ValueTypeminVoxel () const
 
const ValueTypemaxVoxel () const
 
 MinMaxVoxel (const MinMaxVoxel< TreeType > &, tbb::split)
 
void operator() (const tbb::blocked_range< size_t > &)
 
void join (const MinMaxVoxel< TreeType > &)
 

Detailed Description

template<class TreeType>
class openvdb::v1_2_0::tools::MinMaxVoxel< TreeType >

Threaded operator that finds the minimum and maximum values among the active leaf-level voxels of a grid.

This is useful primarily for level set grids, which have no active tiles (all of their active voxels are leaf-level).

Member Typedef Documentation

typedef tree::LeafManager<TreeType> LeafArray
typedef TreeType::ValueType ValueType

Constructor & Destructor Documentation

MinMaxVoxel ( LeafArray leafs)
MinMaxVoxel ( const MinMaxVoxel< TreeType > &  rhs,
tbb::split   
)
inline

Member Function Documentation

void join ( const MinMaxVoxel< TreeType > &  rhs)
inline
const ValueType& maxVoxel ( ) const
inline
const ValueType& minVoxel ( ) const
inline
void operator() ( const tbb::blocked_range< size_t > &  range)
inline
void runParallel ( )
void runSerial ( )

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