VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
Geometry
vtkStructuredGridWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkStructuredGridWriter.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 __vtkStructuredGridWriter_h
29
#define __vtkStructuredGridWriter_h
30
31
#include "vtkIOGeometryModule.h"
// For export macro
32
#include "
vtkDataWriter.h
"
33
34
class
vtkStructuredGrid
;
35
36
class
VTKIOGEOMETRY_EXPORT
vtkStructuredGridWriter
:
public
vtkDataWriter
37
{
38
public
:
39
static
vtkStructuredGridWriter
*
New
();
40
vtkTypeMacro(
vtkStructuredGridWriter
,
vtkDataWriter
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
45
vtkStructuredGrid
*
GetInput
();
46
vtkStructuredGrid
*
GetInput
(
int
port
);
48
49
protected
:
50
vtkStructuredGridWriter
() {};
51
~vtkStructuredGridWriter
() {};
52
53
void
WriteData
();
54
int
WriteBlanking(ostream *fp,
vtkStructuredGrid
*ds);
55
56
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
57
58
private
:
59
vtkStructuredGridWriter
(
const
vtkStructuredGridWriter
&);
// Not implemented.
60
void
operator=(
const
vtkStructuredGridWriter
&);
// Not implemented.
61
};
62
63
#endif
Generated on Thu May 24 2012 22:22:29 for VTK by
1.8.1