OpenVDB 11.0.0
|
Class with multi-threaded implementation of particle rasterization. More...
#include <openvdb/tools/ParticlesToLevelSet.h>
Public Types | |
using | DisableT = typename std::is_void<AttributeT>::type |
using | ParticlesToLevelSetT = ParticlesToLevelSet<SdfGridT, AttributeT, InterrupterT> |
using | SdfT = typename ParticlesToLevelSetT::SdfType |
using | AttT = typename ParticlesToLevelSetT::AttType |
using | ValueT = typename GridT::ValueType |
using | AccessorT = typename GridT::Accessor |
using | TreeT = typename GridT::TreeType |
using | LeafNodeT = typename TreeT::LeafNodeType |
using | PointPartitionerT = PointPartitioner<Index32, LeafNodeT::LOG2DIM> |
Public Member Functions | |
Raster (ParticlesToLevelSetT &parent, GridT *grid, const ParticleListT &particles) | |
Main constructor. | |
Raster (Raster &other, tbb::split) | |
Copy constructor called by tbb threads. | |
virtual | ~Raster () |
void | rasterizeSpheres () |
void | rasterizeSpheres (Real radius) |
void | rasterizeTrails (Real delta=1.0) |
void | operator() (const tbb::blocked_range< size_t > &r) |
Kick off the optionally multithreaded computation. | |
void | join (Raster &other) |
Required by tbb::parallel_reduce. | |
Static Public Attributes | |
static const bool | OutputIsMask = std::is_same<SdfT, bool>::value |
static const bool | DoAttrXfer = !DisableT::value |
Class with multi-threaded implementation of particle rasterization.
using AccessorT = typename GridT::Accessor |
using AttT = typename ParticlesToLevelSetT::AttType |
using DisableT = typename std::is_void<AttributeT>::type |
using LeafNodeT = typename TreeT::LeafNodeType |
using ParticlesToLevelSetT = ParticlesToLevelSet<SdfGridT, AttributeT, InterrupterT> |
using PointPartitionerT = PointPartitioner<Index32, LeafNodeT::LOG2DIM> |
using SdfT = typename ParticlesToLevelSetT::SdfType |
using TreeT = typename GridT::TreeType |
using ValueT = typename GridT::ValueType |
|
inline |
Main constructor.
|
inline |
Copy constructor called by tbb threads.
|
inlinevirtual |
|
inline |
Required by tbb::parallel_reduce.
|
inline |
Kick off the optionally multithreaded computation.
|
inline |
|
inline |
|
inline |
|
static |
|
static |