VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkPNMReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPNMReader.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
=========================================================================*/
40
#ifndef __vtkPNMReader_h
41
#define __vtkPNMReader_h
42
43
#include "
vtkImageReader.h
"
44
45
class
VTK_IO_EXPORT
vtkPNMReader
:
public
vtkImageReader
46
{
47
public
:
48
static
vtkPNMReader
*
New
();
49
vtkTypeMacro(
vtkPNMReader
,
vtkImageReader
);
50
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
51
52
int
CanReadFile
(
const
char
* fname);
54
55
virtual
const
char
*
GetFileExtensions
()
56
{
57
return
".pnm .pgm .ppm"
;
58
}
60
62
63
virtual
const
char
*
GetDescriptiveName
()
64
{
65
return
"PNM"
;
66
}
68
69
protected
:
70
vtkPNMReader
() {};
71
~vtkPNMReader
() {};
72
void
ExecuteInformation
();
73
private
:
74
vtkPNMReader
(
const
vtkPNMReader
&);
// Not implemented.
75
void
operator=(
const
vtkPNMReader
&);
// Not implemented.
76
};
77
78
#endif
79
80
Generated on Thu Mar 13 2014 08:10:21 for VTK by
1.8.1.2