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

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

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

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

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: