00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkXMLPHierarchicalBoxDataWriter.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 =========================================================================*/ 00025 #ifndef __vtkXMLPHierarchicalBoxDataWriter_h 00026 #define __vtkXMLPHierarchicalBoxDataWriter_h 00027 00028 #include "vtkXMLHierarchicalBoxDataWriter.h" 00029 00030 class vtkMultiProcessController; 00031 00032 class VTK_PARALLEL_EXPORT vtkXMLPHierarchicalBoxDataWriter : public vtkXMLHierarchicalBoxDataWriter 00033 { 00034 public: 00035 static vtkXMLPHierarchicalBoxDataWriter* New(); 00036 vtkTypeMacro(vtkXMLPHierarchicalBoxDataWriter, vtkXMLHierarchicalBoxDataWriter); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00044 virtual void SetController(vtkMultiProcessController*); 00045 vtkGetObjectMacro(Controller, vtkMultiProcessController); 00047 00051 virtual void SetWriteMetaFile(int flag); 00052 00053 //BTX 00054 protected: 00055 vtkXMLPHierarchicalBoxDataWriter(); 00056 ~vtkXMLPHierarchicalBoxDataWriter(); 00057 00058 00059 virtual void FillDataTypes(vtkCompositeDataSet*); 00060 00061 vtkMultiProcessController* Controller; 00062 00063 private: 00064 vtkXMLPHierarchicalBoxDataWriter(const vtkXMLPHierarchicalBoxDataWriter&); // Not implemented. 00065 void operator=(const vtkXMLPHierarchicalBoxDataWriter&); // Not implemented. 00066 //ETX 00067 }; 00068 00069 #endif 00070 00071