VTK
vtkGraphWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGraphWriter.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 =========================================================================*/
24 #ifndef vtkGraphWriter_h
25 #define vtkGraphWriter_h
26 
27 #include "vtkIOLegacyModule.h" // For export macro
28 #include "vtkDataWriter.h"
29 
30 class vtkGraph;
31 
33 {
34 public:
35  static vtkGraphWriter *New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
41  vtkGraph* GetInput();
42  vtkGraph* GetInput(int port);
44 
45 protected:
48 
49  void WriteData();
50 
52 
53 private:
54  vtkGraphWriter(const vtkGraphWriter&); // Not implemented.
55  void operator=(const vtkGraphWriter&); // Not implemented.
56 };
57 
58 #endif
Store vtkAlgorithm input/output information.
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:42
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKIOLEGACY_EXPORT
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 file
static vtkDataWriter * New()
void WriteData()