Vis::PlotStreamlines Class Reference

#include <VisPlotStreamlines.h>

Collaboration diagram for Vis::PlotStreamlines:
[legend]

List of all members.

Public Member Functions

 PlotStreamlines (FlowData &flowData)
 ~PlotStreamlines ()
void create ()
void render ()
bool isEnabled ()
bool isEulerInterpolation ()
bool isTapering ()
float getStepSize ()
float getDsep ()
float getDtest ()
float getLineWidth ()
V4f getColor ()
FlowDatagetFlowData ()
PointGridgetGrid ()
void enable (bool flag)
void setEulerInterpolation (bool isEuler)
void setStepSize (float stepSize)
void setDsep (float dsep)
void setDtestPct (float dtestPct)
void setLineWidth (float width)
void setColor (const V3f &color)
void setOpacity (float opacity)
void enableTapering (bool flag)


Detailed Description

Plot evenly spaced streamlines.

Constructor & Destructor Documentation

Vis::PlotStreamlines::PlotStreamlines ( FlowData flowData  ) 

ctor.

Parameters:
flowData reference to flow data.

Vis::PlotStreamlines::~PlotStreamlines (  ) 

dtor.


Member Function Documentation

void Vis::PlotStreamlines::create (  ) 

Create all streamlines with the evenly spaced streamline algorithm.

void Vis::PlotStreamlines::enable ( bool  flag  ) 

Enable evenly spaced streamlines.

Parameters:
flag true to enable streamlines, otherwise false.

void Vis::PlotStreamlines::enableTapering ( bool  flag  ) 

Enable the tapering. true enable tapering, otherwise false.

V4f Vis::PlotStreamlines::getColor (  ) 

Return the color and alpha value of the streamlines.

Returns:
color and alpha value

float Vis::PlotStreamlines::getDsep (  ) 

Returns the valid distance for the seedpoint placement.

Returns:
dsep

float Vis::PlotStreamlines::getDtest (  ) 

Returns the distance how close streamlines can get to other streamlines.

Returns:
valid distance between to streamlines.

FlowData & Vis::PlotStreamlines::getFlowData (  ) 

Return an reference to the flow data.

Returns:
reference to flow data.

PointGrid * Vis::PlotStreamlines::getGrid (  ) 

Return a pointer to the grid.

Returns:
pointer to the point grid.

float Vis::PlotStreamlines::getLineWidth (  ) 

Returns the line width of the streamlines.

Returns:
line width of the streamline.

float Vis::PlotStreamlines::getStepSize (  ) 

Returns the interpolatin step size.

Returns:
interpolation step size.

bool Vis::PlotStreamlines::isEnabled (  ) 

Streamlines enabled.

Returns:
true streamlines are enabled, otherwise false.

bool Vis::PlotStreamlines::isEulerInterpolation (  ) 

Euler interpolation enabled.

Returns:
true if the streamlines are interpolated with the euler method, otherwise use Runge Kutta interpolation

bool Vis::PlotStreamlines::isTapering (  ) 

Tapering enabled.

Returns:
true tapering is enabled, otherwise false.

void Vis::PlotStreamlines::render (  ) 

Render the evenly space streamlines.

void Vis::PlotStreamlines::setColor ( const V3f &  color  ) 

Set the color of the streamlines.

Parameters:
color streamline color

void Vis::PlotStreamlines::setDsep ( float  dsep  ) 

Set the seedpoint placement distance.

Parameters:
dsep valid distance for seedpoint placement.

void Vis::PlotStreamlines::setDtestPct ( float  dtestPct  ) 

Set the distance in percent of the seedpoint placement distance (dsep) how close streamlines can get. dtestPct percent of dsep how close streamlines can get.

void Vis::PlotStreamlines::setEulerInterpolation ( bool  isEuler  ) 

Set the interpolation method to Euler.

Parameters:
isEuler true Euler interpolation method, otherwise Runge Kutta interpolation method.

void Vis::PlotStreamlines::setLineWidth ( float  width  ) 

Set the streamline width.

Parameters:
width width of the streamline.

void Vis::PlotStreamlines::setOpacity ( float  opacity  ) 

Set the opacity of the streamlines.

Parameters:
opacity streamline opacity

void Vis::PlotStreamlines::setStepSize ( float  stepSize  ) 

Set the interpolation step size.

Parameters:
stepSize interpolation step size.


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

Generated on Mon Jan 26 15:00:42 2009 for FlowVis by  doxygen 1.5.7.1