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

vtkXMLPStructuredGridWriter.h

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