VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkPNMWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPNMWriter.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
=========================================================================*/
25
#ifndef __vtkPNMWriter_h
26
#define __vtkPNMWriter_h
27
28
#include "
vtkImageWriter.h
"
29
30
class
VTK_IO_EXPORT
vtkPNMWriter
:
public
vtkImageWriter
31
{
32
public
:
33
static
vtkPNMWriter
*
New
();
34
vtkTypeMacro(
vtkPNMWriter
,
vtkImageWriter
);
35
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
36
37
protected
:
38
vtkPNMWriter
() {};
39
~vtkPNMWriter
() {};
40
41
virtual
void
WriteFile
(ofstream *file,
vtkImageData
*
data
,
int
extent
[6]);
42
virtual
void
WriteFileHeader
(ofstream *,
vtkImageData
*);
43
private
:
44
vtkPNMWriter
(
const
vtkPNMWriter
&);
// Not implemented.
45
void
operator=(
const
vtkPNMWriter
&);
// Not implemented.
46
};
47
48
#endif
49
50
Generated on Wed May 30 2012 13:22:18 for VTK by
1.8.1