32 #ifndef __vtkWindBladeReader_h
33 #define __vtkWindBladeReader_h
38 class vtkWindBladeReaderPiece;
48 class vtkMultiBlockDataSetAglorithm;
50 class WindBladeReaderInternal;
59 vtkSetStringMacro(Filename);
60 vtkGetStringMacro(Filename);
62 vtkSetVector6Macro(WholeExtent,
int);
63 vtkGetVector6Macro(WholeExtent,
int);
65 vtkSetVector6Macro(SubExtent,
int);
66 vtkGetVector6Macro(SubExtent,
int);
79 int GetNumberOfPointArrays();
80 const char* GetPointArrayName(
int index);
83 int GetPointArrayStatus(
const char*
name);
84 void SetPointArrayStatus(
const char*
name,
int status);
86 void DisableAllPointArrays();
87 void EnableAllPointArrays();
195 bool ReadGlobalData();
196 void ReadDataVariables(istream& inStr);
197 bool FindVariableOffsets();
200 void SetupBladeData();
201 void LoadBladeData(
int timeStep);
204 void FillCoordinates();
205 void FillGroundCoordinates();
206 void CreateCoordinates();
207 void CreateZTopography(
float* zdata);
208 float GDeform(
float sigma,
float sigmaMax,
int flag);
209 void Spline(
float* x,
float* y,
int n,
float yp1,
float ypn,
float* y2);
210 void Splint(
float* xa,
float* ya,
float* y2a,
int n,
float x,
float* y,
int);
213 void LoadVariableData(
int var);
216 void DivideByDensity(
const char*
name);
219 void CalculateVorticity(
int vort,
int uvw,
int density);
220 void CalculatePressure(
int pres,
int prespre,
int tempg,
int density);
232 static void SelectionCallback(
238 static void EventCallback(
241 void* clientdata,
void* calldata);