OpenVDB  8.1.1
Public Types | Public Member Functions | Public Attributes | List of all members
CopyFromVecOp< TreeValueType, VIndexTreeType, VectorValueType > Struct Template Reference

Functor for use with LeafManager::foreach() to populate a tree with values from a vector. More...

#include <PoissonSolver.h>

Public Types

using OutTreeT = typename VIndexTreeType::template ValueConverter< TreeValueType >::Type
 
using OutLeafT = typename OutTreeT::LeafNodeType
 
using VIdxLeafT = typename VIndexTreeType::LeafNodeType
 
using VectorT = typename math::pcg::Vector< VectorValueType >
 

Public Member Functions

 CopyFromVecOp (const VectorT &v, OutTreeT &t)
 
void operator() (const VIdxLeafT &idxLeaf, size_t) const
 

Public Attributes

const VectorTvector
 
OutTreeTtree
 

Detailed Description

template<typename TreeValueType, typename VIndexTreeType, typename VectorValueType>
struct openvdb::v8_1::tools::poisson::internal::CopyFromVecOp< TreeValueType, VIndexTreeType, VectorValueType >

Functor for use with LeafManager::foreach() to populate a tree with values from a vector.

Member Typedef Documentation

using OutLeafT = typename OutTreeT::LeafNodeType
using OutTreeT = typename VIndexTreeType::template ValueConverter<TreeValueType>::Type
using VectorT = typename math::pcg::Vector<VectorValueType>
using VIdxLeafT = typename VIndexTreeType::LeafNodeType

Constructor & Destructor Documentation

CopyFromVecOp ( const VectorT v,
OutTreeT t 
)
inline

Member Function Documentation

void operator() ( const VIdxLeafT idxLeaf,
size_t   
) const
inline

Member Data Documentation

OutTreeT* tree
const VectorT* vector

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