VTK  9.3.1
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 
24  vtkSetFilePathMacro(FileName);
25  vtkGetFilePathMacro(FileName);
26 
30  vtkDataArraySelection* GetCellDataArraySelection() const;
34  vtkDataArraySelection* GetFieldDataArraySelection() const;
35 
39  vtkMTimeType GetMTime() override;
40 
41 protected:
43  ~vtkVeraOutReader() override;
44 
46 
47  // Trigger the real data access
48  int RequestData(
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
Superclass for algorithms that produce only rectilinear grid as output.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270
static vtkRectilinearGridAlgorithm * New()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store on/off settings for data arrays, etc.
virtual vtkMTimeType GetMTime()
Return this object's modified time.
Store zero or more vtkInformation instances.
std::vector< double > TimeSteps