vtkPVDReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVDReader.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
23 #ifndef vtkPVDReader_h
24 #define vtkPVDReader_h
25 
26 #include "vtkPVVTKExtensionsIOCoreModule.h" //needed for exports
27 #include "vtkXMLCollectionReader.h"
28 
30 {
31 public:
32  static vtkPVDReader* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
43  void SetTimeStep(int index) override;
44  int GetTimeStep() override;
46 
47 protected:
48  vtkPVDReader();
49  ~vtkPVDReader() override;
50 
51  void ReadXMLData() override;
52 
53  int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
54  vtkInformationVector* outputVector) override;
55  int RequestInformation(vtkInformation* request, vtkInformationVector** vtkNotUsed(inputVector),
56  vtkInformationVector* outputVector) override;
57 
58 private:
59  vtkPVDReader(const vtkPVDReader&) = delete;
60  void operator=(const vtkPVDReader&) = delete;
61 };
62 
63 #endif
virtual int GetTimeStep()
#define VTKPVVTKEXTENSIONSIOCORE_EXPORT
void ReadXMLData() override
ParaView-specific vtkXMLCollectionReader subclass.
Definition: vtkPVDReader.h:29
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
static vtkXMLCollectionReader * New()
Read a file wrapping many other XML files.
virtual void SetTimeStep(int)
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void PrintSelf(ostream &os, vtkIndent indent) override