OpenVDB 10.0.1
Loading...
Searching...
No Matches
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

◆ IterT

using IterT = typename VecT::iterator

◆ RangeT

using RangeT = tbb::blocked_range<IterT>

◆ VecT

using VecT = std::vector<GridT*>

Constructor & Destructor Documentation

◆ ReducePool() [1/2]

ReducePool ( PoolType &  pool,
GridT *  grid,
size_t  grainSize = 1 
)
inline

◆ ReducePool() [2/2]

ReducePool ( const ReducePool ,
tbb::split   
)
inline

◆ ~ReducePool()

~ReducePool ( )
inline

Member Function Documentation

◆ join()

void join ( ReducePool other)
inline

◆ operator()()

void operator() ( const RangeT r)
inline

Member Data Documentation

◆ mGrid

GridT* mGrid

◆ mOwnsGrid

const bool mOwnsGrid