VTK  9.2.6
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 =========================================================================*/
54 #ifndef vtkImageSeparableConvolution_h
55 #define vtkImageSeparableConvolution_h
56 
58 #include "vtkImagingGeneralModule.h" // For export macro
59 
60 class vtkFloatArray;
61 
62 class VTKIMAGINGGENERAL_EXPORT vtkImageSeparableConvolution : public vtkImageDecomposeFilter
63 {
64 public:
67 
68  // Set the X convolution kernel, a null value indicates no convolution to
69  // be done. The kernel must be of odd length
70  virtual void SetXKernel(vtkFloatArray*);
71  vtkGetObjectMacro(XKernel, vtkFloatArray);
72 
73  // Set the Y convolution kernel, a null value indicates no convolution to
74  // be done The kernel must be of odd length
75  virtual void SetYKernel(vtkFloatArray*);
76  vtkGetObjectMacro(YKernel, vtkFloatArray);
77 
78  // Set the Z convolution kernel, a null value indicates no convolution to
79  // be done The kernel must be of odd length
80  virtual void SetZKernel(vtkFloatArray*);
81  vtkGetObjectMacro(ZKernel, vtkFloatArray);
82 
83  void PrintSelf(ostream& os, vtkIndent indent) override;
84 
89  vtkMTimeType GetMTime() override;
90 
91 protected:
94 
98 
100 
103 
104 private:
106  void operator=(const vtkImageSeparableConvolution&) = delete;
107 };
108 
109 #endif
dynamic, self-adjusting array of float
Filters that execute axes in series.
3 1D convolutions on an image
virtual void SetZKernel(vtkFloatArray *)
static vtkImageSeparableConvolution * New()
virtual void SetXKernel(vtkFloatArray *)
void PrintSelf(ostream &os, vtkIndent indent) override
Construct an instance of vtkImageDecomposeFilter filter with default dimensionality 3.
virtual void SetYKernel(vtkFloatArray *)
~vtkImageSeparableConvolution() override
int IterativeRequestUpdateExtent(vtkInformation *in, vtkInformation *out) override
int IterativeRequestInformation(vtkInformation *in, vtkInformation *out) override
int IterativeRequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
vtkMTimeType GetMTime() override
Overload standard modified time function.
a simple class to control print indentation
Definition: vtkIndent.h:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287