OpenVDB
9.0.1
|
#include <openvdb/tree/TreeIterator.h>
Public Member Functions | |
IteratorRange (const IterT &iter, size_t grainSize=8) | |
IteratorRange (IteratorRange &other, tbb::split) | |
const IterT & | iterator () const |
Return a reference to this range's iterator. More... | |
bool | empty () const |
bool | test () const |
operator bool () const | |
bool | is_divisible () const |
Return true if this range is splittable (i.e., if the iterator can be advanced more than mGrainSize times). More... | |
void | increment (Index n=1) |
Advance the iterator n times. More... | |
IteratorRange & | operator++ () |
Advance the iterator to the next item. More... | |
bool | next () |
Advance the iterator to the next item. More... | |
An IteratorRange wraps a tree or node iterator, giving the iterator TBB splittable range semantics.
|
inline |
|
inline |
|
inline |
|
inline |
Advance the iterator n times.
|
inline |
Return true
if this range is splittable (i.e., if the iterator can be advanced more than mGrainSize times).
|
inline |
Return a reference to this range's iterator.
|
inline |
Advance the iterator to the next item.
true
if the iterator is not yet exhausted.
|
inline |
|
inline |
Advance the iterator to the next item.
|
inline |