Vis::PlotStreamlines Class Reference
#include <VisPlotStreamlines.h>
List of all members.
Detailed Description
Plot evenly spaced streamlines.
Constructor & Destructor Documentation
Vis::PlotStreamlines::PlotStreamlines |
( |
FlowData & |
flowData |
) |
|
ctor.
- Parameters:
-
| flowData | reference to flow data. |
Vis::PlotStreamlines::~PlotStreamlines |
( |
|
) |
|
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:
-
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:
- E:/Studium/vislu/abgabe2/visproj/src/flow/VisPlotStreamlines.h
- E:/Studium/vislu/abgabe2/visproj/src/flow/impl/VisPlotStreamlines.cpp