Main Page   Compound List   File List   Compound Members  

Data Class Reference

#include <Data.h>

List of all members.

Public Methods

 Data ()
virtual ~Data ()
void getData (CString fileName)
void showData ()
void drawHedgehogPlot (int length)
void drawStreamlines ()
void drawSingleStreamline (Streamline *sl)
void showSingleStreamline (int x, int y)
void processUserInput ()

Public Attributes

Vektor2f * position
GLubyte * show
float * flowX
float * flowY
float * pressure
float * vorticity
float * fx
float * fy
float * fv
float * fp
float * fvor
float length_interval_x
float length_interval_y
int dsep
float dtest
float dtestfactor
int method
int background
bool hedgehog
bool vel
float scale_SmallToBig_x
float scale_SmallToBig_y
float scale_BigToSmall_x
float scale_BigToSmall_y
int cells [9]
Streamline * slByHand
vector< Streamline *> streamLines
vector< Vektor2i *> seedCandidates
Header header


Detailed Description

This class holds all the data and transforms it.


Constructor & Destructor Documentation

Data::Data   [inline]
 

Constructor of Data calls protected funtion Initialize.

virtual Data::~Data   [inline, virtual]
 

Destructor of Data calls protected function Destroy.


Member Function Documentation

void Data::drawHedgehogPlot int    length
 

Displays a hedgehog plot with parameter length which is the length of a line segment.

void Data::drawSingleStreamline Streamline *    sl
 

Displays the single Streamline that is handed over.

void Data::drawStreamlines  
 

Displays precalculated Streamlines held in a vector.

void Data::getData CString    fileName
 

Reads data from the input file specified by fileName.

void Data::processUserInput  
 

Checks the user input and performs the appropriate action for displaying.

void Data::showData  
 

Displays background

void Data::showSingleStreamline int    x,
int    y
 

Calculates a Streamline at specified coordinates which are derived from the position of the mouse at a single left mouse button click.


The documentation for this class was generated from the following files:
Generated on Tue Jan 22 19:13:38 2002 for FlowViz by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001