![]() |
VR-Forces 4.5 Class Documentation
|
File: lclVecIter.h. More...

Public Member Functions | |
| DtLocalVectorIterator () | |
| DtLocalVectorIterator (const DtLocalVectorIterator &orig) | |
| Constructor. | |
| DtLocalVectorIterator (const DtList &list) | |
| virtual | ~DtLocalVectorIterator () |
| bool | setToClosest (DtVector point) |
Public Member Functions inherited from DtIteratorBase< DtLocalVector > | |
| DtIteratorBase (const DtList &list) | |
| Constructor. Supply the DtList to be iterated over. | |
| DtIteratorBase (const DtIteratorBase &orig) | |
| Copy constructor. | |
| virtual | ~DtIteratorBase () |
| virtual unsigned int | size () const |
| virtual bool | empty () const |
| virtual const DtList & | list () |
| virtual bool | reset (bool reverse=false) |
| Sets the cursor and the direction of this iterator over the list. | |
| virtual bool | reset (DtIteratorLocation location, DtIteratorDirection direction=DtIteratorForward) |
| Sets the cursor and the direction of this iterator over the list. | |
| virtual void | reverse () |
| Reverses the direction if this iterator. The cursor is not moved. | |
| virtual void | setDirection (DtIteratorDirection direction) |
| Sets the direction of this iterator. The cursor is not moved. | |
| virtual DtIteratorDirection | direction () |
| Returns the current direction of the iterator. | |
| virtual int | cursorIndex () const |
| Returns current cursor index in list. | |
| virtual void | setCursorIndex (int i) |
| virtual DtLocalVector * | internalFirst (bool move=true) |
| Returns the first vertex in the list if going DtIteratorForward, and the last vertex if going DtIteratorReverse. | |
| DtLocalVector * | operator-> () |
| DtLocalVector * | operator* () |
| virtual DtLocalVector * | internalCurrent () const |
| Returns the current vertex. The cursor is not moved. | |
| virtual DtListItem * | cursor () const |
| Returns the current cursor. Use with caution. | |
| virtual DtLocalVector * | itemToObject (DtListItem *item, bool move) |
| virtual DtLocalVector * | internalNext (bool move=true) |
| virtual DtLocalVector * | internalLast (bool move=true) |
| Returns the last vertex in the list if going DtIteratorForward, and the first vertex if going DtIteratorReverse. | |
| virtual DtLocalVector * | internalWrapNext (bool move=true) |
| If the cursor is 0, returns 0 (move is ignored in this case). | |
| virtual DtLocalVector * | internalPrev (bool move=true) |
| If the cursor is 0, returns 0 (move is ignored in this case). | |
| virtual DtLocalVector * | internalWrapPrev (bool move=true) |
| virtual DtLocalVector * | current () |
| virtual DtLocalVector * | first (bool move=true) |
| virtual DtLocalVector * | next (bool move=true) |
| virtual DtLocalVector * | prev (bool move=true) |
| virtual DtLocalVector * | last (bool move=true) |
| virtual DtLocalVector * | wrapNext (bool move=true) |
| virtual DtLocalVector * | wrapPrev (bool move=true) |
| DtLocalVector * | operator++ () |
| DtLocalVector * | operator-- () |
Private Member Functions | |
| const DtLocalVectorIterator & | operator= (const DtLocalVectorIterator &orig) |
| Assignment Operator. | |
Additional Inherited Members | |
Protected Attributes inherited from DtIteratorBase< DtLocalVector > | |
| const DtList & | myList |
| DtListItem * | myCursor |
| DtIteratorDirection | myDirection |
File: lclVecIter.h.
Class: DtLocalVectorIteratorDescription: DtLocalVectorIterator is an iterator for iterating over a DtList of DtLocalVector pointers (as in a DtVertexList).
| DtLocalVectorIterator::DtLocalVectorIterator | ( | ) |
|
inline |
Constructor.
Supply the DtList to be iterated over. Copy constructor
|
inline |
|
inlinevirtual |
|
private |
Assignment Operator.
References DtVertexList::getClosestVertex().