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

vtkXMLPRectilinearGridWriter.h

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