VTK
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=========================================================================*/
35#ifndef vtkImageSeparableConvolution_h
36#define vtkImageSeparableConvolution_h
37
38
39#include "vtkImagingGeneralModule.h" // For export macro
41
42class vtkFloatArray;
43
44class VTKIMAGINGGENERAL_EXPORT vtkImageSeparableConvolution : public vtkImageDecomposeFilter
45{
46public:
49
50
51 // Set the X convolution kernel, a null value indicates no convolution to
52 // be done. The kernel must be of odd length
53 virtual void SetXKernel(vtkFloatArray*);
54 vtkGetObjectMacro ( XKernel, vtkFloatArray );
55
56 // Set the Y convolution kernel, a null value indicates no convolution to
57 // be done The kernel must be of odd length
58 virtual void SetYKernel(vtkFloatArray*);
59 vtkGetObjectMacro ( YKernel, vtkFloatArray );
60
61 // Set the Z convolution kernel, a null value indicates no convolution to
62 // be done The kernel must be of odd length
63 virtual void SetZKernel(vtkFloatArray*);
64 vtkGetObjectMacro ( ZKernel, vtkFloatArray );
65
66 void PrintSelf(ostream& os, vtkIndent indent);
67
73
74protected:
77
81
85
87 vtkInformation* out);
89 vtkInformation* out);
90
91private:
93 void operator=(const vtkImageSeparableConvolution&) VTK_DELETE_FUNCTION;
94};
95
96#endif
97
98
99
100
101
102
103
104
105
106
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:42
Filters that execute axes in series.
3 1D convolutions on an image
virtual void SetZKernel(vtkFloatArray *)
static vtkImageSeparableConvolution * New()
virtual void SetXKernel(vtkFloatArray *)
virtual int IterativeRequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int IterativeRequestInformation(vtkInformation *in, vtkInformation *out)
virtual void SetYKernel(vtkFloatArray *)
virtual int IterativeRequestUpdateExtent(vtkInformation *in, vtkInformation *out)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkMTimeType GetMTime()
Overload standard modified time function.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248