VTK
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 
58 
59  // Trigger the real data access
60  int RequestData(
61  vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) override;
62 
63  char* FileName;
65  std::vector<double> TimeSteps;
66 
67 private:
68  vtkVeraOutReader(const vtkVeraOutReader&) = delete;
69  void operator=(const vtkVeraOutReader&) = delete;
70 
71  class Internals;
72  Internals* Internal;
73 };
74 
75 #endif
Superclass for algorithms that produce only rectilinear grid as output.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302
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:39
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