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

IO/vtkXMLPStructuredGridWriter.h

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