Visualization Library

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

vl::IndexIteratorElements< TArray > Class Template Reference

Index iterator operating over DrawElements, DrawRangeElements and MultiDrawElements. More...

#include <IndexIterator.hpp>

Inheritance diagram for vl::IndexIteratorElements< TArray >:
vl::IndexIteratorAbstract vl::Object

List of all members.

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

Detailed Description

template<class TArray>
class vl::IndexIteratorElements< TArray >

Index iterator operating over DrawElements, DrawRangeElements and MultiDrawElements.

Definition at line 126 of file IndexIterator.hpp.


Constructor & Destructor Documentation

template<class TArray >
vl::IndexIteratorElements< TArray >::IndexIteratorElements ( ) [inline]

Member Function Documentation

template<class TArray >
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]
template<class TArray >
virtual bool vl::IndexIteratorElements< TArray >::hasNext ( ) const [inline, virtual]
template<class TArray >
virtual bool vl::IndexIteratorElements< TArray >::next ( ) [inline, virtual]

Member Data Documentation

template<class TArray >
const TArray* vl::IndexIteratorElements< TArray >::mArray [protected]
template<class TArray >
int vl::IndexIteratorElements< TArray >::mBaseVert [protected]
template<class TArray >
int vl::IndexIteratorElements< TArray >::mCurPos [protected]
template<class TArray >
bool vl::IndexIteratorElements< TArray >::mPrimRestartEnabled [protected]
template<class TArray >
unsigned int vl::IndexIteratorElements< TArray >::mPrimRestartIdx [protected]
template<class TArray >
const std::vector<GLint>* vl::IndexIteratorElements< TArray >::mpBaseVertices [protected]
template<class TArray >
const std::vector<GLsizei>* vl::IndexIteratorElements< TArray >::mpVertCounts [protected]
template<class TArray >
int vl::IndexIteratorElements< TArray >::mBaseCount [protected]
template<class TArray >
int vl::IndexIteratorElements< TArray >::mBaseIdx [protected]

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.