Makes every voxel of a grid active if it contains a point.
More...
#include <PointsToMask.h>
|
| using | ValueT = typename GridT::ValueType |
| |
|
| | PointsToMask (GridT &grid, InterrupterT *interrupter=nullptr) |
| | Constructor from a grid and optional interrupter. More...
|
| |
| template<typename PointListT , typename VecT = Vec3R> |
| void | addPoints (const PointListT &points, size_t grainSize=1024) |
| | Activates the state of any voxel in the input grid that contains a point. More...
|
| |
template<typename GridT = MaskGrid, typename InterrupterT = util::NullInterrupter>
class openvdb::OPENVDB_VERSION_NAME::tools::PointsToMask< GridT, InterrupterT >
Makes every voxel of a grid active if it contains a point.
Definition at line 71 of file PointsToMask.h.
template<typename GridT = MaskGrid, typename InterrupterT = util::NullInterrupter>
template<typename GridT = MaskGrid, typename InterrupterT = util::NullInterrupter>
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. |
Definition at line 115 of file PointsToMask.h.
template<typename GridT = MaskGrid, typename InterrupterT = util::NullInterrupter>
template<typename PointListT , typename VecT = Vec3R>
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! |
Definition at line 127 of file PointsToMask.h.
The documentation for this class was generated from the following file: