VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkXMLImageDataReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkXMLImageDataReader.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 __vtkXMLImageDataReader_h
35
#define __vtkXMLImageDataReader_h
36
37
#include "
vtkXMLStructuredDataReader.h
"
38
39
class
vtkImageData
;
40
41
class
VTK_IO_EXPORT
vtkXMLImageDataReader
:
public
vtkXMLStructuredDataReader
42
{
43
public
:
44
vtkTypeMacro(
vtkXMLImageDataReader
,
vtkXMLStructuredDataReader
);
45
void
PrintSelf
(ostream& os,
vtkIndent
indent);
46
static
vtkXMLImageDataReader
*
New
();
47
49
50
vtkImageData
*GetOutput();
51
vtkImageData
*GetOutput(
int
idx);
53
56
virtual
void
CopyOutputInformation
(
vtkInformation
*outInfo,
int
port
);
57
58
protected
:
59
vtkXMLImageDataReader
();
60
~
vtkXMLImageDataReader
();
61
62
double
Origin[3];
63
double
Spacing[3];
64
int
PieceExtent[6];
65
66
const
char
*
GetDataSetName
();
67
void
SetOutputExtent
(
int
*
extent
);
68
virtual
void
SetupUpdateExtentInformation
(
vtkInformation
*outInfo);
69
70
int
ReadPrimaryElement
(
vtkXMLDataElement
* ePrimary);
71
72
// Setup the output's information.
73
void
SetupOutputInformation
(
vtkInformation
*outInfo);
74
75
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*);
76
77
78
79
private
:
80
vtkXMLImageDataReader
(
const
vtkXMLImageDataReader
&);
// Not implemented.
81
void
operator=(
const
vtkXMLImageDataReader
&);
// Not implemented.
82
};
83
84
#endif
Generated on Wed Nov 21 2012 21:33:59 for VTK by
1.8.2