|
HDK
|
#include <tbb/parallel_reduce.h>#include <tbb/blocked_range3d.h>#include <tbb/blocked_range2d.h>#include <tbb/blocked_range.h>#include <openvdb/Types.h>#include <openvdb/tree/LeafManager.h>#include "Dense.h"#include <algorithm>#include <vector>
Include dependency graph for DenseSparseTools.h:Go to the source code of this file.
Namespaces | |
| openvdb | |
| openvdb::OPENVDB_VERSION_NAME | |
| openvdb::OPENVDB_VERSION_NAME::tools | |
| openvdb::OPENVDB_VERSION_NAME::tools::ds | |
Functions | |
| template<typename OpType , typename DenseType > | |
| OpType::ResultTreeType::Ptr | openvdb::OPENVDB_VERSION_NAME::tools::extractSparseTree (const DenseType &dense, const OpType &functor, const typename OpType::ResultValueType &background, bool threaded=true) |
| Selectively extract and transform data from a dense grid, producing a sparse tree with leaf nodes only (e.g. create a tree from the square of values greater than a cutoff.) More... | |
| template<typename DenseType , typename MaskTreeType > | |
| DSConverter< DenseType, MaskTreeType >::Type::Ptr | openvdb::OPENVDB_VERSION_NAME::tools::extractSparseTreeWithMask (const DenseType &dense, const MaskTreeType &mask, const typename DenseType::ValueType &background, bool threaded=true) |
| Copy data from the intersection of a sparse tree and a dense input grid. The resulting tree has the same configuration as the sparse tree, but holds the data type specified by the dense input. More... | |
| template<typename ValueT , typename OpType > | |
| void | openvdb::OPENVDB_VERSION_NAME::tools::transformDense (Dense< ValueT, openvdb::tools::LayoutZYX > &dense, const openvdb::CoordBBox &bbox, const OpType &op, bool parallel=true) |
| template<DSCompositeOp , typename TreeT > | |
| void | openvdb::OPENVDB_VERSION_NAME::tools::compositeToDense (Dense< typename TreeT::ValueType, LayoutZYX > &dense, const TreeT &source, const TreeT &alpha, const typename TreeT::ValueType beta, const typename TreeT::ValueType strength, bool threaded=true) |
| Composite data from a sparse tree into a dense array of the same value type. More... | |
| template<typename ValueT , typename PointwiseOpT > | |
| void | openvdb::OPENVDB_VERSION_NAME::tools::transformDense (Dense< ValueT, openvdb::tools::LayoutZYX > &dense, const openvdb::CoordBBox &bbox, const PointwiseOpT &functor, bool parallel) |
| Apply a point-wise functor to the intersection of a dense grid and a given bounding box. More... | |