Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [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 v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:10.
Permission is granted to use this page to write and publish articles regarding Visualization Library.