glot::flow Class Reference

flow: a vector-valued function as a flow field More...

#include <flow.h>

Inheritance diagram for glot::flow:

glot::shader_primitive glot::primitive

List of all members.

Public Member Functions

 flow (const string &f)
 Constructor.
void dl_gen (const screen &scr)
 Display-list generator.


Detailed Description

flow: a vector-valued function as a flow field

This class represents a vector-valued function of x, y and t as a flow field using streamlines. It uses fourth-order Runge-Kutta integration to determine the next points in the line, and along the line linearly increases the alpha value. This is contrary to the ink smearing analogy, and more the comet tail analogy (in ink smearing the tail points forward, and in the comet analogy the tail points backwards).


Constructor & Destructor Documentation

glot::flow::flow ( const string &  f  )  [inline]

Constructor.

Parameters:
func - the vector-valued function to render


Member Function Documentation

void glot::flow::dl_gen ( const screen scr  )  [virtual]

Display-list generator.

Parameters:
scr - the screen specs of the plot
This function generates the geometry that the geometry shader expects (a set of seed points). They are uniformly spaced on a grid.

Implements glot::primitive.


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

Generated on Fri Nov 20 18:09:06 2009 for OpenGLot by  doxygen 1.5.8