HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Count.h File Reference

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

+ Include dependency graph for Count.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 openvdb
 
 openvdb::OPENVDB_VERSION_NAME
 
 openvdb::OPENVDB_VERSION_NAME::tools
 

Functions

template<typename TreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::tools::countActiveVoxels (const TreeT &tree, bool threaded=true)
 Return the total number of active voxels in the tree. More...
 
template<typename TreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::tools::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 openvdb::OPENVDB_VERSION_NAME::tools::countActiveLeafVoxels (const TreeT &tree, bool threaded=true)
 Return the total number of active voxels stored in leaf nodes. More...
 
template<typename TreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::tools::countActiveLeafVoxels (const TreeT &tree, const CoordBBox &bbox, bool threaded=true)
 Return the total number of active voxels stored in leaf nodes that intersects a bounding box. More...
 
template<typename TreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::tools::countInactiveVoxels (const TreeT &tree, bool threaded=true)
 Return the total number of inactive voxels in the tree. More...
 
template<typename TreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::tools::countInactiveLeafVoxels (const TreeT &tree, bool threaded=true)
 Return the total number of inactive voxels stored in leaf nodes. More...
 
template<typename TreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::tools::countActiveTiles (const TreeT &tree, bool threaded=true)
 Return the total number of active tiles in the tree. More...
 
template<typename TreeT >
Index64 openvdb::OPENVDB_VERSION_NAME::tools::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

Definition in file Count.h.