#include <RawReader.h>
Public Member Functions | |
| RawReader () | |
| ~RawReader () | |
| void | openPath (string pathName) throw (Error) |
| void | open (int index) |
| void | close () |
| char * | getFileNameAt (int index) throw (Error) |
| bool | isFileOpen () |
| bool | isDirOpen () |
Public Attributes | |
| string | fileInfoString |
| FileDescription * | fd |
| vector< FileDescription * > | fileList |
| unsigned short | dimX |
| unsigned short | dimY |
| unsigned short | dimZ |
| unsigned short | numDataSets |
| unsigned short | numTimeSteps |
| float | maxPressure |
| float | maxVorticity |
| float | minPressure |
| float | minVorticity |
| float | distTimeSteps |
| CVoxelData * | pVoxelData |
| float | _width |
| float | _height |
| unsigned long | _size |
| ifstream * | gtrFileStream |
| ifstream * | dataFileStream |
Private Member Functions | |
| bool | openGeometryFiles (string path) |
| bool | openDataFiles (string path) |
Private Attributes | |
| bool | openFlag |
| bool | openDirFlag |
Classes | |
| struct | FileDescription |
|
|
Constructor creates a list of raw files in the given directory. |
|
|
Destructor closes an opened file and clears the file description list. |
|
|
Close the currently opened file and free the sources used. If now file is open, nothing happens. This method deletes the voxelData array. |
|
|
Return the name of a file at a given position. Throw an error if the position is not valid. |
|
|
Return the open state of a directory.
|
|
|
Return the open state of a file.
|
|
|
Open a file from the file description list. If the index is not valid, the function throws an error |
|
|
|
|
|
Read the geometry files |
|
|
Open an existing path and construct a list of dat files. If the path does not exist, the function throws an error. |
|
|
|
|
|
|
|
|
|
|
|
pointer to the data file |
|
|
Dimension of the dataset in x direction (read from the file) |
|
|
Dimension of the dataset in y direction (read from the file) |
|
|
Dimension of the dataset in z direction (read from the file) |
|
|
Timestep distance between 2 time steps |
|
|
Description of a file conatining the path and the name for a geometry file. |
|
|
A text string which contains basic informations about the file |
|
|
List of file descriptions. The names in this list are used by the MenuBar |
|
|
pointer to the geometry file |
|
|
The maximum pressure in the current loaded dataset |
|
|
The maximzm vorticity in the current loaded dataset |
|
|
The min pressure in the current loaded dataset |
|
|
The min vorticity in the current loaded dataset |
|
|
Number of additional data sets |
|
|
Number of time steps |
|
|
Flag if the directory had been opened and the filedescription list changed. |
|
|
Flag if a file is open and the voxelData contains density values. |
|
|
array wich contains the voxel densities (read from the file) |
1.4.1