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