VTK
vtkDIMACSGraphWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: $RCSfile: vtkDIMACSGraphWriter.h,v $
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 (c) Sandia Corporation
17  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18 ----------------------------------------------------------------------------*/
19 
49 #ifndef __vtkDIMACSGraphWriter_h
50 #define __vtkDIMACSGraphWriter_h
51 
52 #include "vtkDataWriter.h"
53 
54 class vtkGraph;
55 
57 {
58 public:
59  static vtkDIMACSGraphWriter *New();
61  void PrintSelf(ostream& os, vtkIndent indent);
62 
64 
65  vtkGraph* GetInput();
66  vtkGraph* GetInput(int port);
68 
69 protected:
72 
73  void WriteData();
74 
76 
77 private:
78  vtkDIMACSGraphWriter(const vtkDIMACSGraphWriter&); // Not implemented.
79  void operator=(const vtkDIMACSGraphWriter&); // Not implemented.
80 };
81 
82 #endif