VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
vtkPNGReader.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkPNGReader.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
=========================================================================*/
31
#ifndef __vtkPNGReader_h
32
#define __vtkPNGReader_h
33
34
#include "
vtkImageReader2.h
"
35
36
class
VTK_IO_EXPORT
vtkPNGReader
:
public
vtkImageReader2
37
{
38
public
:
39
static
vtkPNGReader
*
New
();
40
vtkTypeMacro(
vtkPNGReader
,
vtkImageReader2
);
41
virtual
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
virtual
int
CanReadFile
(
const
char
* fname);
45
47
49
virtual
const
char
*
GetFileExtensions
()
50
{
51
return
".png"
;
52
}
54
56
58
virtual
const
char
*
GetDescriptiveName
()
59
{
60
return
"PNG"
;
61
}
63
64
protected
:
65
vtkPNGReader
() {};
66
~vtkPNGReader
() {};
67
68
virtual
void
ExecuteInformation
();
69
virtual
void
ExecuteData
(
vtkDataObject
*out);
70
private
:
71
vtkPNGReader
(
const
vtkPNGReader
&);
// Not implemented.
72
void
operator=(
const
vtkPNGReader
&);
// Not implemented.
73
};
74
#endif
75
76
Generated on Sun Sep 9 2012 13:03:42 for VTK by
1.8.1.2