OpenVDB  3.2.0
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

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

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::v3_2_0::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

§ OutLeafT

typedef OutTreeT::LeafNodeType OutLeafT

§ OutTreeT

typedef VIndexTreeType::template ValueConverter<TreeValueType>::Type OutTreeT

§ VectorT

typedef math::pcg::Vector<VectorValueType> VectorT

§ VIdxLeafT

typedef VIndexTreeType::LeafNodeType VIdxLeafT

Constructor & Destructor Documentation

§ CopyFromVecOp()

CopyFromVecOp ( const VectorT v,
OutTreeT t 
)
inline

Member Function Documentation

§ operator()()

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

Member Data Documentation

§ tree

OutTreeT* tree

§ vector

const VectorT* vector

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