Public Member Functions | |
Buffer () | |
void | Clear () |
void | InitGrid (float dsep, float dtest, int dataX, int dataY, int dataW, int dataH) |
void | SetLineColor (System.Drawing.Color color) |
void | SetGlyphColor (System.Drawing.Color color) |
bool | GetPointNeighbour (Vector2 p, float dist) |
void | Add (Vector2[] streamLine) |
void | AddToGridAndQueue (Vector2[] streamLine, bool calcTapering) |
bool | SelectNextAsCurrent () |
Vector2 | SelectPointAtDistance () |
void | CalcTapering (fMain main) |
void | Render (int effect, float animationOffset) |
void | RenderTapering (int effect, float animationOffset) |
void | RenderGlyph () |
void | SetFrequency (float freq) |
void | SetMaxWidth (float maxWidth) |
float | GetMaxLineWidth () |
|
Default constructor. |
|
Adds a streamline to the buffer. The streamline to add. |
|
Adds a streamline into the queue. The streamline to add. |
|
Calcs the tapering for all streamlines. |
|
Cleares all streamlines from the buffer. |
|
Returns the max line width available on this hardware. |
|
Determines if there exists a point nearer than dist. The point to test. True if such a point exists, False otherwise. |
|
Inits the grid. The dsep distance. The x-resolution of the data. The y-resolution of the data. |
|
Renders the streamlines. The scale of the streamlines. |
|
Renders the streamline using a tapering effect. |
|
Renders the streamline using a tapering effect. |
|
Selects the next streamline from the queue as current one. |
|
Selects a new point at a distance dsep from the current streamline. null if no point can be found. |
|
Sets the texture frequency. The new frequency. |
|
Sets the glyph color. The color. |
|
Sets the line color. The color. |
|
Sets the maximum line with for tapering. |