Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Index iterator operating over DrawElements, DrawRangeElements and MultiDrawElements. More...
#include <IndexIterator.hpp>
Public Member Functions | |
IndexIteratorElements () | |
void | initialize (const TArray *idx_array, const std::vector< GLint > *p_base_vertices, const std::vector< GLsizei > *p_vert_counts, int base_vert, bool prim_restart_on, unsigned int prim_restart_idx) |
virtual bool | hasNext () const |
virtual bool | next () |
Protected Attributes | |
const TArray * | mArray |
int | mBaseVert |
int | mCurPos |
bool | mPrimRestartEnabled |
unsigned int | mPrimRestartIdx |
const std::vector< GLint > * | mpBaseVertices |
const std::vector< GLsizei > * | mpVertCounts |
int | mBaseCount |
int | mBaseIdx |
Index iterator operating over DrawElements, DrawRangeElements and MultiDrawElements.
Definition at line 126 of file IndexIterator.hpp.
vl::IndexIteratorElements< TArray >::IndexIteratorElements | ( | ) | [inline] |
Definition at line 131 of file IndexIterator.hpp.
References vl::IndexIteratorElements< TArray >::initialize(), NULL, and VL_DEBUG_SET_OBJECT_NAME.
void vl::IndexIteratorElements< TArray >::initialize | ( | const TArray * | idx_array, |
const std::vector< GLint > * | p_base_vertices, | ||
const std::vector< GLsizei > * | p_vert_counts, | ||
int | base_vert, | ||
bool | prim_restart_on, | ||
unsigned int | prim_restart_idx | ||
) | [inline] |
Definition at line 137 of file IndexIterator.hpp.
References vl::IndexIteratorElements< TArray >::mArray, vl::IndexIteratorElements< TArray >::mBaseCount, vl::IndexIteratorElements< TArray >::mBaseIdx, vl::IndexIteratorElements< TArray >::mBaseVert, vl::IndexIteratorElements< TArray >::mCurPos, vl::IndexIteratorAbstract::mIndex, vl::IndexIteratorElements< TArray >::mpBaseVertices, vl::IndexIteratorElements< TArray >::mPrimRestartEnabled, vl::IndexIteratorElements< TArray >::mPrimRestartIdx, vl::IndexIteratorElements< TArray >::mpVertCounts, and VL_CHECK.
Referenced by vl::IndexIteratorElements< TArray >::IndexIteratorElements().
virtual bool vl::IndexIteratorElements< TArray >::hasNext | ( | ) | const [inline, virtual] |
Implements vl::IndexIteratorAbstract.
Definition at line 166 of file IndexIterator.hpp.
References vl::IndexIteratorElements< TArray >::mArray, and vl::IndexIteratorElements< TArray >::mCurPos.
virtual bool vl::IndexIteratorElements< TArray >::next | ( | ) | [inline, virtual] |
Implements vl::IndexIteratorAbstract.
Definition at line 171 of file IndexIterator.hpp.
References vl::IndexIteratorElements< TArray >::mArray, vl::IndexIteratorElements< TArray >::mBaseCount, vl::IndexIteratorElements< TArray >::mBaseIdx, vl::IndexIteratorElements< TArray >::mBaseVert, vl::IndexIteratorElements< TArray >::mCurPos, vl::IndexIteratorAbstract::mIndex, vl::IndexIteratorElements< TArray >::mpBaseVertices, vl::IndexIteratorElements< TArray >::mPrimRestartEnabled, vl::IndexIteratorElements< TArray >::mPrimRestartIdx, vl::IndexIteratorElements< TArray >::mpVertCounts, and VL_CHECK.
const TArray* vl::IndexIteratorElements< TArray >::mArray [protected] |
Definition at line 202 of file IndexIterator.hpp.
Referenced by vl::IndexIteratorElements< TArray >::hasNext(), vl::IndexIteratorElements< TArray >::initialize(), and vl::IndexIteratorElements< TArray >::next().
int vl::IndexIteratorElements< TArray >::mBaseVert [protected] |
Definition at line 203 of file IndexIterator.hpp.
Referenced by vl::IndexIteratorElements< TArray >::initialize(), and vl::IndexIteratorElements< TArray >::next().
int vl::IndexIteratorElements< TArray >::mCurPos [protected] |
Definition at line 204 of file IndexIterator.hpp.
Referenced by vl::IndexIteratorElements< TArray >::hasNext(), vl::IndexIteratorElements< TArray >::initialize(), and vl::IndexIteratorElements< TArray >::next().
bool vl::IndexIteratorElements< TArray >::mPrimRestartEnabled [protected] |
Definition at line 205 of file IndexIterator.hpp.
Referenced by vl::IndexIteratorElements< TArray >::initialize(), and vl::IndexIteratorElements< TArray >::next().
unsigned int vl::IndexIteratorElements< TArray >::mPrimRestartIdx [protected] |
Definition at line 206 of file IndexIterator.hpp.
Referenced by vl::IndexIteratorElements< TArray >::initialize(), and vl::IndexIteratorElements< TArray >::next().
const std::vector<GLint>* vl::IndexIteratorElements< TArray >::mpBaseVertices [protected] |
Definition at line 207 of file IndexIterator.hpp.
Referenced by vl::IndexIteratorElements< TArray >::initialize(), and vl::IndexIteratorElements< TArray >::next().
const std::vector<GLsizei>* vl::IndexIteratorElements< TArray >::mpVertCounts [protected] |
Definition at line 208 of file IndexIterator.hpp.
Referenced by vl::IndexIteratorElements< TArray >::initialize(), and vl::IndexIteratorElements< TArray >::next().
int vl::IndexIteratorElements< TArray >::mBaseCount [protected] |
Definition at line 209 of file IndexIterator.hpp.
Referenced by vl::IndexIteratorElements< TArray >::initialize(), and vl::IndexIteratorElements< TArray >::next().
int vl::IndexIteratorElements< TArray >::mBaseIdx [protected] |
Definition at line 210 of file IndexIterator.hpp.
Referenced by vl::IndexIteratorElements< TArray >::initialize(), and vl::IndexIteratorElements< TArray >::next().