VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
XML
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
33
#include "
vtkXMLCompositeDataWriter.h
"
34
35
class
VTKIOXML_EXPORT
vtkXMLHierarchicalBoxDataWriter
:
public
vtkXMLCompositeDataWriter
36
{
37
public
:
38
static
vtkXMLHierarchicalBoxDataWriter
*
New
();
39
vtkTypeMacro(
vtkXMLHierarchicalBoxDataWriter
,
vtkXMLCompositeDataWriter
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
43
44
virtual
const
char
*
GetDefaultFileExtension
()
45
{
return
"vth"
; }
47
48
//BTX
49
protected
:
50
vtkXMLHierarchicalBoxDataWriter
();
51
~
vtkXMLHierarchicalBoxDataWriter
();
52
53
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
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
:
66
vtkXMLHierarchicalBoxDataWriter
(
const
vtkXMLHierarchicalBoxDataWriter
&);
// Not implemented.
67
void
operator=(
const
vtkXMLHierarchicalBoxDataWriter
&);
// Not implemented.
68
//ETX
69
};
70
71
#endif
72
73
Generated on Fri May 25 2012 22:39:32 for VTK by
1.8.1