VTK
vtkXMLHierarchicalBoxDataWriter.h
Go to the documentation of this file.
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 =========================================================================*/
29 #ifndef __vtkXMLHierarchicalBoxDataWriter_h
30 #define __vtkXMLHierarchicalBoxDataWriter_h
31 
32 #include "vtkIOXMLModule.h" // For export macro
34 
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
43 
44  virtual const char* GetDefaultFileExtension()
45  { return "vth"; }
47 
48 //BTX
49 protected:
52 
54 
55  // Fills up this->AMRBoxes, this->AMRBoxDims with boxes for the dataset.
56  virtual void FillDataTypes(vtkCompositeDataSet*);
57 
58  // Internal method called recursively to create the xml tree for the children
59  // of compositeData.
60  virtual int WriteComposite(vtkCompositeDataSet* compositeData,
61  vtkXMLDataElement* parent, int &writerIdx);
62 
63  int *AMRBoxes;
64  int *AMRBoxDims;
65 private:
67  void operator=(const vtkXMLHierarchicalBoxDataWriter&); // Not implemented.
68 //ETX
69 };
70 
71 #endif
72 
73