#include <flow.h>
Public Member Functions | |
flow (const string &f) | |
Constructor. | |
void | dl_gen (const screen &scr) |
Display-list generator. |
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).
glot::flow::flow | ( | const string & | f | ) | [inline] |
void glot::flow::dl_gen | ( | const screen & | scr | ) | [virtual] |
Display-list generator.
scr | - the screen specs of the plot |
Implements glot::primitive.