Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
For internal use only. More...
#include <LineIterator.hpp>
Public Member Functions | |
LineIteratorDirect (EPrimitiveType prim_type=PT_UNKNOWN) | |
bool | hasNext () const |
virtual int | a () const |
virtual int | b () const |
void | initialize (int start, int end) |
bool | next () |
For internal use only.
See vl::LineIterator instead.
Definition at line 240 of file LineIterator.hpp.
vl::LineIteratorDirect::LineIteratorDirect | ( | EPrimitiveType | prim_type = PT_UNKNOWN | ) | [inline] |
Definition at line 245 of file LineIterator.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
bool vl::LineIteratorDirect::hasNext | ( | ) | const [inline, virtual] |
Implements vl::LineIteratorAbstract.
Definition at line 254 of file LineIterator.hpp.
virtual int vl::LineIteratorDirect::a | ( | ) | const [inline, virtual] |
Implements vl::LineIteratorAbstract.
Definition at line 256 of file LineIterator.hpp.
virtual int vl::LineIteratorDirect::b | ( | ) | const [inline, virtual] |
Implements vl::LineIteratorAbstract.
Definition at line 257 of file LineIterator.hpp.
void vl::LineIteratorDirect::initialize | ( | int | start, |
int | end | ||
) | [inline] |
Definition at line 259 of file LineIterator.hpp.
References vl::PT_LINE_LOOP, vl::PT_LINE_STRIP, vl::PT_LINES, and VL_CHECK.
bool vl::LineIteratorDirect::next | ( | ) | [inline, virtual] |
if (mEven) {
} else { mA = mCurrentIndex + 0; mB = mCurrentIndex + 2; }
Implements vl::LineIteratorAbstract.
Definition at line 281 of file LineIterator.hpp.
References vl::PT_LINE_LOOP, vl::PT_LINE_STRIP, vl::PT_LINES, and VL_TRAP.