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

vtkXMLPUnstructuredGridWriter.h

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