HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType > Class Template Reference

Functor-based class used to extract data that satisfies some criteria defined by the embedded OpType functor. The extractSparseTree function wraps this class. More...

#include <DenseSparseTools.h>

Public Types

typedef
openvdb::math::Coord::ValueType 
Index
 
typedef DenseType::ValueType DenseValueType
 
typedef OpType::ResultTreeType ResultTreeType
 
typedef ResultTreeType::ValueType ResultValueType
 
typedef
ResultTreeType::LeafNodeType 
ResultLeafNodeType
 
typedef
ResultTreeType::template
ValueConverter< ValueMask >
::Type 
MaskTree
 
typedef tbb::blocked_range3d
< Index, Index, Index
Range3d
 

Public Member Functions

 SparseExtractor (const DenseType &dense, const OpType &functor, const ResultValueType background)
 
 SparseExtractor (const DenseType &dense, const openvdb::math::CoordBBox &bbox, const OpType &functor, const ResultValueType background)
 
 SparseExtractor (SparseExtractor &other, tbb::split)
 
ResultTreeType::Ptr extract (bool threaded=true)
 
void operator() (const Range3d &range)
 
void join (SparseExtractor &rhs)
 

Detailed Description

template<typename OpType, typename DenseType>
class openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >

Functor-based class used to extract data that satisfies some criteria defined by the embedded OpType functor. The extractSparseTree function wraps this class.

Definition at line 197 of file DenseSparseTools.h.

Member Typedef Documentation

template<typename OpType, typename DenseType>
typedef DenseType::ValueType openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::DenseValueType

Definition at line 204 of file DenseSparseTools.h.

template<typename OpType, typename DenseType>
typedef openvdb::math::Coord::ValueType openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::Index

Definition at line 202 of file DenseSparseTools.h.

template<typename OpType, typename DenseType>
typedef ResultTreeType::template ValueConverter<ValueMask>::Type openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::MaskTree

Definition at line 208 of file DenseSparseTools.h.

template<typename OpType, typename DenseType>
typedef tbb::blocked_range3d<Index, Index, Index> openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::Range3d

Definition at line 210 of file DenseSparseTools.h.

template<typename OpType, typename DenseType>
typedef ResultTreeType::LeafNodeType openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::ResultLeafNodeType

Definition at line 207 of file DenseSparseTools.h.

template<typename OpType, typename DenseType>
typedef OpType::ResultTreeType openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::ResultTreeType

Definition at line 205 of file DenseSparseTools.h.

template<typename OpType, typename DenseType>
typedef ResultTreeType::ValueType openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::ResultValueType

Definition at line 206 of file DenseSparseTools.h.

Constructor & Destructor Documentation

template<typename OpType, typename DenseType>
openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::SparseExtractor ( const DenseType &  dense,
const OpType &  functor,
const ResultValueType  background 
)
inline

Definition at line 226 of file DenseSparseTools.h.

template<typename OpType, typename DenseType>
openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::SparseExtractor ( const DenseType &  dense,
const openvdb::math::CoordBBox &  bbox,
const OpType &  functor,
const ResultValueType  background 
)
inline

Definition at line 236 of file DenseSparseTools.h.

template<typename OpType, typename DenseType>
openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::SparseExtractor ( SparseExtractor< OpType, DenseType > &  other,
tbb::split   
)
inline

Definition at line 253 of file DenseSparseTools.h.

Member Function Documentation

template<typename OpType, typename DenseType>
ResultTreeType::Ptr openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::extract ( bool  threaded = true)
inline

Definition at line 261 of file DenseSparseTools.h.

template<typename OpType, typename DenseType>
void openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::join ( SparseExtractor< OpType, DenseType > &  rhs)
inline

Definition at line 413 of file DenseSparseTools.h.

template<typename OpType, typename DenseType>
void openvdb::OPENVDB_VERSION_NAME::tools::SparseExtractor< OpType, DenseType >::operator() ( const Range3d range)
inline

Definition at line 307 of file DenseSparseTools.h.


The documentation for this class was generated from the following file: