VTK
vtkDIMACSGraphWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDIMACSGraphWriter.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 (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 "vtkIOInfovisModule.h" // For export macro
53 #include "vtkDataWriter.h"
54 
55 class vtkGraph;
56 
58 {
59 public:
60  static vtkDIMACSGraphWriter *New();
62  void PrintSelf(ostream& os, vtkIndent indent);
63 
65 
66  vtkGraph* GetInput();
67  vtkGraph* GetInput(int port);
69 
70 protected:
73 
74  void WriteData();
75 
77 
78 private:
79  vtkDIMACSGraphWriter(const vtkDIMACSGraphWriter&); // Not implemented.
80  void operator=(const vtkDIMACSGraphWriter&); // Not implemented.
81 };
82 
83 #endif
Store vtkAlgorithm input/output information.
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:42
#define VTKIOINFOVIS_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
Base class for graph data types.
Definition: vtkGraph.h:288
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkDataObject * GetInput()
virtual int FillInputPortInformation(int port, vtkInformation *info)
write vtkGraph data to a DIMACS formatted file
static vtkDataWriter * New()
void WriteData()