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

IO/vtkXMLPRectilinearGridWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkXMLPRectilinearGridWriter.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 =========================================================================*/
00044 #ifndef __vtkXMLPRectilinearGridWriter_h
00045 #define __vtkXMLPRectilinearGridWriter_h
00046 
00047 #include "vtkXMLPStructuredDataWriter.h"
00048 
00049 class vtkRectilinearGrid;
00050 
00051 class VTK_IO_EXPORT vtkXMLPRectilinearGridWriter : public vtkXMLPStructuredDataWriter
00052 {
00053 public:
00054   static vtkXMLPRectilinearGridWriter* New();
00055   vtkTypeRevisionMacro(vtkXMLPRectilinearGridWriter,vtkXMLPStructuredDataWriter);
00056   void PrintSelf(ostream& os, vtkIndent indent);
00057   
00059 
00060   void SetInput(vtkRectilinearGrid* input);
00061   vtkRectilinearGrid* GetInput();
00063   
00065   const char* GetDefaultFileExtension();
00066   
00067 protected:
00068   vtkXMLPRectilinearGridWriter();
00069   ~vtkXMLPRectilinearGridWriter();
00070   
00071   const char* GetDataSetName();
00072   vtkXMLStructuredDataWriter* CreateStructuredPieceWriter(); 
00073   void WritePData(vtkIndent indent);
00074   
00075 private:
00076   vtkXMLPRectilinearGridWriter(const vtkXMLPRectilinearGridWriter&);  // Not implemented.
00077   void operator=(const vtkXMLPRectilinearGridWriter&);  // Not implemented.
00078 };
00079 
00080 #endif