HDK
|
Iteration over a range of keys returned from a UT_PointGrid query. More...
#include <UT_PointGrid.h>
Classes | |
struct | UT_PointGridSequence |
Public Types | |
typedef T::indextype | indextype |
typedef T::keytype | keytype |
Public Member Functions | |
UT_PointGridIterator () | |
exint | entries () const |
The total number of keys over which this iterator will iterate. More... | |
exint | numSequences () const |
bool | isValid () const |
Test to see whether the iterator is valid. More... | |
void | rewind () |
bool | atEnd () const |
void | advance () |
keytype | getValue () const |
keytype | operator* () const |
Protected Types | |
typedef UT_ValArray < UT_PointGridSequence > | queuetype |
Protected Member Functions | |
UT_PointGridIterator (const UT_PointGrid< T > *grid, queuetype &queue) | |
void | advanceSequence () |
Protected Attributes | |
queuetype * | mySequences |
indextype | myCurIdx |
indextype | myCurEnd |
exint | myCurSequence |
const UT_PointGrid< T > * | myGrid |
Friends | |
class | UT_PointGrid< T > |
Iteration over a range of keys returned from a UT_PointGrid query.
An iterator is used to iterate over the results of a query into UT_PointGrid. of a given range. The UT_PointGrid query functions return iterators already rewound, so in most cases there is no need for an explicit rewind() call.
Definition at line 30 of file UT_PointGrid.h.
typedef T::indextype UT_PointGridIterator< T >::indextype |
Definition at line 33 of file UT_PointGrid.h.
typedef T::keytype UT_PointGridIterator< T >::keytype |
Definition at line 34 of file UT_PointGrid.h.
|
protected |
Definition at line 72 of file UT_PointGrid.h.
UT_PointGridIterator< T >::UT_PointGridIterator | ( | ) |
Definition at line 25 of file UT_PointGridImpl.h.
|
protected |
Definition at line 31 of file UT_PointGridImpl.h.
void UT_PointGridIterator< T >::advance | ( | ) |
Standard iterator methods.
Definition at line 73 of file UT_PointGridImpl.h.
|
protected |
Definition at line 57 of file UT_PointGridImpl.h.
bool UT_PointGridIterator< T >::atEnd | ( | ) | const |
Standard iterator methods.
Definition at line 50 of file UT_PointGridImpl.h.
exint UT_PointGridIterator< T >::entries | ( | ) | const |
The total number of keys over which this iterator will iterate.
Definition at line 89 of file UT_PointGridImpl.h.
UT_PointGridIterator< T >::keytype UT_PointGridIterator< T >::getValue | ( | ) | const |
Query state of the iterator
Definition at line 81 of file UT_PointGridImpl.h.
|
inline |
Test to see whether the iterator is valid.
Definition at line 62 of file UT_PointGrid.h.
|
inline |
The total number of occupied point grid voxels over which this iterator will iterate.
Definition at line 59 of file UT_PointGrid.h.
|
inline |
Query state of the iterator
Definition at line 51 of file UT_PointGrid.h.
void UT_PointGridIterator< T >::rewind | ( | ) |
Standard iterator methods.
Definition at line 40 of file UT_PointGridImpl.h.
|
friend |
Definition at line 84 of file UT_PointGrid.h.
|
protected |
Definition at line 81 of file UT_PointGrid.h.
|
protected |
Definition at line 80 of file UT_PointGrid.h.
|
protected |
Definition at line 82 of file UT_PointGrid.h.
|
protected |
Definition at line 83 of file UT_PointGrid.h.
|
protected |
Definition at line 79 of file UT_PointGrid.h.