VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkXMLMultiBlockDataReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: ParaView
4
Module: vtkXMLMultiBlockDataReader.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
=========================================================================*/
28
#ifndef __vtkXMLMultiBlockDataReader_h
29
#define __vtkXMLMultiBlockDataReader_h
30
31
#include "
vtkXMLCompositeDataReader.h
"
32
33
class
vtkMultiBlockDataSet
;
34
35
class
VTK_IO_EXPORT
vtkXMLMultiBlockDataReader
:
public
vtkXMLCompositeDataReader
36
{
37
public
:
38
static
vtkXMLMultiBlockDataReader
*
New
();
39
vtkTypeMacro(
vtkXMLMultiBlockDataReader
,
vtkXMLCompositeDataReader
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
42
protected
:
43
vtkXMLMultiBlockDataReader
();
44
~
vtkXMLMultiBlockDataReader
();
45
46
// Read the XML element for the subtree of a the composite dataset.
47
// dataSetIndex is used to rank the leaf nodes in an inorder traversal.
48
virtual
void
ReadComposite
(
vtkXMLDataElement
* element,
49
vtkCompositeDataSet
* composite,
const
char
* filePath,
50
unsigned
int
&dataSetIndex);
51
52
// Reads file version < 1.0.
53
virtual
void
ReadVersion0(
vtkXMLDataElement
* element,
54
vtkCompositeDataSet
* composite,
const
char
* filePath,
55
unsigned
int
&dataSetIndex);
56
57
// Get the name of the data set being read.
58
virtual
const
char
*
GetDataSetName
();
59
60
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*
info
);
61
62
virtual
int
RequestInformation
(
vtkInformation
*,
63
vtkInformationVector
**,
64
vtkInformationVector
*);
65
66
virtual
int
FillMetaData(
vtkCompositeDataSet
* metadata,
67
vtkXMLDataElement
* element,
68
unsigned
int
& dataSetIndex);
69
70
private
:
71
vtkXMLMultiBlockDataReader
(
const
vtkXMLMultiBlockDataReader
&);
// Not implemented.
72
void
operator=(
const
vtkXMLMultiBlockDataReader
&);
// Not implemented.
73
};
74
75
#endif
Generated on Wed Nov 21 2012 21:33:59 for VTK by
1.8.2