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