VTK  9.1.0
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 =========================================================================*/
31 #ifndef vtkPWindBladeReader_h
32 #define vtkPWindBladeReader_h
33 
34 #include "vtkIOMPIParallelModule.h" // For export macro
35 #include "vtkWindBladeReader.h"
36 
37 class PWindBladeReaderInternal;
38 
39 class VTKIOMPIPARALLEL_EXPORT vtkPWindBladeReader : public vtkWindBladeReader
40 {
41 public:
44 
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
47 protected:
50 
52 
53  void CalculatePressure(int pressure, int prespre, int tempg, int density) override;
54  void CalculateVorticity(int vort, int uvw, int density) override;
55  void LoadVariableData(int var) override;
56  bool ReadGlobalData() override;
57  bool FindVariableOffsets() override;
58  void CreateZTopography(float* zValues) override;
59  void SetupBladeData() override;
60  void LoadBladeData(int timeStep) override;
61 
62 private:
63  PWindBladeReaderInternal* PInternal;
64 
66  void operator=(const vtkPWindBladeReader&) = delete;
67 };
68 
69 #endif
vtkWindBladeReader
class for reading WindBlade data files
Definition: vtkWindBladeReader.h:49
vtkPWindBladeReader::New
static vtkPWindBladeReader * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkPWindBladeReader::LoadBladeData
void LoadBladeData(int timeStep) override
vtkPWindBladeReader::ReadGlobalData
bool ReadGlobalData() override
vtkPWindBladeReader::CalculatePressure
void CalculatePressure(int pressure, int prespre, int tempg, int density) override
vtkPWindBladeReader::vtkPWindBladeReader
vtkPWindBladeReader()
vtkPWindBladeReader::LoadVariableData
void LoadVariableData(int var) override
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkPWindBladeReader::CalculateVorticity
void CalculateVorticity(int vort, int uvw, int density) override
vtkPWindBladeReader::CreateZTopography
void CreateZTopography(float *zValues) override
vtkPWindBladeReader::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkPWindBladeReader::SetupBladeData
void SetupBladeData() override
vtkPWindBladeReader::FindVariableOffsets
bool FindVariableOffsets() override
vtkPWindBladeReader
class for reading WindBlade data files
Definition: vtkPWindBladeReader.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkPWindBladeReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkWindBladeReader.h
vtkPWindBladeReader::~vtkPWindBladeReader
~vtkPWindBladeReader() override