Functor-based class used to extract data from a dense grid, at the index-space intersection with a supplied mask in the form of a sparse tree. The extractSparseTreeWithMask function wraps this class.
More...
#include <openvdb/tools/DenseSparseTools.h>
Public Types | |
| using | _ResultTreeType = typename DSConverter<DenseType, MaskTreeType>::Type |
| using | ResultTreeType = _ResultTreeType |
| using | ResultLeafNodeType = typename ResultTreeType::LeafNodeType |
| using | ResultValueType = typename ResultTreeType::ValueType |
| using | DenseValueType = ResultValueType |
| using | MaskTree = typename ResultTreeType::template ValueConverter<ValueMask>::Type |
| using | MaskLeafCIter = typename MaskTree::LeafCIter |
| using | MaskLeafVec = std::vector<const typename MaskTree::LeafNodeType*> |
Public Member Functions | |
| SparseMaskedExtractor (const DenseType &dense, const ResultValueType &background, const MaskLeafVec &leafVec) | |
| SparseMaskedExtractor (const SparseMaskedExtractor &other, tbb::split) | |
| ResultTreeType::Ptr | extract (bool threaded=true) |
| void | operator() (const tbb::blocked_range< size_t > &range) |
| void | join (SparseMaskedExtractor &rhs) |
Functor-based class used to extract data from a dense grid, at the index-space intersection with a supplied mask in the form of a sparse tree. The extractSparseTreeWithMask function wraps this class.
| using _ResultTreeType = typename DSConverter<DenseType, MaskTreeType>::Type |
| using DenseValueType = ResultValueType |
| using MaskLeafCIter = typename MaskTree::LeafCIter |
| using MaskLeafVec = std::vector<const typename MaskTree::LeafNodeType*> |
| using MaskTree = typename ResultTreeType::template ValueConverter<ValueMask>::Type |
| using ResultLeafNodeType = typename ResultTreeType::LeafNodeType |
| using ResultTreeType = _ResultTreeType |
| using ResultValueType = typename ResultTreeType::ValueType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |