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 "vtkIOLegacyModule.h" // For export macro
30 #include "vtkDataWriter.h"
31 
33 {
34 public:
35  static vtkDataSetWriter *New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
42  vtkDataSet* GetInput(int port);
44 
45 protected:
48 
49  void WriteData();
50 
52 
53 private:
54  vtkDataSetWriter(const vtkDataSetWriter&); // Not implemented.
55  void operator=(const vtkDataSetWriter&); // Not implemented.
56 };
57 
58 #endif
Store vtkAlgorithm input/output information.
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
helper class for objects that write vtk data files
Definition: vtkDataWriter.h:42
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKIOLEGACY_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkDataObject * GetInput()
virtual int FillInputPortInformation(int port, vtkInformation *info)
static vtkDataWriter * New()
write any type of vtk dataset to file
void WriteData()