VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filtering
vtkSimpleImageToImageFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkSimpleImageToImageFilter.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
=========================================================================*/
39
#ifndef __vtkSimpleImageToImageFilter_h
40
#define __vtkSimpleImageToImageFilter_h
41
42
#include "
vtkImageAlgorithm.h
"
43
44
class
VTK_FILTERING_EXPORT
vtkSimpleImageToImageFilter
:
public
vtkImageAlgorithm
45
{
46
public
:
47
vtkTypeMacro(
vtkSimpleImageToImageFilter
,
vtkImageAlgorithm
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
50
protected
:
51
vtkSimpleImageToImageFilter
();
52
~
vtkSimpleImageToImageFilter
();
53
54
// These are called by the superclass.
55
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
56
vtkInformationVector
**,
57
vtkInformationVector
*);
58
59
// You don't have to touch this unless you have a good reason.
60
virtual
int
RequestData
(
vtkInformation
*,
61
vtkInformationVector
**,
62
vtkInformationVector
*);
63
64
// In the simplest case, this is the only method you need to define.
65
virtual
void
SimpleExecute(
vtkImageData
* input,
vtkImageData
* output) = 0;
66
67
private
:
68
vtkSimpleImageToImageFilter
(
const
vtkSimpleImageToImageFilter
&);
// Not implemented.
69
void
operator=(
const
vtkSimpleImageToImageFilter
&);
// Not implemented.
70
};
71
72
#endif
73
74
75
76
77
78
79
Generated on Thu Mar 13 2014 08:09:57 for VTK by
1.8.1.2