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

vtkXMLPDataSetWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkXMLPDataSetWriter.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 =========================================================================*/
00041 #ifndef __vtkXMLPDataSetWriter_h
00042 #define __vtkXMLPDataSetWriter_h
00043 
00044 #include "vtkXMLPDataWriter.h"
00045 
00046 class VTK_IO_EXPORT vtkXMLPDataSetWriter : public vtkXMLPDataWriter
00047 {
00048 public:
00049   vtkTypeRevisionMacro(vtkXMLPDataSetWriter,vtkXMLPDataWriter);
00050   void PrintSelf(ostream& os, vtkIndent indent);
00051   static vtkXMLPDataSetWriter* New();
00052   
00054 
00055   void SetInput(vtkDataSet* input);
00056   vtkDataSet* GetInput();
00058   
00059 protected:
00060   vtkXMLPDataSetWriter();
00061   ~vtkXMLPDataSetWriter();
00062   
00063   // Override writing method from superclass.
00064   virtual int WriteInternal();
00065   
00066   // Dummies to satisfy pure virtuals from superclass.
00067   const char* GetDataSetName();
00068   const char* GetDefaultFileExtension();
00069   vtkXMLWriter* CreatePieceWriter(int index);  
00070   
00071 private:
00072   vtkXMLPDataSetWriter(const vtkXMLPDataSetWriter&);  // Not implemented.
00073   void operator=(const vtkXMLPDataSetWriter&);  // Not implemented.
00074 };
00075 
00076 #endif