VTK
dox
IO
Infovis
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
:
61
static
vtkDIMACSGraphWriter
*
New
();
62
vtkTypeMacro(
vtkDIMACSGraphWriter
,
vtkDataWriter
);
63
void
PrintSelf
(ostream& os,
vtkIndent
indent);
64
66
69
vtkGraph
*
GetInput
();
70
vtkGraph
*
GetInput
(
int
port
);
72
73
protected
:
74
vtkDIMACSGraphWriter
() {}
75
~vtkDIMACSGraphWriter
() {}
76
77
void
WriteData
();
78
79
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
80
81
private
:
82
vtkDIMACSGraphWriter
(
const
vtkDIMACSGraphWriter
&) VTK_DELETE_FUNCTION;
83
void
operator=(
const
vtkDIMACSGraphWriter
&) VTK_DELETE_FUNCTION;
84
};
85
86
#endif
vtkDIMACSGraphWriter::vtkDIMACSGraphWriter
vtkDIMACSGraphWriter()
Definition:
vtkDIMACSGraphWriter.h:74
vtkAlgorithm::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:58
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkWriter::GetInput
vtkDataObject * GetInput()
vtkDataWriter::New
static vtkDataWriter * New()
Created object with default header, ASCII format, and default names for scalars, vectors,...
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkDIMACSGraphWriter::~vtkDIMACSGraphWriter
~vtkDIMACSGraphWriter()
Definition:
vtkDIMACSGraphWriter.h:75
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
vtkDataWriter.h
vtkDataWriter::WriteData
void WriteData()
vtkDataWriter
helper class for objects that write vtk data files
Definition:
vtkDataWriter.h:45
vtkGraph
Base class for graph data types.
Definition:
vtkGraph.h:287
vtkDataWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
Generated by
1.8.17