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 
35 #ifndef __vtkDIMACSGraphWriter_h
36 #define __vtkDIMACSGraphWriter_h
37 
38 #include "vtkDataWriter.h"
39 
40 class vtkGraph;
41 
43 {
44 public:
45  static vtkDIMACSGraphWriter *New();
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
51  vtkGraph* GetInput();
52  vtkGraph* GetInput(int port);
54 
55 protected:
58 
59  void WriteData();
60 
62 
63 private:
64  vtkDIMACSGraphWriter(const vtkDIMACSGraphWriter&); // Not implemented.
65  void operator=(const vtkDIMACSGraphWriter&); // Not implemented.
66 };
67 
68 #endif
Store vtkAlgorithm input/output information.
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:41
void PrintSelf(ostream &os, vtkIndent indent)
Base class for graph data types.
Definition: vtkGraph.h:287
a simple class to control print indentation
Definition: vtkIndent.h:37
vtkDataObject * GetInput()
virtual int FillInputPortInformation(int port, vtkInformation *info)
write vtkGraph data to a DIMACS formatted file
#define VTK_INFOVIS_EXPORT
static vtkDataWriter * New()
void WriteData()