VTK  9.3.20240422
vtkPWindBladeReader.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
22#ifndef vtkPWindBladeReader_h
23#define vtkPWindBladeReader_h
24
25#include "vtkIOMPIParallelModule.h" // For export macro
26#include "vtkWindBladeReader.h"
27
28VTK_ABI_NAMESPACE_BEGIN
29class PWindBladeReaderInternal;
30
31class VTKIOMPIPARALLEL_EXPORT vtkPWindBladeReader : public vtkWindBladeReader
32{
33public:
36
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
39protected:
42
44
45 void CalculatePressure(int pressure, int prespre, int tempg, int density) override;
46 void CalculateVorticity(int vort, int uvw, int density) override;
47 void LoadVariableData(int var) override;
48 bool ReadGlobalData() override;
49 bool FindVariableOffsets() override;
50 void CreateZTopography(float* zValues) override;
51 void SetupBladeData() override;
52 void LoadBladeData(int timeStep) override;
53
54private:
55 PWindBladeReaderInternal* PInternal;
56
58 void operator=(const vtkPWindBladeReader&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
class for reading WindBlade data files
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool ReadGlobalData() override
void LoadBladeData(int timeStep) override
void CalculatePressure(int pressure, int prespre, int tempg, int density) override
~vtkPWindBladeReader() override
void SetupBladeData() override
void CreateZTopography(float *zValues) override
static vtkPWindBladeReader * New()
void CalculateVorticity(int vort, int uvw, int density) override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void LoadVariableData(int var) override
bool FindVariableOffsets() override
class for reading WindBlade data files