Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Index iterator operating used by DrawArrays. More...
#include <IndexIterator.hpp>
Public Member Functions | |
IndexIteratorDrawArrays () | |
void | initialize (int start, int count) |
virtual bool | hasNext () const |
virtual bool | next () |
Protected Attributes | |
int | mStart |
int | mCount |
int | mCurPos |
Index iterator operating used by DrawArrays.
Definition at line 85 of file IndexIterator.hpp.
vl::IndexIteratorDrawArrays::IndexIteratorDrawArrays | ( | ) | [inline] |
Definition at line 90 of file IndexIterator.hpp.
References initialize(), and VL_DEBUG_SET_OBJECT_NAME.
void vl::IndexIteratorDrawArrays::initialize | ( | int | start, |
int | count | ||
) | [inline] |
Definition at line 96 of file IndexIterator.hpp.
References mCount, mCurPos, vl::IndexIteratorAbstract::mIndex, and mStart.
Referenced by IndexIteratorDrawArrays().
virtual bool vl::IndexIteratorDrawArrays::hasNext | ( | ) | const [inline, virtual] |
Implements vl::IndexIteratorAbstract.
Definition at line 104 of file IndexIterator.hpp.
virtual bool vl::IndexIteratorDrawArrays::next | ( | ) | [inline, virtual] |
Implements vl::IndexIteratorAbstract.
Definition at line 109 of file IndexIterator.hpp.
References mCurPos, and vl::IndexIteratorAbstract::mIndex.
int vl::IndexIteratorDrawArrays::mStart [protected] |
Definition at line 117 of file IndexIterator.hpp.
Referenced by hasNext(), and initialize().
int vl::IndexIteratorDrawArrays::mCount [protected] |
Definition at line 118 of file IndexIterator.hpp.
Referenced by hasNext(), and initialize().
int vl::IndexIteratorDrawArrays::mCurPos [protected] |
Definition at line 119 of file IndexIterator.hpp.
Referenced by hasNext(), initialize(), and next().