VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
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
26
#include "
vtkXMLCompositeDataWriter.h
"
27
28
class
VTK_IO_EXPORT
vtkXMLHierarchicalBoxDataWriter
:
public
vtkXMLCompositeDataWriter
29
{
30
public
:
31
static
vtkXMLHierarchicalBoxDataWriter
*
New
();
32
vtkTypeMacro(
vtkXMLHierarchicalBoxDataWriter
,
vtkXMLCompositeDataWriter
);
33
void
PrintSelf
(ostream& os,
vtkIndent
indent);
34
36
37
virtual
const
char
*
GetDefaultFileExtension
()
38
{
return
"vth"
; }
40
41
//BTX
42
protected
:
43
vtkXMLHierarchicalBoxDataWriter
();
44
~
vtkXMLHierarchicalBoxDataWriter
();
45
46
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
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
:
59
vtkXMLHierarchicalBoxDataWriter
(
const
vtkXMLHierarchicalBoxDataWriter
&);
// Not implemented.
60
void
operator=(
const
vtkXMLHierarchicalBoxDataWriter
&);
// Not implemented.
61
//ETX
62
};
63
64
#endif
65
66
Generated on Sun Sep 9 2012 13:03:42 for VTK by
1.8.1.2