VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Imaging
vtkImageSeparableConvolution.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkImageSeparableConvolution.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 __vtkImageSeparableConvolution_h
32
#define __vtkImageSeparableConvolution_h
33
34
35
#include "
vtkImageDecomposeFilter.h
"
36
37
class
vtkFloatArray
;
38
39
class
VTK_IMAGING_EXPORT
vtkImageSeparableConvolution
:
public
vtkImageDecomposeFilter
40
{
41
public
:
42
static
vtkImageSeparableConvolution
*
New
();
43
vtkTypeMacro(
vtkImageSeparableConvolution
,
vtkImageDecomposeFilter
);
44
45
46
// Set the X convolution kernel, a null value indicates no convolution to
47
// be done. The kernel must be of odd length
48
virtual
void
SetXKernel(
vtkFloatArray
*);
49
vtkGetObjectMacro ( XKernel,
vtkFloatArray
);
50
51
// Set the Y convolution kernel, a null value indicates no convolution to
52
// be done The kernel must be of odd length
53
virtual
void
SetYKernel(
vtkFloatArray
*);
54
vtkGetObjectMacro ( YKernel,
vtkFloatArray
);
55
56
// Set the Z convolution kernel, a null value indicates no convolution to
57
// be done The kernel must be of odd length
58
virtual
void
SetZKernel(
vtkFloatArray
*);
59
vtkGetObjectMacro ( ZKernel,
vtkFloatArray
);
60
61
void
PrintSelf
(ostream& os,
vtkIndent
indent);
62
65
unsigned
long
int
GetMTime
();
66
67
protected
:
68
vtkImageSeparableConvolution
();
69
~
vtkImageSeparableConvolution
();
70
71
vtkFloatArray
*
XKernel
;
72
vtkFloatArray
*
YKernel
;
73
vtkFloatArray
*
ZKernel
;
74
75
virtual
int
IterativeRequestData
(
vtkInformation
*,
76
vtkInformationVector
**,
77
vtkInformationVector
*);
78
79
virtual
int
IterativeRequestInformation
(
vtkInformation
* in,
80
vtkInformation
* out);
81
virtual
int
IterativeRequestUpdateExtent
(
vtkInformation
* in,
82
vtkInformation
* out);
83
84
private
:
85
vtkImageSeparableConvolution
(
const
vtkImageSeparableConvolution
&);
// Not implemented.
86
void
operator=(
const
vtkImageSeparableConvolution
&);
// Not implemented.
87
};
88
89
#endif
90
91
92
93
94
95
96
97
98
99
Generated on Fri Aug 2 2013 12:19:59 for VTK by
1.8.4