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
50#ifndef vtkDIMACSGraphWriter_h
51#define vtkDIMACSGraphWriter_h
52
53#include "vtkIOInfovisModule.h" // For export macro
54#include "vtkDataWriter.h"
55
56class vtkGraph;
57
58class VTKIOINFOVIS_EXPORT vtkDIMACSGraphWriter : public vtkDataWriter
59{
60public:
63 void PrintSelf(ostream& os, vtkIndent indent);
64
66
72
73protected:
76
77 void WriteData();
78
80
81private:
82 vtkDIMACSGraphWriter(const vtkDIMACSGraphWriter&) VTK_DELETE_FUNCTION;
83 void operator=(const vtkDIMACSGraphWriter&) VTK_DELETE_FUNCTION;
84};
85
86#endif
write vtkGraph data to a DIMACS formatted file
vtkGraph * GetInput(int port)
vtkGraph * GetInput()
Get the input to this writer.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
static vtkDIMACSGraphWriter * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:46
Base class for graph data types.
Definition: vtkGraph.h:288
a simple class to control print indentation
Definition: vtkIndent.h:40
Store vtkAlgorithm input/output information.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447