Vis::VertexArrayPA Class Reference

#include <VisVertexArrayPA.h>

Inherits Vis::VertexArray< Vis::VertexPA >.

Collaboration diagram for Vis::VertexArrayPA:
[legend]

List of all members.

Public Member Functions

 VertexArrayPA ()
 ~VertexArrayPA ()
void bind ()
void render (const int start, const int size)
void setDrawMode (GLenum mode)
void unbind ()


Detailed Description

Manages the OpenGL calls for binding and drawing vertices. The vertex has a texture, color and a position attribute. The indices define triangles.

Constructor & Destructor Documentation

Vis::VertexArrayPA::VertexArrayPA (  ) 

ctor.

Vis::VertexArrayPA::~VertexArrayPA (  ) 

dtor.


Member Function Documentation

void Vis::VertexArrayPA::bind (  )  [virtual]

Bind the vertex array.

Implements Vis::VertexArray< T >.

void Vis::VertexArrayPA::render ( const int  start,
const int  size 
) [virtual]

Render triangles defined by the vertex- and index-array.

Parameters:
start start-index in the index array
size size of indices to render.

Implements Vis::VertexArray< T >.

void Vis::VertexArrayPA::setDrawMode ( GLenum  mode  ) 

Set the draw mode. mode draw mode (eg. GL_TRIANGLES)

void Vis::VertexArrayPA::unbind (  )  [virtual]

Unbind the vertex array.

Implements Vis::VertexArray< T >.


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

Generated on Mon Jan 26 15:00:42 2009 for FlowVis by  doxygen 1.5.7.1