OpenVDB  9.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
PointsToMask< GridT, InterrupterT >::ReducePool Struct Reference

#include <openvdb/tools/PointsToMask.h>

Public Types

using VecT = std::vector< GridT * >
 
using IterT = typename VecT::iterator
 
using RangeT = tbb::blocked_range< IterT >
 

Public Member Functions

 ReducePool (PoolType &pool, GridT *grid, size_t grainSize=1)
 
 ReducePool (const ReducePool &, tbb::split)
 
 ~ReducePool ()
 
void operator() (const RangeT &r)
 
void join (ReducePool &other)
 

Public Attributes

const bool mOwnsGrid
 
GridT * mGrid
 

Member Typedef Documentation

using IterT = typename VecT::iterator
using RangeT = tbb::blocked_range<IterT>
using VecT = std::vector<GridT*>

Constructor & Destructor Documentation

ReducePool ( PoolType &  pool,
GridT *  grid,
size_t  grainSize = 1 
)
inline
ReducePool ( const ReducePool ,
tbb::split   
)
inline
~ReducePool ( )
inline

Member Function Documentation

void join ( ReducePool other)
inline
void operator() ( const RangeT r)
inline

Member Data Documentation

GridT* mGrid
const bool mOwnsGrid