VTK
dox/IO/Parallel/vtkXMLPUniformGridAMRWriter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkXMLPUniformGridAMRWriter.h
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 =========================================================================*/
00028 #ifndef __vtkXMLPUniformGridAMRWriter_h
00029 #define __vtkXMLPUniformGridAMRWriter_h
00030 
00031 #include "vtkIOParallelModule.h" // For export macro
00032 #include "vtkXMLUniformGridAMRWriter.h"
00033 
00034 class vtkMultiProcessController;
00035 
00036 class VTKIOPARALLEL_EXPORT vtkXMLPUniformGridAMRWriter : public vtkXMLUniformGridAMRWriter
00037 {
00038 public:
00039   static vtkXMLPUniformGridAMRWriter* New();
00040   vtkTypeMacro(vtkXMLPUniformGridAMRWriter, vtkXMLUniformGridAMRWriter);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00048   virtual void SetController(vtkMultiProcessController*);
00049   vtkGetObjectMacro(Controller, vtkMultiProcessController);
00051 
00055   virtual void SetWriteMetaFile(int flag);
00056 
00057 //BTX
00058 protected:
00059   vtkXMLPUniformGridAMRWriter();
00060   ~vtkXMLPUniformGridAMRWriter();
00061 
00064   virtual void FillDataTypes(vtkCompositeDataSet*);
00065 
00066   vtkMultiProcessController* Controller;
00067 private:
00068   vtkXMLPUniformGridAMRWriter(const vtkXMLPUniformGridAMRWriter&); // Not implemented.
00069   void operator=(const vtkXMLPUniformGridAMRWriter&); // Not implemented.
00070 //ETX
00071 };
00072 
00073 #endif