OpenVDB  9.0.1
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
SparseToDenseCompositor< CompositeMethod, _TreeT > Class Template Reference

#include <openvdb/tools/DenseSparseTools.h>

Public Types

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

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)
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

SparseToDenseCompositor ( DenseT dense,
const TreeT source,
const TreeT alpha,
const ValueT  beta,
const ValueT  strength 
)
inline
SparseToDenseCompositor ( const SparseToDenseCompositor< CompositeMethod, _TreeT > &  other)
inline

Member Function Documentation

static void compositeFromLeaf ( DenseT dense,
const openvdb::math::CoordBBox &  bbox,
const LeafT1 &  source,
const LeafT2 &  alpha,
const ValueT  beta,
const ValueT  strength 
)
inlinestatic
static void compositeFromTile ( DenseT dense,
openvdb::math::CoordBBox &  bbox,
const ValueT sourceValue,
const ValueT alphaValue,
const ValueT beta,
const ValueT strength,
bool  threaded 
)
inlinestatic
void denseComposite ( bool  threaded)
inline
void operator() ( const MaskLeafT maskLeaf,
size_t   
) const
inline
void operator() ( const Range3d range) const
inline
void sparseComposite ( bool  threaded)
inline