Main Page | Class Hierarchy | Class List | Class Members

SC::Data Class Reference

List of all members.

Public Member Functions

 Data ()
void LoadData (string fileName, fMain main)
Vector2 GetVelocityNorm (float x, float y)
float GetVelocityValue (float x, float y)
float GetPressureValue (float x, float y)
float GetVorticityValue (float x, float y)
float GetApproxVelocityValue (float x, float y)
Vector2 GetApproxVelocityNorm (float x, float y, int size)

Public Attributes

int mSX
int mSY
int mSZ
Vector2[,] mGeometry
Vector2[,] mVelocity
Vector2[,] mVelocityNorm
float[,] mPressure
float[,] mVorticity
float maxVelocity
float maxPressure
float maxVorticity
float minVelocity
float minPressure
float minVorticity

Detailed Description

A wrapper class for the data loaded from file.


Constructor & Destructor Documentation

SC::Data::Data  )  [inline]
 

Default constructor.


Member Function Documentation

Vector2 SC::Data::GetApproxVelocityNorm float  x,
float  y,
int  size
[inline]
 

Commutes the avarage value of the surounding values. The x coordinate The y coordinate The size of the window The avarage value

float SC::Data::GetApproxVelocityValue float  x,
float  y
[inline]
 

Commutes the avarage value of the 16 surounding values. The x coordinate The y coordinate The avarage value

float SC::Data::GetPressureValue float  x,
float  y
[inline]
 

Returns the value of the pressure at the location x,y The x coordinate. The y coordinate

Vector2 SC::Data::GetVelocityNorm float  x,
float  y
[inline]
 

Gets the linear interpolated normalized velocity. The x coord. The y coord. The interpolated normalized velocity.

float SC::Data::GetVelocityValue float  x,
float  y
[inline]
 

Returns the value of the velocity at the location x,y The x coordinate. The y coordinate

float SC::Data::GetVorticityValue float  x,
float  y
[inline]
 

Returns the value of the vorticity at the location x,y The x coordinate. The y coordinate

void SC::Data::LoadData string  fileName,
fMain  main
[inline]
 

Loads a geometry and a data file. The name of the grid-file (*.gri)


Member Data Documentation

float SC::Data::maxPressure
 

The maximum pressure.

float SC::Data::maxVelocity
 

The maximum velocity.

float SC::Data::maxVorticity
 

The maximum vorticity.

Vector2 [,] SC::Data::mGeometry
 

The geometry of the data.

float SC::Data::minPressure
 

The minimum pressure.

float SC::Data::minVelocity
 

The minium velocity.

float SC::Data::minVorticity
 

The minimum vorticity.

float [,] SC::Data::mPressure
 

The pressure of the data.

int SC::Data::mSX
 

The dimension of the set in x-direction.

int SC::Data::mSY
 

The dimension of the set in y-direction.

int SC::Data::mSZ
 

The dimension of the set in z-direction.

Vector2 [,] SC::Data::mVelocity
 

The velocity of the grid points.

Vector2 [,] SC::Data::mVelocityNorm
 

The normalized velocity of the grid points.

float [,] SC::Data::mVorticity
 

The vorticity of the data.


The documentation for this class was generated from the following file:
Generated on Sat Jan 15 23:58:59 2005 for StreamCtrl by doxygen 1.3.6