OpenVDB: ActiveVoxelCountBBoxOp< TreeType > Struct Template Reference

OpenVDB 8.1.0

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

A DynamicNodeManager operator to count active voxels in a tree that fall within a provided bounding box. More...

`#include <Count.h>`

## Public Types
using | LeafT = typename TreeType::LeafNodeType

## Public Member Functions
| ActiveVoxelCountBBoxOp (const CoordBBox &bbox)
| ActiveVoxelCountBBoxOp (const ActiveVoxelCountBBoxOp &other, tbb::split)
template<typename NodeT >
bool | operator() (const NodeT &node, size_t)
bool | operator() (const LeafT &leaf, size_t)
void | join (const ActiveVoxelCountBBoxOp &other)

## Public Attributes
openvdb::Index64 | count {0}

## Detailed Description

### template<typename TreeType>
struct openvdb::v8_1::tools::count_internal::ActiveVoxelCountBBoxOp< TreeType >

A DynamicNodeManager operator to count active voxels in a tree that fall within a provided bounding box.

## Member Typedef Documentation

## ◆ LeafT

using LeafT = typename TreeType::LeafNodeType

## Constructor & Destructor Documentation

## ◆ ActiveVoxelCountBBoxOp() [1/2]

ActiveVoxelCountBBoxOp | ( | const CoordBBox & | bbox | ) |
| inlineexplicit

## ◆ ActiveVoxelCountBBoxOp() [2/2]

ActiveVoxelCountBBoxOp | ( | const ActiveVoxelCountBBoxOp< TreeType > & | other,
|  | tbb::split |
| ) |  |
| inline

## Member Function Documentation

## ◆ join()

void join | ( | const ActiveVoxelCountBBoxOp< TreeType > & | other | ) |
| inline

## ◆ operator()() [1/2]

bool operator() | ( | const LeafT & | leaf,
|  | size_t |
| ) |  |
| inline

## ◆ operator()() [2/2]

bool operator() | ( | const NodeT & | node,
|  | size_t |
| ) |  |
| inline

## Member Data Documentation

## ◆ count

openvdb::Index64 count {0}

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

- Count.h