OpenVDB  8.1.1
Public Types | Public Member Functions | Public Attributes | List of all members
ActiveVoxelCountOp< TreeType > Struct Template Reference

A DynamicNodeManager operator to count active voxels in a tree. More...

#include <Count.h>

Public Types

using LeafT = typename TreeType::LeafNodeType
 

Public Member Functions

 ActiveVoxelCountOp ()=default
 
 ActiveVoxelCountOp (const ActiveVoxelCountOp &, tbb::split)
 
template<typename NodeT >
bool operator() (const NodeT &node, size_t)
 
bool operator() (const LeafT &leaf, size_t)
 
void join (const ActiveVoxelCountOp &other)
 

Public Attributes

openvdb::Index64 count {0}
 

Detailed Description

template<typename TreeType>
struct openvdb::v8_1::tools::count_internal::ActiveVoxelCountOp< TreeType >

A DynamicNodeManager operator to count active voxels in a tree.

Member Typedef Documentation

using LeafT = typename TreeType::LeafNodeType

Constructor & Destructor Documentation

ActiveVoxelCountOp ( )
default
ActiveVoxelCountOp ( const ActiveVoxelCountOp< TreeType > &  ,
tbb::split   
)
inline

Member Function Documentation

void join ( const ActiveVoxelCountOp< TreeType > &  other)
inline
bool operator() ( const NodeT &  node,
size_t   
)
inline
bool operator() ( const LeafT leaf,
size_t   
)
inline

Member Data Documentation

openvdb::Index64 count {0}

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