#include <openvdb/tools/PointsToMask.h>
◆ IterT
template<typename GridT, typename InterrupterT>
using IterT = typename VecT::iterator |
◆ RangeT
template<typename GridT, typename InterrupterT>
◆ ValueT
◆ VecT
template<typename GridT, typename InterrupterT>
using VecT = std::vector<GridT*> |
◆ ReducePool() [1/2]
template<typename GridT, typename InterrupterT>
ReducePool |
( |
PoolType & | pool, |
|
|
GridT * | grid, |
|
|
size_t | grainSize = 1 ) |
|
inline |
◆ ReducePool() [2/2]
template<typename GridT, typename InterrupterT>
◆ ~ReducePool()
template<typename GridT, typename InterrupterT>
◆ addPoints()
void addPoints |
( |
const PointListT & | points, |
|
|
size_t | grainSize = 1024 ) |
|
inline |
Activates the state of any voxel in the input grid that contains a point.
- Parameters
-
points | List of points that active the voxels in the input grid. |
grainSize | Set the grain-size used for multi-threading. A value of 0 disables multi-threading! |
◆ join()
template<typename GridT, typename InterrupterT>
◆ operator()()
template<typename GridT, typename InterrupterT>
void operator() |
( |
const RangeT & | r | ) |
|
|
inline |
◆ PointsToMask()
PointsToMask |
( |
GridT & | grid, |
|
|
InterrupterT * | interrupter = nullptr ) |
|
inlineexplicit |
Constructor from a grid and optional interrupter.
- Parameters
-
grid | Grid whose voxels will have their state activated by points. |
interrupter | Optional interrupter to prematurely terminate execution. |
◆ mGrid
template<typename GridT, typename InterrupterT>
◆ mOwnsGrid
template<typename GridT, typename InterrupterT>