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 "vtkDataWriter.h"
28 
29 class vtkGraph;
30 
32 {
33 public:
34  static vtkGraphWriter *New();
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  vtkGraph* GetInput();
41  vtkGraph* GetInput(int port);
43 
44 protected:
47 
48  void WriteData();
49 
51 
52 private:
53  vtkGraphWriter(const vtkGraphWriter&); // Not implemented.
54  void operator=(const vtkGraphWriter&); // Not implemented.
55 };
56 
57 #endif
Store vtkAlgorithm input/output information.
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:41
void PrintSelf(ostream &os, vtkIndent indent)
Base class for graph data types.
Definition: vtkGraph.h:287
a simple class to control print indentation
Definition: vtkIndent.h:37
vtkDataObject * GetInput()
virtual int FillInputPortInformation(int port, vtkInformation *info)
write vtkGraph data to a file
static vtkDataWriter * New()
#define VTK_IO_EXPORT
void WriteData()