FlowVis.Rendering.VertexBufferObject Class Reference

Handles the setup of a vertex buffer object for the rendering of streamlines. More...

List of all members.

Public Types

enum  Style { LINE, TRIANGLE }
 This enumeration is used for setting the style of the streamlines which is influences the indices used for drawing the vertex buffer object. More...

Public Member Functions

 VertexBufferObject ()
 Constructor creates a vbo for all streamlines in the streamline manager.
void CreateIndices (Style style)
 Creates new indices according to the specified style.
void Update (Streamlines.StreamlineManager streamlines)
 Updates the points of the vertex buffer object.
void Render ()
 Renders the vertex buffer with the specified style (points, lines).
void Dispose ()
 Frees unmanaged ressources.


Detailed Description

Handles the setup of a vertex buffer object for the rendering of streamlines.


Member Enumeration Documentation

enum FlowVis::Rendering::VertexBufferObject::Style

This enumeration is used for setting the style of the streamlines which is influences the indices used for drawing the vertex buffer object.

Enumerator:
LINE  the points are drawn as a line

TRIANGLE  for each sample point two points are created with an offset, the line is drawn with triangles


Constructor & Destructor Documentation

FlowVis.Rendering.VertexBufferObject.VertexBufferObject (  ) 

Constructor creates a vbo for all streamlines in the streamline manager.


Member Function Documentation

void FlowVis.Rendering.VertexBufferObject.CreateIndices ( Style  style  ) 

Creates new indices according to the specified style.

Parameters:
style Style defines the rendering (points, lines)

void FlowVis.Rendering.VertexBufferObject.Update ( Streamlines.StreamlineManager  streamlines  ) 

Updates the points of the vertex buffer object.

Parameters:
streamlines Streamline manager contains the streamlines for the updated vertex buffer

void FlowVis.Rendering.VertexBufferObject.Render (  ) 

Renders the vertex buffer with the specified style (points, lines).

void FlowVis.Rendering.VertexBufferObject.Dispose (  ) 

Frees unmanaged ressources.


The documentation for this class was generated from the following file:
Generated on Mon Jan 21 16:09:36 2008 for FlowVis by  doxygen 1.5.1-p1