VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkXMLStructuredGridReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkXMLStructuredGridReader.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
=========================================================================*/
34
#ifndef __vtkXMLStructuredGridReader_h
35
#define __vtkXMLStructuredGridReader_h
36
37
#include "
vtkXMLStructuredDataReader.h
"
38
39
class
vtkStructuredGrid
;
40
41
class
VTK_IO_EXPORT
vtkXMLStructuredGridReader
:
public
vtkXMLStructuredDataReader
42
{
43
public
:
44
vtkTypeMacro(
vtkXMLStructuredGridReader
,
vtkXMLStructuredDataReader
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
static
vtkXMLStructuredGridReader
*
New
();
47
49
50
vtkStructuredGrid
*GetOutput();
51
vtkStructuredGrid
*GetOutput(
int
idx);
53
54
protected
:
55
vtkXMLStructuredGridReader
();
56
~
vtkXMLStructuredGridReader
();
57
58
const
char
*
GetDataSetName
();
59
void
SetOutputExtent
(
int
*
extent
);
60
61
void
SetupPieces
(
int
numPieces);
62
void
DestroyPieces
();
63
void
SetupOutputData
();
64
65
int
ReadPiece
(
vtkXMLDataElement
* ePiece);
66
int
ReadPieceData
();
67
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
68
69
// The elements representing the points for each piece.
70
vtkXMLDataElement
**
PointElements
;
71
72
private
:
73
vtkXMLStructuredGridReader
(
const
vtkXMLStructuredGridReader
&);
// Not implemented.
74
void
operator=(
const
vtkXMLStructuredGridReader
&);
// Not implemented.
75
};
76
77
#endif
Generated on Sun Sep 9 2012 13:03:42 for VTK by
1.8.1.2