VTK
vtkPWindBladeReader.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkPWindBladeReader.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
34#ifndef vtkPWindBladeReader_h
35#define vtkPWindBladeReader_h
36
37#include "vtkIOMPIParallelModule.h" // For export macro
38#include "vtkWindBladeReader.h"
39
40class PWindBladeReaderInternal;
41
42class VTKIOMPIPARALLEL_EXPORT vtkPWindBladeReader : public vtkWindBladeReader
43{
44public:
47
48 void PrintSelf(ostream &os, vtkIndent indent);
49
50protected:
53
56
57 virtual void CalculatePressure(int pressure, int prespre,
58 int tempg, int density);
59 virtual void CalculateVorticity(int vort, int uvw, int density);
60 virtual void LoadVariableData(int var);
61 virtual bool ReadGlobalData();
62 virtual bool FindVariableOffsets();
63 virtual void CreateZTopography(float* zValues);
64 virtual void SetupBladeData();
65 virtual void LoadBladeData(int timeStep);
66
67private:
68 PWindBladeReaderInternal * PInternal;
69
70 vtkPWindBladeReader(const vtkPWindBladeReader &) VTK_DELETE_FUNCTION;
71 void operator=(const vtkPWindBladeReader &) VTK_DELETE_FUNCTION;
72};
73
74#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
class for reading WindBlade data files
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
virtual void CalculateVorticity(int vort, int uvw, int density)
virtual void LoadVariableData(int var)
virtual bool ReadGlobalData()
virtual void SetupBladeData()
static vtkPWindBladeReader * New()
virtual void CalculatePressure(int pressure, int prespre, int tempg, int density)
virtual void CreateZTopography(float *zValues)
virtual void LoadBladeData(int timeStep)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual bool FindVariableOffsets()
class for reading WindBlade data files