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 =========================================================================*/
35 #ifndef vtkImageSeparableConvolution_h
36 #define vtkImageSeparableConvolution_h
37 
39 #include "vtkImagingGeneralModule.h" // For export macro
40 
41 class vtkFloatArray;
42 
43 class VTKIMAGINGGENERAL_EXPORT vtkImageSeparableConvolution : public vtkImageDecomposeFilter
44 {
45 public:
48 
49  // Set the X convolution kernel, a null value indicates no convolution to
50  // be done. The kernel must be of odd length
51  virtual void SetXKernel(vtkFloatArray*);
52  vtkGetObjectMacro(XKernel, vtkFloatArray);
53 
54  // Set the Y convolution kernel, a null value indicates no convolution to
55  // be done The kernel must be of odd length
56  virtual void SetYKernel(vtkFloatArray*);
57  vtkGetObjectMacro(YKernel, vtkFloatArray);
58 
59  // Set the Z convolution kernel, a null value indicates no convolution to
60  // be done The kernel must be of odd length
61  virtual void SetZKernel(vtkFloatArray*);
62  vtkGetObjectMacro(ZKernel, vtkFloatArray);
63 
64  void PrintSelf(ostream& os, vtkIndent indent) override;
65 
70  vtkMTimeType GetMTime() override;
71 
72 protected:
74  ~vtkImageSeparableConvolution() override;
75 
79 
81 
84 
85 private:
87  void operator=(const vtkImageSeparableConvolution&) = delete;
88 };
89 
90 #endif
Store vtkAlgorithm input/output information.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:41
void PrintSelf(ostream &os, vtkIndent indent) override
Construct an instance of vtkImageDecomposeFilter filter with default dimensionality 3...
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual vtkMTimeType GetMTime()
Return this object's modified time.
virtual int IterativeRequestInformation(vtkInformation *in, vtkInformation *out)
virtual int IterativeRequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
3 1D convolutions on an image
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
Filters that execute axes in series.
virtual int IterativeRequestUpdateExtent(vtkInformation *in, vtkInformation *out)