VTK  9.3.1
vtkXGMLReader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
20 #ifndef vtkXGMLReader_h
21 #define vtkXGMLReader_h
22 
23 #include "vtkIOInfovisModule.h" // For export macro
25 
26 VTK_ABI_NAMESPACE_BEGIN
27 class VTKIOINFOVIS_EXPORT vtkXGMLReader : public vtkUndirectedGraphAlgorithm
28 {
29 public:
30  static vtkXGMLReader* New();
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
35 
38  vtkGetFilePathMacro(FileName);
39  vtkSetFilePathMacro(FileName);
41 
42 protected:
43  vtkXGMLReader();
44  ~vtkXGMLReader() override;
45 
47 
48 private:
49  char* FileName;
50 
51  vtkXGMLReader(const vtkXGMLReader&) = delete;
52  void operator=(const vtkXGMLReader&) = delete;
53 };
54 
55 VTK_ABI_NAMESPACE_END
56 #endif // vtkXGMLReader_h
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store vtkAlgorithm input/output information.
Reads XGML graph files.
Definition: vtkXGMLReader.h:27
a simple class to control print indentation
Definition: vtkIndent.h:28
static vtkUndirectedGraphAlgorithm * New()
Store zero or more vtkInformation instances.
Superclass for algorithms that produce undirected graph as output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.