HDK
|
Finds the active values in a tree which intersects a bounding box. Two methods are provided, one that counts the number of active values and one that simply tests if any active values intersect the bbox. More...
#include <vector>
#include <openvdb/version.h>
#include <openvdb/Types.h>
#include <openvdb/tree/ValueAccessor.h>
#include <tbb/blocked_range.h>
#include <tbb/parallel_reduce.h>
Go to the source code of this file.
Classes | |
class | openvdb::OPENVDB_VERSION_NAME::tools::FindActiveValues< TreeT > |
Finds the active values in a tree which intersects a bounding box. More... | |
struct | openvdb::OPENVDB_VERSION_NAME::tools::FindActiveValues< TreeT >::NodePairT |
Namespaces | |
openvdb | |
openvdb::OPENVDB_VERSION_NAME | |
openvdb::OPENVDB_VERSION_NAME::tools | |
Functions | |
template<typename TreeT > | |
bool | openvdb::OPENVDB_VERSION_NAME::tools::anyActiveValues (const TreeT &tree, const CoordBBox &bbox) |
Returns true if the bounding box intersects any of the active values in a tree, i.e. either active voxels or active tiles. More... | |
template<typename TreeT > | |
bool | openvdb::OPENVDB_VERSION_NAME::tools::noActiveValues (const TreeT &tree, const CoordBBox &bbox) |
Returns true if the bounding box intersects none of the active values in a tree, i.e. neither active voxels or active tiles. More... | |
template<typename TreeT > | |
Index64 | openvdb::OPENVDB_VERSION_NAME::tools::countActiveValues (const TreeT &tree, const CoordBBox &bbox) |
Returns the number of active values that intersects a bounding box intersects, i.e. the count includes both active voxels and virtual voxels in active tiles. More... | |
template<typename TreeT > | |
bool | openvdb::OPENVDB_VERSION_NAME::tools::countActiveValues (const TreeT &tree, const CoordBBox &bbox) |
Returns the number of active values that intersects a bounding box intersects, i.e. the count includes both active voxels and virtual voxels in active tiles. More... | |
Finds the active values in a tree which intersects a bounding box. Two methods are provided, one that counts the number of active values and one that simply tests if any active values intersect the bbox.
Definition in file FindActiveValues.h.