1 /*=========================================================================
3 Program: Visualization Toolkit
4 Module: $RCSfile: vtkPolyDataWriter.h,v $
6 Date: $Date: 2002/05/31 23:12:41 $
7 Version: $Revision: 1.23 $
9 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
11 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notice for more information.
17 =========================================================================*/
18 // .NAME vtkPolyDataWriter - write vtk polygonal data
19 // .SECTION Description
20 // vtkPolyDataWriter is a source object that writes ASCII or binary
21 // polygonal data files in vtk format. See text for format details.
23 // Binary files written on one system may not be readable on other systems.
25 #ifndef __vtkPolyDataWriter_h
26 #define __vtkPolyDataWriter_h
28 #include "vtkDataWriter.h"
32 class VTK_IO_EXPORT vtkPolyDataWriter : public vtkDataWriter
35 static vtkPolyDataWriter *New();
36 vtkTypeRevisionMacro(vtkPolyDataWriter,vtkDataWriter);
37 void PrintSelf(ostream& os, vtkIndent indent);
40 // Set / get the input data or filter.
41 void SetInput(vtkPolyData *input);
42 vtkPolyData *GetInput();
45 vtkPolyDataWriter() {};
46 ~vtkPolyDataWriter() {};
51 vtkPolyDataWriter(const vtkPolyDataWriter&); // Not implemented.
52 void operator=(const vtkPolyDataWriter&); // Not implemented.