VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
XML
vtkXMLPPolyDataWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkXMLPPolyDataWriter.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 __vtkXMLPPolyDataWriter_h
29
#define __vtkXMLPPolyDataWriter_h
30
31
#include "vtkIOXMLModule.h"
// For export macro
32
#include "
vtkXMLPUnstructuredDataWriter.h
"
33
34
class
vtkPolyData
;
35
36
class
VTKIOXML_EXPORT
vtkXMLPPolyDataWriter
:
public
vtkXMLPUnstructuredDataWriter
37
{
38
public
:
39
static
vtkXMLPPolyDataWriter
*
New
();
40
vtkTypeMacro(
vtkXMLPPolyDataWriter
,
vtkXMLPUnstructuredDataWriter
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
43
//BTX
45
46
vtkPolyData
*
GetInput
();
47
//ETX
49
51
const
char
*
GetDefaultFileExtension
();
52
53
protected
:
54
vtkXMLPPolyDataWriter
();
55
~
vtkXMLPPolyDataWriter
();
56
57
// see algorithm for more info
58
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
59
60
const
char
*
GetDataSetName
();
61
vtkXMLUnstructuredDataWriter
*
CreateUnstructuredPieceWriter
();
62
63
private
:
64
vtkXMLPPolyDataWriter
(
const
vtkXMLPPolyDataWriter
&);
// Not implemented.
65
void
operator=(
const
vtkXMLPPolyDataWriter
&);
// Not implemented.
66
};
67
68
#endif
Generated on Fri May 25 2012 22:39:32 for VTK by
1.8.1