00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkRectilinearGridWriter.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 =========================================================================*/ 00028 #ifndef __vtkRectilinearGridWriter_h 00029 #define __vtkRectilinearGridWriter_h 00030 00031 #include "vtkDataWriter.h" 00032 00033 class vtkRectilinearGrid; 00034 00035 class VTK_IO_EXPORT vtkRectilinearGridWriter : public vtkDataWriter 00036 { 00037 public: 00038 static vtkRectilinearGridWriter *New(); 00039 vtkTypeRevisionMacro(vtkRectilinearGridWriter,vtkDataWriter); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00044 vtkRectilinearGrid* GetInput(); 00045 vtkRectilinearGrid* GetInput(int port); 00047 00048 protected: 00049 vtkRectilinearGridWriter() {}; 00050 ~vtkRectilinearGridWriter() {}; 00051 00052 void WriteData(); 00053 00054 virtual int FillInputPortInformation(int port, vtkInformation *info); 00055 00056 private: 00057 vtkRectilinearGridWriter(const vtkRectilinearGridWriter&); // Not implemented. 00058 void operator=(const vtkRectilinearGridWriter&); // Not implemented. 00059 }; 00060 00061 #endif