Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

IO/vtkPolyDataWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkPolyDataWriter.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00027 #ifndef __vtkPolyDataWriter_h
00028 #define __vtkPolyDataWriter_h
00029 
00030 #include "vtkDataWriter.h"
00031 
00032 class vtkPolyData;
00033 
00034 class VTK_IO_EXPORT vtkPolyDataWriter : public vtkDataWriter
00035 {
00036 public:
00037   static vtkPolyDataWriter *New();
00038   vtkTypeRevisionMacro(vtkPolyDataWriter,vtkDataWriter);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00042 
00043   void SetInput(vtkPolyData *input);
00044   vtkPolyData *GetInput();
00046                                
00047 protected:
00048   vtkPolyDataWriter() {};
00049   ~vtkPolyDataWriter() {};
00050 
00051   void WriteData();
00052 
00053 private:
00054   vtkPolyDataWriter(const vtkPolyDataWriter&);  // Not implemented.
00055   void operator=(const vtkPolyDataWriter&);  // Not implemented.
00056 };
00057 
00058 #endif
00059 
00060