Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::IndexIterator Class Reference

Wraps a IndexIteratorAbstract to iterate over the indices of a DrawCall. More...

#include <IndexIterator.hpp>

Inheritance diagram for vl::IndexIterator:
vl::Object

List of all members.

Public Member Functions

 IndexIterator ()
void initialize (IndexIteratorAbstract *iterator)
int index ()
bool hasNext ()
bool next ()
bool operator++ ()

Protected Attributes

ref< IndexIteratorAbstractmIterator

Detailed Description

Wraps a IndexIteratorAbstract to iterate over the indices of a DrawCall.

Definition at line 63 of file IndexIterator.hpp.


Constructor & Destructor Documentation

vl::IndexIterator::IndexIterator ( ) [inline]

Definition at line 68 of file IndexIterator.hpp.

References VL_DEBUG_SET_OBJECT_NAME.


Member Function Documentation

void vl::IndexIterator::initialize ( IndexIteratorAbstract iterator) [inline]
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]
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().


Member Data Documentation

Definition at line 79 of file IndexIterator.hpp.

Referenced by hasNext(), index(), initialize(), and next().


The documentation for this class was generated from the following file:

Visualization Library 2011.09.1160 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 2 2013 13:41:29.
Permission is granted to use this page to write and publish articles regarding Visualization Library.