VTK
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 
39 #ifndef _vtkXGMLReader_h
40 #define _vtkXGMLReader_h
41 
43 
45 {
46 public:
47  static vtkXGMLReader *New();
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
53  vtkGetStringMacro(FileName);
54  vtkSetStringMacro(FileName);
56 
57 protected:
58  vtkXGMLReader();
59  ~vtkXGMLReader();
60 
61  virtual int RequestData(
62  vtkInformation *,
65 
66 private:
67  char* FileName;
68 
69  vtkXGMLReader(const vtkXGMLReader&); // Not implemented.
70  void operator=(const vtkXGMLReader&); // Not implemented.
71 };
72 
73 #endif // _vtkXGMLReader_h
74 
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store vtkAlgorithm input/output information.
Reads XGML graph files. This reader is developed for a simple graph file format based loosely on the ...
Definition: vtkXGMLReader.h:44
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_INFOVIS_EXPORT
static vtkUndirectedGraphAlgorithm * New()
Store zero or more vtkInformation instances.
Superclass for algorithms that produce undirected graph as output.