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