1 /*========================================================================= 2 3 Program: Visualization Toolkit 4 Module: vtkXMLHierarchicalBoxDataWriter.h 5 6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 7 All rights reserved. 8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 9 10 This software is distributed WITHOUT ANY WARRANTY; without even 11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 12 PURPOSE. See the above copyright notice for more information. 13 14 =========================================================================*/ 15 // .NAME vtkXMLHierarchicalBoxDataWriter - writer for vtkHierarchicalBoxDataSet 16 // for backwards compatibility. 17 // .SECTION Description 18 // vtkXMLHierarchicalBoxDataWriter is an empty subclass of 19 // vtkXMLUniformGridAMRWriter for writing vtkUniformGridAMR datasets in 20 // VTK-XML format. 21 22 #ifndef vtkXMLHierarchicalBoxDataWriter_h 23 #define vtkXMLHierarchicalBoxDataWriter_h 24 25 #include "vtkXMLUniformGridAMRWriter.h" 26 27 class VTKIOXML_EXPORT vtkXMLHierarchicalBoxDataWriter : public vtkXMLUniformGridAMRWriter 28 { 29 public: 30 static vtkXMLHierarchicalBoxDataWriter* New(); 31 vtkTypeMacro(vtkXMLHierarchicalBoxDataWriter, vtkXMLUniformGridAMRWriter); 32 void PrintSelf(ostream& os, vtkIndent indent); 33 34 // Description: 35 // Get the default file extension for files written by this writer. GetDefaultFileExtension()36 virtual const char* GetDefaultFileExtension() 37 { return "vth"; } 38 39 //BTX 40 protected: 41 vtkXMLHierarchicalBoxDataWriter(); 42 ~vtkXMLHierarchicalBoxDataWriter(); 43 44 private: 45 vtkXMLHierarchicalBoxDataWriter(const vtkXMLHierarchicalBoxDataWriter&); // Not implemented. 46 void operator=(const vtkXMLHierarchicalBoxDataWriter&); // Not implemented. 47 //ETX 48 }; 49 50 #endif 51