HDK
|
Copy the values from a dense grid into an OpenVDB tree. More...
#include <Dense.h>
Public Types | |
using | DenseT = _DenseT |
using | TreeT = _TreeT |
using | ValueT = typename TreeT::ValueType |
using | LeafT = typename TreeT::LeafNodeType |
using | AccessorT = tree::ValueAccessor< TreeT > |
Public Member Functions | |
CopyFromDense (const DenseT &dense, TreeT &tree, const ValueT &tolerance) | |
CopyFromDense (const CopyFromDense &other) | |
void | copy (bool serial=false) |
Copy values from the dense grid to the sparse tree. More... | |
void | operator() (const tbb::blocked_range< size_t > &r) const |
Public method called by tbb::parallel_for. More... | |
Copy the values from a dense grid into an OpenVDB tree.
Values in the dense grid that are within a tolerance of the background value are truncated to inactive background voxels or tiles. This allows the tree to form a sparse representation of the dense grid.
new
like the one provided by TBB, rather than the mutex-protected standard library new
. using openvdb::OPENVDB_VERSION_NAME::tools::CopyFromDense< _TreeT, _DenseT >::AccessorT = tree::ValueAccessor<TreeT> |
using openvdb::OPENVDB_VERSION_NAME::tools::CopyFromDense< _TreeT, _DenseT >::DenseT = _DenseT |
using openvdb::OPENVDB_VERSION_NAME::tools::CopyFromDense< _TreeT, _DenseT >::LeafT = typename TreeT::LeafNodeType |
using openvdb::OPENVDB_VERSION_NAME::tools::CopyFromDense< _TreeT, _DenseT >::TreeT = _TreeT |
using openvdb::OPENVDB_VERSION_NAME::tools::CopyFromDense< _TreeT, _DenseT >::ValueT = typename TreeT::ValueType |
|
inline |
|
inline |
|
inline |
|
inline |