VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkXMLHierarchicalBoxDataReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: vtkXMLHierarchicalBoxDataReader.h
5
6
Copyright (c) Kitware, Inc.
7
All rights reserved.
8
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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
=========================================================================*/
34
#ifndef __vtkXMLHierarchicalBoxDataReader_h
35
#define __vtkXMLHierarchicalBoxDataReader_h
36
37
#include "
vtkXMLCompositeDataReader.h
"
38
39
class
VTK_IO_EXPORT
vtkXMLHierarchicalBoxDataReader
:
public
vtkXMLCompositeDataReader
40
{
41
public
:
42
static
vtkXMLHierarchicalBoxDataReader
*
New
();
43
vtkTypeMacro(
vtkXMLHierarchicalBoxDataReader
,
vtkXMLCompositeDataReader
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
46
protected
:
47
vtkXMLHierarchicalBoxDataReader
();
48
~
vtkXMLHierarchicalBoxDataReader
();
49
50
// Get the name of the data set being read.
51
virtual
const
char
*
GetDataSetName
();
52
53
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*
info
);
54
55
// Read the XML element for the subtree of a the composite dataset.
56
// dataSetIndex is used to rank the leaf nodes in an inorder traversal.
57
virtual
void
ReadComposite
(
vtkXMLDataElement
* element,
58
vtkCompositeDataSet
* composite,
const
char
* filePath,
59
unsigned
int
&dataSetIndex);
60
61
// Read the vtkDataSet (a leaf) in the composite dataset.
62
virtual
vtkDataSet
*
ReadDataset
(
vtkXMLDataElement
* xmlElem,
const
char
* filePath);
63
64
// Read v0.1
65
virtual
void
ReadVersion0(
vtkXMLDataElement
* element,
66
vtkCompositeDataSet
* composite,
const
char
* filePath,
67
unsigned
int
&dataSetIndex);
68
69
70
private
:
71
vtkXMLHierarchicalBoxDataReader
(
const
vtkXMLHierarchicalBoxDataReader
&);
// Not implemented.
72
void
operator=(
const
vtkXMLHierarchicalBoxDataReader
&);
// Not implemented.
73
74
};
75
76
#endif
Generated on Sun Sep 9 2012 13:03:42 for VTK by
1.8.1.2