StreamLine Class Reference

#include <StreamLine.h>

Collaboration diagram for StreamLine:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StreamLine (FlowData *fd)
 gv Contructor
 ~StreamLine ()
 gv Destructor
void create ()
 gv Create streamlines with current parameters
void create (float dSep, float dTest, bool linesActive, bool taperingActive, bool glyphActive)
 gv Create streamlines with given parameters
void draw ()
 gv Draw previously created streamlines
void reset ()
 gv Resets streamline and deletes all contents
void setDSep (float dSep)
 gv Set dSep from UI
float getDSep ()
 gv Returns the current dSep-value
void setDTest (float dTest)
 gv Set dTest from UI (CORRECT: percentage of dSep!)
float getDTest ()
 gv Returns the current dTest-value (CORRECT: percentage of dSep!)
void setGlyphSize (int size)
 gv Set glyph-size from UI
int getGlyphSize ()
 gv Returns glyph-size
void setGlyphDistance (int distance)
 gv Set glyph-distance from UI
int getGlyphDistance ()
 gv Returns glyph-distance
void setLineColor (float *color)
 gv Set the line-color to the given RGBA-value
float * getLineColor ()
 gv Returns the current line-color
void setGlyphColor (float *color)
 gv Set the glyph-color to the given RGBA-value
float * getGlyphColor ()
 gv Returns the current glyph-color
void setIntegrationMethod (short method)
 gv Set integration-method from UI
short getIntegrationMethod ()
 gv Returns the current integration-method
void setLinesActive (bool isActive)
 gv Set if lines are drawn from UI
bool getLinesActive ()
 gv Returns true if lines are active.
void setTaperingActive (bool isActive)
 gv Set tapering from UI
bool getTaperingActive ()
 gv Returns true if tapering is active.
void setGlyphActive (bool isActive)
 gv Set if glyphs are drawn from UI
bool getGlyphActive ()
 gv Returns true if glyphs are active.

Friends

class StreamLineGrid


Detailed Description

Definition at line 32 of file StreamLine.h.


Constructor & Destructor Documentation

StreamLine::StreamLine ( FlowData fd  ) 

gv Contructor

Definition at line 13 of file StreamLine.cpp.

References FlowData::getGeometry(), and reset().

Here is the call graph for this function:

StreamLine::~StreamLine (  ) 

gv Destructor

Definition at line 27 of file StreamLine.cpp.


Member Function Documentation

void StreamLine::create (  ) 

gv Create streamlines with current parameters

Definition at line 33 of file StreamLine.cpp.

References reset(), and StreamLineGrid.

Referenced by create(), OpenGLWidget::setLinesActive(), and OpenGLWidget::updateStreamLines().

Here is the call graph for this function:

void StreamLine::create ( float  dSep,
float  dTest,
bool  linesActive,
bool  taperingActive,
bool  glyphActive 
)

gv Create streamlines with given parameters

Definition at line 99 of file StreamLine.cpp.

References create().

Here is the call graph for this function:

void StreamLine::draw (  ) 

gv Draw previously created streamlines

Definition at line 150 of file StreamLine.cpp.

Referenced by OpenGLWidget::paintGL().

void StreamLine::reset (  ) 

gv Resets streamline and deletes all contents

Definition at line 114 of file StreamLine.cpp.

References EULER, setGlyphColor(), setGlyphSize(), and setLineColor().

Referenced by create(), OpenGLWidget::setFlowData(), and StreamLine().

Here is the call graph for this function:

void StreamLine::setDSep ( float  dSep  )  [inline]

gv Set dSep from UI

Definition at line 60 of file StreamLine.h.

Referenced by OpenGLWidget::setDSep().

float StreamLine::getDSep (  )  [inline]

gv Returns the current dSep-value

Definition at line 63 of file StreamLine.h.

void StreamLine::setDTest ( float  dTest  )  [inline]

gv Set dTest from UI (CORRECT: percentage of dSep!)

Definition at line 66 of file StreamLine.h.

Referenced by OpenGLWidget::setDTest().

float StreamLine::getDTest (  )  [inline]

gv Returns the current dTest-value (CORRECT: percentage of dSep!)

Definition at line 69 of file StreamLine.h.

void StreamLine::setGlyphSize ( int  size  )  [inline]

gv Set glyph-size from UI

Definition at line 72 of file StreamLine.h.

Referenced by reset(), and OpenGLWidget::setStreamGlyphSize().

int StreamLine::getGlyphSize (  )  [inline]

gv Returns glyph-size

Definition at line 75 of file StreamLine.h.

void StreamLine::setGlyphDistance ( int  distance  )  [inline]

gv Set glyph-distance from UI

Definition at line 78 of file StreamLine.h.

Referenced by OpenGLWidget::setStreamGlyphDistance().

int StreamLine::getGlyphDistance (  )  [inline]

gv Returns glyph-distance

Definition at line 81 of file StreamLine.h.

void StreamLine::setLineColor ( float *  color  )  [inline]

gv Set the line-color to the given RGBA-value

Definition at line 84 of file StreamLine.h.

Referenced by reset(), and OpenGLWidget::selectStreamLineColor().

float* StreamLine::getLineColor (  )  [inline]

gv Returns the current line-color

Definition at line 96 of file StreamLine.h.

void StreamLine::setGlyphColor ( float *  color  )  [inline]

gv Set the glyph-color to the given RGBA-value

Definition at line 99 of file StreamLine.h.

Referenced by reset(), and OpenGLWidget::selectStreamGlyphColor().

float* StreamLine::getGlyphColor (  )  [inline]

gv Returns the current glyph-color

Definition at line 111 of file StreamLine.h.

void StreamLine::setIntegrationMethod ( short  method  )  [inline]

gv Set integration-method from UI

Definition at line 114 of file StreamLine.h.

Referenced by OpenGLWidget::setEuler(), and OpenGLWidget::setRungeKutta().

short StreamLine::getIntegrationMethod (  )  [inline]

gv Returns the current integration-method

Definition at line 117 of file StreamLine.h.

void StreamLine::setLinesActive ( bool  isActive  )  [inline]

gv Set if lines are drawn from UI

Definition at line 120 of file StreamLine.h.

Referenced by OpenGLWidget::setLinesActive().

bool StreamLine::getLinesActive (  )  [inline]

gv Returns true if lines are active.

Definition at line 123 of file StreamLine.h.

void StreamLine::setTaperingActive ( bool  isActive  )  [inline]

gv Set tapering from UI

Definition at line 126 of file StreamLine.h.

Referenced by OpenGLWidget::setTaperingActive().

bool StreamLine::getTaperingActive (  )  [inline]

gv Returns true if tapering is active.

Definition at line 129 of file StreamLine.h.

void StreamLine::setGlyphActive ( bool  isActive  )  [inline]

gv Set if glyphs are drawn from UI

Definition at line 132 of file StreamLine.h.

Referenced by OpenGLWidget::setGlyphActive().

bool StreamLine::getGlyphActive (  )  [inline]

gv Returns true if glyphs are active.

Definition at line 135 of file StreamLine.h.


Friends And Related Function Documentation

friend class StreamLineGrid [friend]

Definition at line 34 of file StreamLine.h.

Referenced by create().


The documentation for this class was generated from the following files:
Generated on Mon Jan 21 14:50:31 2008 for VisLU by  doxygen 1.5.4