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

IO/vtkUnstructuredGridWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkUnstructuredGridWriter.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 =========================================================================*/
00028 #ifndef __vtkUnstructuredGridWriter_h
00029 #define __vtkUnstructuredGridWriter_h
00030 
00031 #include "vtkDataWriter.h"
00032 class vtkUnstructuredGrid;
00033 
00034 class VTK_IO_EXPORT vtkUnstructuredGridWriter : public vtkDataWriter
00035 {
00036 public:
00037   static vtkUnstructuredGridWriter *New();
00038   vtkTypeRevisionMacro(vtkUnstructuredGridWriter,vtkDataWriter);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00042 
00043   void SetInput(vtkUnstructuredGrid *input);
00044   vtkUnstructuredGrid *GetInput();
00046 
00047 protected:
00048   vtkUnstructuredGridWriter() {};
00049   ~vtkUnstructuredGridWriter() {};
00050 
00051   void WriteData();
00052 
00053 private:
00054   vtkUnstructuredGridWriter(const vtkUnstructuredGridWriter&);  // Not implemented.
00055   void operator=(const vtkUnstructuredGridWriter&);  // Not implemented.
00056 };
00057 
00058 #endif
00059 
00060