Copy an OpenVDB tree into an existing dense grid.
More...
#include <Dense.h>
template<typename _TreeT, typename _DenseT = Dense<typename _TreeT::ValueType>>
class openvdb::v8_2::tools::CopyToDense< _TreeT, _DenseT >
Copy an OpenVDB tree into an existing dense grid.
- Note
- Only voxels that intersect the dense grid's bounding box are copied from the OpenVDB tree. But both active and inactive voxels are copied, so all existing values in the dense grid are overwritten, regardless of the OpenVDB tree's topology.
using ValueT = typename TreeT::ValueType |
void copy |
( |
bool |
serial = false | ) |
const |
|
inline |
void operator() |
( |
const CoordBBox & |
bbox | ) |
const |
|
inline |
Public method called by tbb::parallel_for.
The documentation for this class was generated from the following file: