#include <FlowDataSet.h>
Public Methods | |
| int | getAddCount () |
| Returns the number of additional datasets. | |
| float | getDataAspectRatio () |
| Returns the dataset aspect ratio. | |
| float | getGridY () |
| Returns the grid size in y direction. | |
| float | getGridX () |
| Returns the grid size in x direction. | |
| float | getGridAspectRatio () |
| Returns the aspect ratio of the underlying grid. | |
| int | loadDataset (CString geomPathName, CString dataPathName) |
| Loads a dataset. | |
| FlowDataSet (CString geomPathName, CString dataPathName) | |
| constructor taking the names of the grid and data file | |
| FlowDataSet () | |
| standard constructor | |
| virtual | ~FlowDataSet () |
| destructor | |
Protected Methods | |
| RsData | calcRsData (float x, float y) |
| Calculates the resampled data at x,y position. | |
| float * | getAddDataPointer (int dataindex, int x, int y, int z=0) |
| Accesses the original additional data. | |
| GridData * | getGridDataPointer (int x, int y, int z=0) |
| Accesses the original grid data. | |
| FlowData * | getFlowDataPointer (int x, int y, int z=0) |
| Accesses the original flow data. | |
| void | deallocateResampleMemory () |
| allocates the memory needed to store the resampled data | |
| void | allocateResampleMemory () |
| deallocates the memory needed to store the resampled data | |
| int | deallocateMemory () |
| frees all allocated memory to load the dataset | |
| int | allocateMemory () |
| allocates all necessary memory to load the dataset | |
Protected Attributes | |
| CFlowVisApp * | m_App |
| pointer to the application class | |
| int | dataX |
| elementcount of the dataset in x direction | |
| int | dataY |
| elementcount of the dataset in y direction | |
| int | dataZ |
| elementcount of the dataset in z direction | |
| float | dataAspect |
| aspect ratio of the dataset | |
| float | minX |
| smallest grid value in x direction | |
| float | minY |
| smallest grid value in y direction | |
| float | maxX |
| largest grid value in x direction | |
| float | maxY |
| largest grid value in y direction | |
| float | gridX |
| grid size of the dataset in x direction | |
| float | gridY |
| grid size of the dataset in y direction | |
| float | gridAspect |
| aspect ratio of the grid | |
| int | elements |
| element count of the dataset | |
| int | rsSizeX |
| size of the resampled data in x direction | |
| int | rsSizeY |
| size of the resampled data in y direction | |
| int | rsElements |
| element count of the resampled dataset | |
| int | addCount |
| number of additional datasets | |
| RsFlowData * | rsFlowData |
| pointer to resampled flow data structure | |
| RsAddData * | rsSpeed |
| pointer to Additional Speed Data class | |
| RsAddData * | rsSpeedGradient |
| pointer to Additional Speed Gradient Data class | |
| RsAddData * | rsAddData [MAX_ADDITIONAL_DATA] |
| pointers to further Additional Data classes | |
| GridData * | gData |
| pointer to grid data structure | |
| FlowData * | fData |
| pointer to flow data structure | |
| float * | aData [MAX_ADDITIONAL_DATA] |
| pointer to additional data structure | |
|
||||||||||||
|
constructor taking the names of the grid and data file
|
|
||||||||||||||||||||
|
Accesses the original additional data.
|
|
||||||||||||||||
|
Accesses the original flow data.
|
|
||||||||||||||||
|
Accesses the original grid data.
|
|
||||||||||||
|
Loads a dataset.
|
1.2.18