Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Wraps a IndexIteratorAbstract to iterate over the indices of a DrawCall. More...
#include <IndexIterator.hpp>
Public Member Functions | |
IndexIterator () | |
void | initialize (IndexIteratorAbstract *iterator) |
int | index () |
bool | hasNext () |
bool | next () |
bool | operator++ () |
Protected Attributes | |
ref< IndexIteratorAbstract > | mIterator |
Wraps a IndexIteratorAbstract to iterate over the indices of a DrawCall.
Definition at line 63 of file IndexIterator.hpp.
vl::IndexIterator::IndexIterator | ( | ) | [inline] |
Definition at line 68 of file IndexIterator.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
void vl::IndexIterator::initialize | ( | IndexIteratorAbstract * | iterator ) | [inline] |
Definition at line 72 of file IndexIterator.hpp.
References mIterator.
Referenced by vl::MultiDrawElements< ArrayUShort1 >::indexIterator(), vl::DrawRangeElements< ArrayUShort1 >::indexIterator(), vl::DrawElements< ArrayUShort1 >::indexIterator(), and vl::DrawArrays::indexIterator().
int vl::IndexIterator::index | ( | ) | [inline] |
Definition at line 73 of file IndexIterator.hpp.
References mIterator.
Referenced by vl::Geometry::mergeTriangleStrips().
bool vl::IndexIterator::hasNext | ( | ) | [inline] |
Definition at line 74 of file IndexIterator.hpp.
References mIterator.
Referenced by vl::Geometry::computeBounds_Implementation(), vl::DrawRangeElements< ArrayUShort1 >::computeRange(), vl::DrawCall::countIndices(), vl::Geometry::mergeDrawCallsWithMultiDrawElements(), vl::Geometry::mergeDrawCallsWithPrimitiveRestart(), vl::Geometry::mergeTriangleStrips(), and vl::DoubleVertexRemover::removeDoubles().
bool vl::IndexIterator::next | ( | ) | [inline] |
Definition at line 75 of file IndexIterator.hpp.
References mIterator.
Referenced by vl::Geometry::mergeTriangleStrips(), and operator++().
bool vl::IndexIterator::operator++ | ( | ) | [inline] |
Definition at line 76 of file IndexIterator.hpp.
References next().
ref<IndexIteratorAbstract> vl::IndexIterator::mIterator [protected] |
Definition at line 79 of file IndexIterator.hpp.
Referenced by hasNext(), index(), initialize(), and next().