OpenVDB  12.0.0
Public Types | Public Member Functions | List of all members
TreeToMerge< TreeT >::MaskUnionOp Struct Reference

DynamicNodeManager operator used to generate a mask of the input tree, but with dense leaf nodes replaced with active tiles for compactness. More...

#include <openvdb/tools/Merge.h>

Public Types

using MaskT = MaskTreeType
 
using RootT = typename MaskT::RootNodeType
 
using LeafT = typename MaskT::LeafNodeType
 

Public Member Functions

 MaskUnionOp (const TreeT &tree)
 
bool operator() (RootT &root, size_t) const
 
template<typename NodeT >
bool operator() (NodeT &node, size_t) const
 
bool operator() (LeafT &, size_t) const
 

Detailed Description

template<typename TreeT>
struct openvdb::v12_0::tools::TreeToMerge< TreeT >::MaskUnionOp

DynamicNodeManager operator used to generate a mask of the input tree, but with dense leaf nodes replaced with active tiles for compactness.

Member Typedef Documentation

using LeafT = typename MaskT::LeafNodeType
using RootT = typename MaskT::RootNodeType

Constructor & Destructor Documentation

MaskUnionOp ( const TreeT &  tree)
inlineexplicit

Member Function Documentation

bool operator() ( RootT root,
size_t   
) const
bool operator() ( NodeT &  node,
size_t   
) const
bool operator() ( LeafT ,
size_t   
) const
inline