VTK  9.4.20241226
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
42#ifndef vtkImageSeparableConvolution_h
43#define vtkImageSeparableConvolution_h
44
46#include "vtkImagingGeneralModule.h" // For export macro
47
48VTK_ABI_NAMESPACE_BEGIN
49class vtkFloatArray;
50
51class VTKIMAGINGGENERAL_EXPORT vtkImageSeparableConvolution : public vtkImageDecomposeFilter
52{
53public:
56
57 // Set the X convolution kernel, a null value indicates no convolution to
58 // be done. The kernel must be of odd length
59 virtual void SetXKernel(vtkFloatArray*);
60 vtkGetObjectMacro(XKernel, vtkFloatArray);
61
62 // Set the Y convolution kernel, a null value indicates no convolution to
63 // be done The kernel must be of odd length
64 virtual void SetYKernel(vtkFloatArray*);
65 vtkGetObjectMacro(YKernel, vtkFloatArray);
66
67 // Set the Z convolution kernel, a null value indicates no convolution to
68 // be done The kernel must be of odd length
69 virtual void SetZKernel(vtkFloatArray*);
70 vtkGetObjectMacro(ZKernel, vtkFloatArray);
71
72 void PrintSelf(ostream& os, vtkIndent indent) override;
73
79
80protected:
83
87
89
92
93private:
95 void operator=(const vtkImageSeparableConvolution&) = delete;
96};
97
98VTK_ABI_NAMESPACE_END
99#endif
dynamic, self-adjusting array of float
Filters that execute axes in series.
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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:270