VTK
dox
IO
Image
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
=========================================================================*/
41
#ifndef vtkPNMReader_h
42
#define vtkPNMReader_h
43
44
#include "vtkIOImageModule.h"
// For export macro
45
#include "
vtkImageReader.h
"
46
47
class
VTKIOIMAGE_EXPORT
vtkPNMReader
:
public
vtkImageReader
48
{
49
public
:
50
static
vtkPNMReader
*
New
();
51
vtkTypeMacro(
vtkPNMReader
,
vtkImageReader
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
53
54
int
CanReadFile
(
const
char
* fname);
58
virtual
const
char
*
GetFileExtensions
()
59
{
60
return
".pnm .pgm .ppm"
;
61
}
62
66
virtual
const
char
*
GetDescriptiveName
()
67
{
68
return
"PNM"
;
69
}
70
71
protected
:
72
vtkPNMReader
() {}
73
~vtkPNMReader
() {}
74
void
ExecuteInformation
();
75
private
:
76
vtkPNMReader
(
const
vtkPNMReader
&) VTK_DELETE_FUNCTION;
77
void
operator=(
const
vtkPNMReader
&) VTK_DELETE_FUNCTION;
78
};
79
80
#endif
81
82
vtkPNMReader::vtkPNMReader
vtkPNMReader()
Definition:
vtkPNMReader.h:72
vtkImageReader
Superclass of transformable binary file readers.
Definition:
vtkImageReader.h:45
vtkPNMReader::GetFileExtensions
virtual const char * GetFileExtensions()
.pnm .pgm .ppm
Definition:
vtkPNMReader.h:58
vtkPNMReader::CanReadFile
int CanReadFile(const char *fname)
vtkPNMReader::~vtkPNMReader
~vtkPNMReader()
Definition:
vtkPNMReader.h:73
vtkPNMReader::ExecuteInformation
void ExecuteInformation()
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkPNMReader::GetDescriptiveName
virtual const char * GetDescriptiveName()
PNM.
Definition:
vtkPNMReader.h:66
vtkPNMReader
read pnm (i.e., portable anymap) files
Definition:
vtkPNMReader.h:48
vtkImageReader.h
vtkPNMReader::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPNMReader::New
static vtkPNMReader * New()
Generated by
1.8.20