VTK  9.2.6
vtkXGMLReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXGMLReader.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 // Copyright 2008 Sandia Corporation.
17 // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 // the U.S. Government retains certain rights in this software.
19 //-------------------------------------------------------------------------
20 
37 #ifndef vtkXGMLReader_h
38 #define vtkXGMLReader_h
39 
40 #include "vtkIOInfovisModule.h" // For export macro
42 
43 class VTKIOINFOVIS_EXPORT vtkXGMLReader : public vtkUndirectedGraphAlgorithm
44 {
45 public:
46  static vtkXGMLReader* New();
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
51 
54  vtkGetFilePathMacro(FileName);
55  vtkSetFilePathMacro(FileName);
57 
58 protected:
59  vtkXGMLReader();
60  ~vtkXGMLReader() override;
61 
63 
64 private:
65  char* FileName;
66 
67  vtkXGMLReader(const vtkXGMLReader&) = delete;
68  void operator=(const vtkXGMLReader&) = delete;
69 };
70 
71 #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:43
a simple class to control print indentation
Definition: vtkIndent.h:39
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.