VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/IO/Legacy/vtkPolyDataWriter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPolyDataWriter.h
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 =========================================================================*/
00030 #ifndef vtkPolyDataWriter_h
00031 #define vtkPolyDataWriter_h
00032 
00033 #include "vtkIOLegacyModule.h" // For export macro
00034 #include "vtkDataWriter.h"
00035 
00036 class vtkPolyData;
00037 
00038 class VTKIOLEGACY_EXPORT vtkPolyDataWriter : public vtkDataWriter
00039 {
00040 public:
00041   static vtkPolyDataWriter *New();
00042   vtkTypeMacro(vtkPolyDataWriter,vtkDataWriter);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00046 
00047   vtkPolyData* GetInput();
00048   vtkPolyData* GetInput(int port);
00050 
00051 protected:
00052   vtkPolyDataWriter() {}
00053   ~vtkPolyDataWriter() {}
00054 
00055   void WriteData();
00056 
00057   virtual int FillInputPortInformation(int port, vtkInformation *info);
00058 
00059 private:
00060   vtkPolyDataWriter(const vtkPolyDataWriter&);  // Not implemented.
00061   void operator=(const vtkPolyDataWriter&);  // Not implemented.
00062 };
00063 
00064 #endif