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. |
FlowVis.Rendering.VertexBufferObject.VertexBufferObject | ( | ) |
Constructor creates a vbo for all streamlines in the streamline manager.
void FlowVis.Rendering.VertexBufferObject.CreateIndices | ( | Style | style | ) |
Creates new indices according to the specified style.
style | Style defines the rendering (points, lines) |
void FlowVis.Rendering.VertexBufferObject.Update | ( | Streamlines.StreamlineManager | streamlines | ) |
Updates the points of the vertex buffer object.
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.