Vis::VertexArrayT2P4 Class Reference

#include <VisVertexArrayT2P4.h>

Inherits Vis::VertexArray< Vis::VertexT2P4 >.

Collaboration diagram for Vis::VertexArrayT2P4:
[legend]

List of all members.

Public Member Functions

 VertexArrayT2P4 ()
 ~VertexArrayT2P4 ()
void bind ()
void render (const int start, const int size)
void unbind ()


Detailed Description

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

Constructor & Destructor Documentation

Vis::VertexArrayT2P4::VertexArrayT2P4 (  ) 

ctor.

Vis::VertexArrayT2P4::~VertexArrayT2P4 (  ) 

dtor.


Member Function Documentation

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

Bind the vertex array.

Implements Vis::VertexArray< T >.

void Vis::VertexArrayT2P4::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::VertexArrayT2P4::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