VTK  9.0.3
vtkADIOS2VTXReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkADIOS2VTXReader.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 
16 /*
17  * vtkADIOS2VTXReader.h public facing class
18  * enables reading adios2 bp files using the
19  * VTK ADIOS2 Readers (VTX) developed
20  * at Oak Ridge National Laboratory
21  *
22  * Created on: May 1, 2019
23  * Author: William F Godoy godoywf@ornl.gov
24  */
25 
26 #ifndef vtkADIOS2VTXReader_h
27 #define vtkADIOS2VTXReader_h
28 
29 #include <memory> // std::unique_ptr
30 
31 #include "vtkIOADIOS2Module.h" // For export macro
33 
34 // forward declaring to keep it private
35 namespace vtx
36 {
37 class VTXSchemaManager;
38 }
39 
40 class vtkIndent;
41 class vtkInformation;
42 class vtkInformationvector;
43 
44 class VTKIOADIOS2_EXPORT vtkADIOS2VTXReader : public vtkMultiBlockDataSetAlgorithm
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent index) override;
50 
51  vtkSetStringMacro(FileName);
52  vtkGetStringMacro(FileName);
53 
54 protected:
56  ~vtkADIOS2VTXReader() = default;
57 
59  void operator=(const vtkADIOS2VTXReader&) = delete;
60 
66 
67 private:
68  char* FileName;
69  std::unique_ptr<vtx::VTXSchemaManager> SchemaManager;
70 };
71 
72 #endif /* vtkADIOS2VTXReader_h */
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector)
This is called by the superclass.
void operator=(const vtkADIOS2VTXReader &)=delete
static vtkADIOS2VTXReader * New()
~vtkADIOS2VTXReader()=default
vtkADIOS2VTXReader(const vtkADIOS2VTXReader &)=delete
void PrintSelf(ostream &os, vtkIndent index) override
Methods invoked by print to print information about the object including superclasses.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector)
This is called by the superclass.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector)
This is called by the superclass.
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
@ index
Definition: vtkX3D.h:252