Go to the documentation of this file.
32 #ifndef vtkWindBladeReader_h
33 #define vtkWindBladeReader_h
46 class vtkMultiBlockDataSetAglorithm;
48 class WindBladeReaderInternal;
204 float GDeform(
float sigma,
float sigmaMax,
int flag);
205 void Spline(
float*
x,
float*
y,
int n,
float yp1,
float ypn,
float* y2);
206 void Splint(
float* xa,
float* ya,
float* y2a,
int n,
float x,
float*
y,
int);
220 std::ostringstream &fileName,
226 float *&pressureData,
float *&prespreData);
228 const float* tempgData,
const float* densityData);
232 int &planeSize,
int &rowSize);
255 void* clientdata,
void* calldata);
267 WindBladeReaderInternal * Internal;
represent and manipulate 3D points
static void SelectionCallback(vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
virtual bool FindVariableOffsets()
#define vtkGetVector6Macro(name, type)
static const int NUM_BASE_SIDES
class for reading WindBlade data files
void ReadBladeData(std::stringstream &inStr)
void InitPressureData(int pressure, int prespre, float *&pressureData, float *&prespreData)
void Splint(float *xa, float *ya, float *y2a, int n, float x, float *y, int)
virtual int FillOutputPortInformation(int, vtkInformation *)
static const int LINE_SIZE
static int BYTES_PER_DATA
Superclass for algorithms that produce only structured grid as output.
dynamic, self-adjusting array of float
virtual bool ReadGlobalData()
virtual void LoadBladeData(int timeStep)
float * ZTopographicValues
#define vtkTypeMacro(thisClass, superclass)
topologically regular array of data
abstract base class for most VTK objects
int GetPointArrayStatus(const char *name)
void SetUpGroundData(vtkInformationVector *outVector)
vtkFloatArray * XPosition
static float DRY_AIR_CONSTANT
GLint GLint GLint GLint GLint x
void DisableAllPointArrays()
vtkStdString TurbineBladeName
void PrintSelf(ostream &os, vtkIndent indent)
void SetUpVorticityData(float *uData, float *vData, const float *densityData, float *vortData)
vtkStdString DataBaseName
#define VTKIOGEOMETRY_EXPORT
void InitBladeData(vtkInformationVector *outVector)
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkStdString * VariableName
void EnableAllPointArrays()
vtkStdString TopographyFile
void SetUpFieldVars(vtkStructuredGrid *field)
virtual void CreateZTopography(float *zdata)
Store on/off settings for data arrays for a vtkSource.
void DivideByDensity(const char *name)
vtkStringArray * DivideVariables
static int NUM_PART_SIDES
const char * GetPointArrayName(int index)
GLuint const GLchar * name
void ProcessZCoords(float *topoData, float *zValues)
int GetNumberOfPointArrays()
vtkStdString RootDirectory
void ReadBladeHeader(const std::string &fileName, std::stringstream &inStr, int &numColumns)
void SetPointArrayStatus(const char *name, int status)
vtkStructuredGrid * GetFieldOutput()
int NumberOfFileVariables
a simple class to control print indentation
#define vtkSetStringMacro(name)
vtkFloatArray * HubHeight
dynamic, self-adjusting array of int
long int * VariableOffset
vtkDataArraySelection * PointDataArraySelection
vtkFloatArray * BladeLength
virtual void SetupBladeData()
void FillGroundCoordinates()
vtkGetStringMacro(ExtensionsString)
vtkStdString TurbineDirectory
virtual void LoadVariableData(int var)
int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
vtkCallbackCommand * SelectionObserver
float GDeform(float sigma, float sigmaMax, int flag)
virtual void CalculatePressure(int pres, int prespre, int tempg, int density)
vtkFloatArray * AngularVeloc
void SetUpPressureData(float *pressureData, float *prespreData, const float *tempgData, const float *densityData)
void InitVariableData(int var, int &numberOfComponents, float *&varData, int &planeSize, int &rowSize)
GLint GLint GLint GLint GLint GLint y
static vtkWindBladeReader * New()
vtkStructuredGrid * GetGroundOutput()
bool SetUpGlobalData(const std::string &fileName, std::stringstream &inStr)
#define vtkSetVector6Macro(name, type)
supports function callbacks
vtkStdString TurbineTowerName
a vtkAbstractArray subclass for strings
void InitFieldData(vtkInformationVector *outVector, std::ostringstream &fileName, vtkStructuredGrid *field)
void ReadDataVariables(istream &inStr)
dataset represents arbitrary combinations of all possible cell types
Wrapper around std::string to keep symbols short.
vtkFloatArray * YPosition
static void EventCallback(vtkObject *caller, unsigned long eid, void *clientdata, void *calldata)
vtkStdString DataDirectory
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
GLsizei const GLchar ** string
void Spline(float *x, float *y, int n, float yp1, float ypn, float *y2)
vtkUnstructuredGrid * GetBladeOutput()
int NumberOfDerivedVariables
virtual void CalculateVorticity(int vort, int uvw, int density)