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) override;
64 
66 
72 
73 protected:
75  ~vtkDIMACSGraphWriter() override {}
76 
77  void WriteData() override;
78 
80 
81 private:
83  void operator=(const vtkDIMACSGraphWriter&) = delete;
84 };
85 
86 #endif
vtkDIMACSGraphWriter::~vtkDIMACSGraphWriter
~vtkDIMACSGraphWriter() override
Definition: vtkDIMACSGraphWriter.h:75
vtkDIMACSGraphWriter::vtkDIMACSGraphWriter
vtkDIMACSGraphWriter()
Definition: vtkDIMACSGraphWriter.h:74
vtkDIMACSGraphWriter
write vtkGraph data to a DIMACS formatted file
Definition: vtkDIMACSGraphWriter.h:59
vtkDIMACSGraphWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDIMACSGraphWriter::New
static vtkDIMACSGraphWriter * New()
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkDIMACSGraphWriter::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDIMACSGraphWriter::GetInput
vtkGraph * GetInput()
Get the input to this writer.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
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:48
vtkGraph
Base class for graph data types.
Definition: vtkGraph.h:288
vtkDIMACSGraphWriter::WriteData
void WriteData() override
vtkDIMACSGraphWriter::GetInput
vtkGraph * GetInput(int port)