VTK  9.3.20240329
vtkVeraOutReader.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
3 // .NAME vtkVeraOutReader - File reader for VERA OUT HDF5 format.
4 
5 #ifndef vtkVeraOutReader_h
6 #define vtkVeraOutReader_h
7 
8 #include "vtkIOVeraOutModule.h" // For VTKIOVERAOUT_EXPORT macro
9 #include <vector> // For STL vector
10 
11 // vtkCommonExecutionModel
13 
14 VTK_ABI_NAMESPACE_BEGIN
16 
17 class VTKIOVERAOUT_EXPORT vtkVeraOutReader : public vtkRectilinearGridAlgorithm
18 {
19 public:
20  static vtkVeraOutReader* New();
22  void PrintSelf(ostream& os, vtkIndent indent) override;
23 
26 
35 
39  vtkMTimeType GetMTime() override;
40 
41 protected:
43  ~vtkVeraOutReader() override;
44 
46 
47  // Trigger the real data access
50 
51  char* FileName;
53  std::vector<double> TimeSteps;
54 
55 private:
56  vtkVeraOutReader(const vtkVeraOutReader&) = delete;
57  void operator=(const vtkVeraOutReader&) = delete;
58 
59  class Internals;
60  Internals* Internal;
61 };
62 
63 VTK_ABI_NAMESPACE_END
64 #endif
Store on/off settings for data arrays, etc.
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only rectilinear grid as output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataArraySelection * GetFieldDataArraySelection() const
Get vtkDataArraySelection instance to select field arrays to read.
static vtkVeraOutReader * New()
vtkSetFilePathMacro(FileName)
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
~vtkVeraOutReader() override
vtkDataArraySelection * GetCellDataArraySelection() const
Get vtkDataArraySelection instance to select cell arrays to read.
vtkGetFilePathMacro(FileName)
std::vector< double > TimeSteps
vtkMTimeType GetMTime() override
Override GetMTime because of array selector.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *outVector) override
This is called by the superclass.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270