OpenVDB  4.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
CopyToVecOp< VectorValueType, SourceTreeType > Struct Template Reference

Functor for use with LeafManager::foreach() to populate a vector with the values of a tree's active voxels. More...

#include <PoissonSolver.h>

Public Types

typedef SourceTreeType::template ValueConverter< VIndex >::Type VIdxTreeT
 
typedef VIdxTreeT::LeafNodeType VIdxLeafT
 
typedef SourceTreeType::LeafNodeType LeafT
 
typedef SourceTreeType::ValueType TreeValueT
 
typedef math::pcg::Vector< VectorValueType > VectorT
 

Public Member Functions

 CopyToVecOp (const SourceTreeType &t, VectorT &v)
 
void operator() (const VIdxLeafT &idxLeaf, size_t) const
 

Public Attributes

const SourceTreeType * tree
 
VectorTvector
 

Detailed Description

template<typename VectorValueType, typename SourceTreeType>
struct openvdb::v4_0_1::tools::poisson::internal::CopyToVecOp< VectorValueType, SourceTreeType >

Functor for use with LeafManager::foreach() to populate a vector with the values of a tree's active voxels.

Member Typedef Documentation

typedef SourceTreeType::LeafNodeType LeafT
typedef SourceTreeType::ValueType TreeValueT
typedef math::pcg::Vector<VectorValueType> VectorT
typedef VIdxTreeT::LeafNodeType VIdxLeafT
typedef SourceTreeType::template ValueConverter<VIndex>::Type VIdxTreeT

Constructor & Destructor Documentation

CopyToVecOp ( const SourceTreeType &  t,
VectorT v 
)
inline

Member Function Documentation

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

Member Data Documentation

const SourceTreeType* tree
VectorT* vector

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