32 #ifndef __vtkWindBladeReader_h
33 #define __vtkWindBladeReader_h
36 #include "vtkIOParallelModule.h"
39 class vtkWindBladeReaderPiece;
49 class vtkMultiBlockDataSetAglorithm;
51 class WindBladeReaderInternal;
60 vtkSetStringMacro(Filename);
63 vtkSetVector6Macro(WholeExtent,
int);
64 vtkGetVector6Macro(WholeExtent,
int);
66 vtkSetVector6Macro(SubExtent,
int);
67 vtkGetVector6Macro(SubExtent,
int);
80 int GetNumberOfPointArrays();
81 const char* GetPointArrayName(
int index);
84 int GetPointArrayStatus(
const char*
name);
85 void SetPointArrayStatus(
const char*
name,
int status);
87 void DisableAllPointArrays();
88 void EnableAllPointArrays();
196 bool ReadGlobalData();
197 void ReadDataVariables(istream& inStr);
198 bool FindVariableOffsets();
201 void SetupBladeData();
202 void LoadBladeData(
int timeStep);
205 void FillCoordinates();
206 void FillGroundCoordinates();
207 void CreateCoordinates();
208 void CreateZTopography(
float* zdata);
209 float GDeform(
float sigma,
float sigmaMax,
int flag);
210 void Spline(
float* x,
float* y,
int n,
float yp1,
float ypn,
float* y2);
211 void Splint(
float* xa,
float* ya,
float* y2a,
int n,
float x,
float* y,
int);
214 void LoadVariableData(
int var);
217 void DivideByDensity(
const char*
name);
220 void CalculateVorticity(
int vort,
int uvw,
int density);
221 void CalculatePressure(
int pres,
int prespre,
int tempg,
int density);
233 static void SelectionCallback(
239 static void EventCallback(
242 void* clientdata,
void* calldata);