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 =========================================================================*/
23 #ifndef __vtkXMLHierarchicalBoxDataWriter_h
24 #define __vtkXMLHierarchicalBoxDataWriter_h
25 
27 
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent);
34 
36 
37  virtual const char* GetDefaultFileExtension()
38  { return "vth"; }
40 
41 //BTX
42 protected:
45 
47 
48  // Fills up this->AMRBoxes, this->AMRBoxDims with boxes for the dataset.
49  virtual void FillDataTypes(vtkCompositeDataSet*);
50 
51  // Internal method called recursively to create the xml tree for the children
52  // of compositeData.
53  virtual int WriteComposite(vtkCompositeDataSet* compositeData,
54  vtkXMLDataElement* parent, int &writerIdx);
55 
56  int *AMRBoxes;
57  int *AMRBoxDims;
58 private:
60  void operator=(const vtkXMLHierarchicalBoxDataWriter&); // Not implemented.
61 //ETX
62 };
63 
64 #endif
65 
66