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 
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 =========================================================================*/
00024 #ifndef __vtkUnstructuredGridWriter_h
00025 #define __vtkUnstructuredGridWriter_h
00026 
00027 #include "vtkDataWriter.h"
00028 class vtkUnstructuredGrid;
00029 
00030 class VTK_IO_EXPORT vtkUnstructuredGridWriter : public vtkDataWriter
00031 {
00032 public:
00033   static vtkUnstructuredGridWriter *New();
00034   vtkTypeRevisionMacro(vtkUnstructuredGridWriter,vtkDataWriter);
00035   void PrintSelf(ostream& os, vtkIndent indent);
00036 
00038 
00039   void SetInput(vtkUnstructuredGrid *input);
00040   vtkUnstructuredGrid *GetInput();
00042 
00043 protected:
00044   vtkUnstructuredGridWriter() {};
00045   ~vtkUnstructuredGridWriter() {};
00046 
00047   void WriteData();
00048 
00049 private:
00050   vtkUnstructuredGridWriter(const vtkUnstructuredGridWriter&);  // Not implemented.
00051   void operator=(const vtkUnstructuredGridWriter&);  // Not implemented.
00052 };
00053 
00054 #endif
00055 
00056