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

#include <DenseSparseTools.h>

Public Types

typedef _TreeT TreeT
 
typedef TreeT::ValueType ValueT
 
typedef TreeT::LeafNodeType LeafT
 
typedef TreeT::template
ValueConverter< ValueMask >
::Type 
MaskTreeT
 
typedef MaskTreeT::LeafNodeType MaskLeafT
 
typedef Dense< ValueT,
openvdb::tools::LayoutZYX > 
DenseT
 
typedef
openvdb::math::Coord::ValueType 
Index
 
typedef tbb::blocked_range3d
< Index, Index, Index
Range3d
 

Public Member Functions

 SparseToDenseCompositor (DenseT &dense, const TreeT &source, const TreeT &alpha, const ValueT beta, const ValueT strength)
 
 SparseToDenseCompositor (const SparseToDenseCompositor &other)
 
void sparseComposite (bool threaded)
 
void operator() (const MaskLeafT &maskLeaf, size_t) const
 
void denseComposite (bool threaded)
 
void operator() (const Range3d &range) const
 

Static Public Member Functions

template<typename LeafT1 , typename LeafT2 >
static void compositeFromLeaf (DenseT &dense, const openvdb::math::CoordBBox &bbox, const LeafT1 &source, const LeafT2 &alpha, const ValueT beta, const ValueT strength)
 
static void compositeFromTile (DenseT &dense, openvdb::math::CoordBBox &bbox, const ValueT &sourceValue, const ValueT &alphaValue, const ValueT &beta, const ValueT &strength, bool threaded)
 

Detailed Description

template<typename CompositeMethod, typename _TreeT>
class openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >

Definition at line 805 of file DenseSparseTools.h.

Member Typedef Documentation

template<typename CompositeMethod, typename _TreeT>
typedef Dense<ValueT, openvdb::tools::LayoutZYX> openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::DenseT

Definition at line 814 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
typedef openvdb::math::Coord::ValueType openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::Index

Definition at line 815 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
typedef TreeT::LeafNodeType openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::LeafT

Definition at line 811 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
typedef MaskTreeT::LeafNodeType openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::MaskLeafT

Definition at line 813 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
typedef TreeT::template ValueConverter<ValueMask>::Type openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::MaskTreeT

Definition at line 812 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
typedef tbb::blocked_range3d<Index, Index, Index> openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::Range3d

Definition at line 816 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
typedef _TreeT openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::TreeT

Definition at line 809 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
typedef TreeT::ValueType openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::ValueT

Definition at line 810 of file DenseSparseTools.h.

Constructor & Destructor Documentation

template<typename CompositeMethod, typename _TreeT>
openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::SparseToDenseCompositor ( DenseT dense,
const TreeT source,
const TreeT alpha,
const ValueT  beta,
const ValueT  strength 
)
inline

Definition at line 818 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::SparseToDenseCompositor ( const SparseToDenseCompositor< CompositeMethod, _TreeT > &  other)
inline

Definition at line 823 of file DenseSparseTools.h.

Member Function Documentation

template<typename CompositeMethod, typename _TreeT>
template<typename LeafT1 , typename LeafT2 >
static void openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::compositeFromLeaf ( DenseT dense,
const openvdb::math::CoordBBox &  bbox,
const LeafT1 &  source,
const LeafT2 &  alpha,
const ValueT  beta,
const ValueT  strength 
)
inlinestatic

Definition at line 935 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
static void openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::compositeFromTile ( DenseT dense,
openvdb::math::CoordBBox &  bbox,
const ValueT sourceValue,
const ValueT alphaValue,
const ValueT beta,
const ValueT strength,
bool  threaded 
)
inlinestatic

Definition at line 985 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
void openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::denseComposite ( bool  threaded)
inline

Construct a range that corresponds to the bounding box of the dense volume

Definition at line 1001 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
void openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::operator() ( const MaskLeafT maskLeaf,
size_t   
) const
inline

Definition at line 885 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
void openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::operator() ( const Range3d range) const
inline

Definition at line 1024 of file DenseSparseTools.h.

template<typename CompositeMethod, typename _TreeT>
void openvdb::OPENVDB_VERSION_NAME::tools::SparseToDenseCompositor< CompositeMethod, _TreeT >::sparseComposite ( bool  threaded)
inline

Definition at line 829 of file DenseSparseTools.h.


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