VTK
vtkDataSetWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetWriter.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 =========================================================================*/
26 #ifndef __vtkDataSetWriter_h
27 #define __vtkDataSetWriter_h
28 
29 #include "vtkDataWriter.h"
30 
32 {
33 public:
34  static vtkDataSetWriter *New();
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
41  vtkDataSet* GetInput(int port);
43 
44 protected:
47 
48  void WriteData();
49 
51 
52 private:
53  vtkDataSetWriter(const vtkDataSetWriter&); // Not implemented.
54  void operator=(const vtkDataSetWriter&); // Not implemented.
55 };
56 
57 #endif
58 
59 
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:41
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
vtkDataObject * GetInput()
virtual int FillInputPortInformation(int port, vtkInformation *info)
static vtkDataWriter * New()
#define VTK_IO_EXPORT
write any type of vtk dataset to file
void WriteData()