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