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

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 =========================================================================*/
00040 #ifndef __vtkPolyDataWriter_h
00041 #define __vtkPolyDataWriter_h
00042 
00043 #include "vtkDataWriter.h"
00044 
00045 class vtkPolyData;
00046 
00047 class VTK_IO_EXPORT vtkPolyDataWriter : public vtkDataWriter
00048 {
00049 public:
00050   static vtkPolyDataWriter *New();
00051   vtkTypeRevisionMacro(vtkPolyDataWriter,vtkDataWriter);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055 
00056   void SetInput(vtkPolyData *input);
00057   vtkPolyData *GetInput();
00059                                
00060 protected:
00061   vtkPolyDataWriter() {};
00062   ~vtkPolyDataWriter() {};
00063 
00064   void WriteData();
00065 
00066 private:
00067   vtkPolyDataWriter(const vtkPolyDataWriter&);  // Not implemented.
00068   void operator=(const vtkPolyDataWriter&);  // Not implemented.
00069 };
00070 
00071 #endif
00072 
00073