VTK  9.1.0
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
35namespace vtx
36{
38}
39
40class vtkIndent;
41class vtkInformation;
42class vtkInformationvector;
43
44class VTKIOADIOS2_EXPORT vtkADIOS2VTXReader : public vtkMultiBlockDataSetAlgorithm
45{
46public:
49 void PrintSelf(ostream& os, vtkIndent indent) override;
50
53
54protected:
57
59 void operator=(const vtkADIOS2VTXReader&) = delete;
60
62 vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) override;
64 vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) override;
66 vtkInformation*, vtkInformationVector**, vtkInformationVector* outputVector) override;
67
68private:
69 char* FileName;
70 std::unique_ptr<vtx::VTXSchemaManager> SchemaManager;
71};
72
73#endif /* vtkADIOS2VTXReader_h */
void operator=(const vtkADIOS2VTXReader &)=delete
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector) override
This is called by the superclass.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkADIOS2VTXReader()=default
vtkADIOS2VTXReader(const vtkADIOS2VTXReader &)=delete
vtkGetFilePathMacro(FileName)
static vtkADIOS2VTXReader * New()
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkSetFilePathMacro(FileName)
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.