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 =========================================================================*/
00033 #ifndef __vtkXMLPRectilinearGridWriter_h
00034 #define __vtkXMLPRectilinearGridWriter_h
00035 
00036 #include "vtkXMLPStructuredDataWriter.h"
00037 
00038 class vtkRectilinearGrid;
00039 
00040 class VTK_IO_EXPORT vtkXMLPRectilinearGridWriter : public vtkXMLPStructuredDataWriter
00041 {
00042 public:
00043   static vtkXMLPRectilinearGridWriter* New();
00044   vtkTypeRevisionMacro(vtkXMLPRectilinearGridWriter,vtkXMLPStructuredDataWriter);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046   
00048 
00049   void SetInput(vtkRectilinearGrid* input);
00050   vtkRectilinearGrid* GetInput();
00052   
00054   const char* GetDefaultFileExtension();
00055   
00056 protected:
00057   vtkXMLPRectilinearGridWriter();
00058   ~vtkXMLPRectilinearGridWriter();
00059   
00060   const char* GetDataSetName();
00061   vtkXMLStructuredDataWriter* CreateStructuredPieceWriter(); 
00062   void WritePData(vtkIndent indent);
00063   
00064 private:
00065   vtkXMLPRectilinearGridWriter(const vtkXMLPRectilinearGridWriter&);  // Not implemented.
00066   void operator=(const vtkXMLPRectilinearGridWriter&);  // Not implemented.
00067 };
00068 
00069 #endif