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