VTK  9.0.1
vtkVeraOutReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkVeraOutReader.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 =========================================================================*/
15 // .NAME vtkVeraOutReader - File reader for VERA OUT HDF5 format.
16 
17 #ifndef vtkVeraOutReader_h
18 #define vtkVeraOutReader_h
19 
20 #include "vtkIOVeraOutModule.h" // For VTKIOVERAOUT_EXPORT macro
21 #include <vector> // For STL vector
22 
23 // vtkCommonExecutionModel
25 
27 
28 class VTKIOVERAOUT_EXPORT vtkVeraOutReader : public vtkRectilinearGridAlgorithm
29 {
30 public:
31  static vtkVeraOutReader* New();
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
35  vtkSetStringMacro(FileName);
36  vtkGetStringMacro(FileName);
37 
41  vtkDataArraySelection* GetCellDataArraySelection() const;
45  vtkDataArraySelection* GetFieldDataArraySelection() const;
46 
50  vtkMTimeType GetMTime() override;
51 
52 protected:
54  ~vtkVeraOutReader() override;
55 
57 
58  // Trigger the real data access
59  int RequestData(
60  vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) override;
61 
62  char* FileName;
64  std::vector<double> TimeSteps;
65 
66 private:
67  vtkVeraOutReader(const vtkVeraOutReader&) = delete;
68  void operator=(const vtkVeraOutReader&) = delete;
69 
70  class Internals;
71  Internals* Internal;
72 };
73 
74 #endif
Superclass for algorithms that produce only rectilinear grid as output.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:293
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:33
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store on/off settings for data arrays for a vtkSource.
virtual vtkMTimeType GetMTime()
Return this object&#39;s modified time.
Store zero or more vtkInformation instances.
std::vector< double > TimeSteps