OpenVDB  8.1.0
Classes | Namespaces | Functions
Count.h File Reference

Functions to count tiles, nodes or voxels in a grid. More...

#include <openvdb/version.h>
#include <openvdb/tree/NodeManager.h>

Go to the source code of this file.

Classes

struct  ActiveVoxelCountOp< TreeType >
 A DynamicNodeManager operator to count active voxels in a tree. More...
 
struct  ActiveVoxelCountBBoxOp< TreeType >
 A DynamicNodeManager operator to count active voxels in a tree that fall within a provided bounding box. More...
 
struct  MemUsageOp< TreeType >
 A DynamicNodeManager operator to sum the number of bytes of memory used. More...
 

Namespaces

 openvdb
 
 openvdb::v8_1
 
 openvdb::v8_1::tools
 
 openvdb::v8_1::tools::count_internal
 

Functions

template<typename TreeT >
Index64 countActiveVoxels (const TreeT &tree, bool threaded=true)
 Return the total number of active voxels in the tree. More...
 
template<typename TreeT >
Index64 countActiveVoxels (const TreeT &tree, const CoordBBox &bbox, bool threaded=true)
 Return the total number of active voxels in the tree that intersects a bounding box. More...
 
template<typename TreeT >
Index64 memUsage (const TreeT &tree, bool threaded=true)
 Return the total amount of memory in bytes occupied by this tree. More...
 

Detailed Description

Functions to count tiles, nodes or voxels in a grid.

Author
Dan Bailey