VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkXMLImageDataWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkXMLImageDataWriter.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
=========================================================================*/
31
#ifndef __vtkXMLImageDataWriter_h
32
#define __vtkXMLImageDataWriter_h
33
34
#include "
vtkXMLStructuredDataWriter.h
"
35
36
class
vtkImageData
;
37
38
class
VTK_IO_EXPORT
vtkXMLImageDataWriter
:
public
vtkXMLStructuredDataWriter
39
{
40
public
:
41
static
vtkXMLImageDataWriter
*
New
();
42
vtkTypeMacro(
vtkXMLImageDataWriter
,
vtkXMLStructuredDataWriter
);
43
void
PrintSelf
(ostream& os,
vtkIndent
indent);
44
45
//BTX
47
48
vtkImageData
*
GetInput
();
49
//ETX
51
53
const
char
*
GetDefaultFileExtension
();
54
55
protected
:
56
vtkXMLImageDataWriter
();
57
~
vtkXMLImageDataWriter
();
58
59
// see algorithm for more info
60
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
61
62
void
WritePrimaryElementAttributes
(ostream &os,
vtkIndent
indent);
63
void
GetInputExtent
(
int
*
extent
);
64
const
char
*
GetDataSetName
();
65
66
private
:
67
vtkXMLImageDataWriter
(
const
vtkXMLImageDataWriter
&);
// Not implemented.
68
void
operator=(
const
vtkXMLImageDataWriter
&);
// Not implemented.
69
};
70
71
#endif
Generated on Sun Sep 9 2012 13:03:42 for VTK by
1.8.1.2