VTK  9.3.0
vtkImageSeparableConvolution.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
32 #ifndef vtkImageSeparableConvolution_h
33 #define vtkImageSeparableConvolution_h
34 
36 #include "vtkImagingGeneralModule.h" // For export macro
37 
38 VTK_ABI_NAMESPACE_BEGIN
39 class vtkFloatArray;
40 
41 class VTKIMAGINGGENERAL_EXPORT vtkImageSeparableConvolution : public vtkImageDecomposeFilter
42 {
43 public:
46 
47  // Set the X convolution kernel, a null value indicates no convolution to
48  // be done. The kernel must be of odd length
49  virtual void SetXKernel(vtkFloatArray*);
50  vtkGetObjectMacro(XKernel, vtkFloatArray);
51 
52  // Set the Y convolution kernel, a null value indicates no convolution to
53  // be done The kernel must be of odd length
54  virtual void SetYKernel(vtkFloatArray*);
55  vtkGetObjectMacro(YKernel, vtkFloatArray);
56 
57  // Set the Z convolution kernel, a null value indicates no convolution to
58  // be done The kernel must be of odd length
59  virtual void SetZKernel(vtkFloatArray*);
60  vtkGetObjectMacro(ZKernel, vtkFloatArray);
61 
62  void PrintSelf(ostream& os, vtkIndent indent) override;
63 
68  vtkMTimeType GetMTime() override;
69 
70 protected:
73 
77 
79 
82 
83 private:
85  void operator=(const vtkImageSeparableConvolution&) = delete;
86 };
87 
88 VTK_ABI_NAMESPACE_END
89 #endif
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:40
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:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270