VisUserStreamline Class Reference

#include <VisUserStreamline.h>

Inheritance diagram for VisUserStreamline:

Visualization List of all members.

Public Member Functions

 VisUserStreamline (FlowData *aFlowData)
 VisUserStreamline (Visualization *aPrevVisualization)
void paint ()
void paramChanged (ColorType aType)
void visAction (Pos2d aRelativeMousePosition)

Private Member Functions

void followPath (float aDirection)
PosIntcalculateStreamLine (Pos2d aPos)

Private Attributes

std::deque< Pos2dtheCurrStreamLine

Constructor & Destructor Documentation

VisUserStreamline::VisUserStreamline ( FlowData aFlowData  ) 

constructor for new object

Parameters:
aFlowData the flow data to use

VisUserStreamline::VisUserStreamline ( Visualization aPrevVisualization  ) 

constructor for change of implementation

Parameters:
aPrevVisualization the visualization from which precomputed values shall be kept


Member Function Documentation

PosInt * VisUserStreamline::calculateStreamLine ( Pos2d  aPos  )  [private]

(re)calculates a stream line

Parameters:
aPos starting position of the streamline
Returns:
the points the streamline passes through

void VisUserStreamline::followPath ( float  aDirection  )  [private]

follows the flow data until the streamline creates a circle or leaves the flowfield

Parameters:
aDirection whether to follow the flow forwards or backwards

void VisUserStreamline::paint (  )  [virtual]

draws the scene

Implements Visualization.

void VisUserStreamline::paramChanged ( ColorType  aType  )  [virtual]

recalculates image if parameter changed

Parameters:
aType type modified

Reimplemented from Visualization.

void VisUserStreamline::visAction ( Pos2d  aRelativeMousePosition  )  [virtual]

adds a new streamline at the specified position

Parameters:
aRelativeMousePosition relative mouse position on the window

Reimplemented from Visualization.


Member Data Documentation

std::deque<Pos2d> VisUserStreamline::theCurrStreamLine [private]


The documentation for this class was generated from the following files:
Generated on Wed Jan 17 09:27:52 2007 for FlowVis by  doxygen 1.4.7