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 | |
| LineIteratorIndexed () | |
| LineIteratorIndexed (const TArray *idx_array, EPrimitiveType prim_type, int base_vert, bool prim_restart_on, unsigned int prim_restart_idx) | |
| bool | hasNext () const |
| virtual int | a () const |
| virtual int | b () const |
| void | initialize (int start=0, int end=-1) |
| bool | next () |
| void | setBaseVertex (int base_vert) |
| int | baseVertex () const |
For internal use only.
See vl::LineIterator instead.
Definition at line 59 of file LineIterator.hpp.
| vl::LineIteratorIndexed< TArray >::LineIteratorIndexed | ( | ) | [inline] |
Definition at line 65 of file LineIterator.hpp.
References NULL, vl::PT_UNKNOWN, and VL_DEBUG_SET_OBJECT_NAME.
| vl::LineIteratorIndexed< TArray >::LineIteratorIndexed | ( | const TArray * | idx_array, |
| EPrimitiveType | prim_type, | ||
| int | base_vert, | ||
| bool | prim_restart_on, | ||
| unsigned int | prim_restart_idx | ||
| ) | [inline] |
Definition at line 80 of file LineIterator.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
| bool vl::LineIteratorIndexed< TArray >::hasNext | ( | ) | const [inline, virtual] |
Implements vl::LineIteratorAbstract.
Reimplemented in vl::LineIteratorMulti< TArray >.
Definition at line 95 of file LineIterator.hpp.
| virtual int vl::LineIteratorIndexed< TArray >::a | ( | ) | const [inline, virtual] |
Implements vl::LineIteratorAbstract.
Definition at line 97 of file LineIterator.hpp.
| virtual int vl::LineIteratorIndexed< TArray >::b | ( | ) | const [inline, virtual] |
Implements vl::LineIteratorAbstract.
Definition at line 98 of file LineIterator.hpp.
| void vl::LineIteratorIndexed< TArray >::initialize | ( | int | start = 0, |
| int | end = -1 |
||
| ) | [inline] |
Definition at line 100 of file LineIterator.hpp.
References vl::PT_LINE_STRIP, vl::PT_LINES, and VL_CHECK.
| bool vl::LineIteratorIndexed< TArray >::next | ( | ) | [inline, virtual] |
if (mEven) {
} else { mA = mArray->at(mCurrentIndex + 0); mB = mArray->at(mCurrentIndex + 2); }
Implements vl::LineIteratorAbstract.
Reimplemented in vl::LineIteratorMulti< TArray >.
Definition at line 140 of file LineIterator.hpp.
References vl::PT_LINE_LOOP, vl::PT_LINE_STRIP, vl::PT_LINES, and VL_TRAP.
| void vl::LineIteratorIndexed< TArray >::setBaseVertex | ( | int | base_vert | ) | [inline] |
Definition at line 218 of file LineIterator.hpp.
| int vl::LineIteratorIndexed< TArray >::baseVertex | ( | ) | const [inline] |
Definition at line 219 of file LineIterator.hpp.