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