#include <openvdb/tools/FindActiveValues.h>
◆ TileDataT
◆ RootChild()
◆ ~FindActiveValues()
◆ activeTiles()
std::vector< TileData< typename TreeT::ValueType > > activeTiles |
( |
const CoordBBox & | bbox | ) |
const |
Return a vector with bounding boxes that represents all the intersections between active tiles in the tree and the specified bounding box.
◆ anyActiveTiles()
Returns true if the specified bounding box intersects any active tiles only.
◆ anyActiveValues()
Returns true if the specified bounding box intersects any active values.
- Warning
- Using a ValueAccessor (i.e. useAccessor = true) can improve performance for especially small bounding boxes, but at the cost of no thread-safety. So if multiple threads are calling this method concurrently use the default setting, useAccessor = false.
◆ anyActiveVoxels()
Returns true if the specified bounding box intersects any active tiles only.
◆ count()
Returns the number of active voxels intersected by the specified bounding box.
◆ FindActiveValues()
Constructor from a const tree, which is assumed not to be modified after construction.
◆ noActiveValues()
Returns true if the specified bounding box does not intersect any active values.
- Warning
- Using a ValueAccessor (i.e. useAccessor = true) can improve performance for especially small bounding boxes, but at the cost of no thread-safety. So if multiple threads are calling this method concurrently use the default setting, useAccessor = false.
◆ update()
void update |
( |
const TreeT & | tree | ) |
|
Initiate this class with a new (or modified) tree.
◆ bbox
◆ child
template<typename TreeT>
const RootChildType* child |