VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
XML
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 "vtkIOXMLModule.h"
// For export macro
32
#include "
vtkXMLPStructuredDataWriter.h
"
33
34
class
vtkImageData
;
35
36
class
VTKIOXML_EXPORT
vtkXMLPImageDataWriter
:
public
vtkXMLPStructuredDataWriter
37
{
38
public
:
39
static
vtkXMLPImageDataWriter
*
New
();
40
vtkTypeMacro(
vtkXMLPImageDataWriter
,
vtkXMLPStructuredDataWriter
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
43
//BTX
45
46
vtkImageData
*
GetInput
();
47
//ETX
49
51
const
char
*
GetDefaultFileExtension
();
52
53
protected
:
54
vtkXMLPImageDataWriter
();
55
~
vtkXMLPImageDataWriter
();
56
57
const
char
*
GetDataSetName
();
58
void
WritePrimaryElementAttributes
(ostream &os,
vtkIndent
indent);
59
vtkXMLStructuredDataWriter
*
CreateStructuredPieceWriter
();
60
61
// see algorithm for more info
62
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
63
64
private
:
65
vtkXMLPImageDataWriter
(
const
vtkXMLPImageDataWriter
&);
// Not implemented.
66
void
operator=(
const
vtkXMLPImageDataWriter
&);
// Not implemented.
67
};
68
69
#endif
Generated on Fri May 25 2012 22:39:32 for VTK by
1.8.1