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