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 
46 
50  vtkMTimeType GetMTime() override;
51 
52 protected:
54  ~vtkVeraOutReader() override;
55 
58 
59  // Trigger the real data access
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
vtkVeraOutReader::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkVeraOutReader::GetCellDataArraySelection
vtkDataArraySelection * GetCellDataArraySelection() const
Get vtkDataArraySelection instance to select cell arrays to read.
vtkRectilinearGridAlgorithm
Superclass for algorithms that produce only rectilinear grid as output.
Definition: vtkRectilinearGridAlgorithm.h:44
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkVeraOutReader::GetFieldDataArraySelection
vtkDataArraySelection * GetFieldDataArraySelection() const
Get vtkDataArraySelection instance to select field arrays to read.
vtkVeraOutReader::FileName
char * FileName
Definition: vtkVeraOutReader.h:63
vtkVeraOutReader::~vtkVeraOutReader
~vtkVeraOutReader() override
vtkVeraOutReader::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkDataArraySelection
Store on/off settings for data arrays for a vtkSource.
Definition: vtkDataArraySelection.h:38
vtkVeraOutReader::vtkVeraOutReader
vtkVeraOutReader()
vtkVeraOutReader::New
static vtkVeraOutReader * New()
vtkVeraOutReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkVeraOutReader
Definition: vtkVeraOutReader.h:29
vtkVeraOutReader::GetMTime
vtkMTimeType GetMTime() override
Override GetMTime because of array selector.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkVeraOutReader::NumberOfTimeSteps
int NumberOfTimeSteps
Definition: vtkVeraOutReader.h:64
vtkRectilinearGridAlgorithm.h
vtkVeraOutReader::TimeSteps
std::vector< double > TimeSteps
Definition: vtkVeraOutReader.h:65
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302