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   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00031 #ifndef __vtkPolyDataWriter_h
00032 #define __vtkPolyDataWriter_h
00033 
00034 #include "vtkDataWriter.h"
00035 
00036 class vtkPolyData;
00037 
00038 class VTK_IO_EXPORT vtkPolyDataWriter : public vtkDataWriter
00039 {
00040 public:
00041   static vtkPolyDataWriter *New();
00042   vtkTypeRevisionMacro(vtkPolyDataWriter,vtkDataWriter);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00046 
00047   void SetInput(vtkPolyData *input);
00048   vtkPolyData *GetInput();
00050                                
00051 protected:
00052   vtkPolyDataWriter() {};
00053   ~vtkPolyDataWriter() {};
00054 
00055   void WriteData();
00056 
00057 private:
00058   vtkPolyDataWriter(const vtkPolyDataWriter&);  // Not implemented.
00059   void operator=(const vtkPolyDataWriter&);  // Not implemented.
00060 };
00061 
00062 #endif
00063 
00064