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 
40 class PWindBladeReaderInternal;
41 
42 class VTKIOMPIPARALLEL_EXPORT vtkPWindBladeReader : public vtkWindBladeReader
43 {
44 public:
45  static vtkPWindBladeReader *New();
47 
48  void PrintSelf(ostream &os, vtkIndent indent) override;
49 
50 protected:
53 
55  vtkInformationVector *) override;
56 
57  virtual void CalculatePressure(int pressure, int prespre,
58  int tempg, int density) override;
59  virtual void CalculateVorticity(int vort, int uvw, int density) override;
60  virtual void LoadVariableData(int var) override;
61  virtual bool ReadGlobalData() override;
62  virtual bool FindVariableOffsets() override;
63  virtual void CreateZTopography(float* zValues) override;
64  virtual void SetupBladeData() override;
65  virtual void LoadBladeData(int timeStep) override;
66 
67 private:
68  PWindBladeReaderInternal * PInternal;
69 
70  vtkPWindBladeReader(const vtkPWindBladeReader &) = delete;
71  void operator=(const vtkPWindBladeReader &) = delete;
72 };
73 
74 #endif
vtkWindBladeReader::FindVariableOffsets
virtual bool FindVariableOffsets()
vtkWindBladeReader
class for reading WindBlade data files
Definition: vtkWindBladeReader.h:51
vtkWindBladeReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkWindBladeReader::ReadGlobalData
virtual bool ReadGlobalData()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkWindBladeReader::LoadBladeData
virtual void LoadBladeData(int timeStep)
vtkWindBladeReader::CreateZTopography
virtual void CreateZTopography(float *zdata)
vtkWindBladeReader::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkWindBladeReader::SetupBladeData
virtual void SetupBladeData()
vtkWindBladeReader::LoadVariableData
virtual void LoadVariableData(int var)
vtkPWindBladeReader
class for reading WindBlade data files
Definition: vtkPWindBladeReader.h:42
vtkWindBladeReader::CalculatePressure
virtual void CalculatePressure(int pres, int prespre, int tempg, int density)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkWindBladeReader::New
static vtkWindBladeReader * New()
vtkWindBladeReader.h
vtkWindBladeReader::CalculateVorticity
virtual void CalculateVorticity(int vort, int uvw, int density)