VTK  9.1.0
vtkImageButterworthLowPass.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkImageButterworthLowPass.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=========================================================================*/
31#ifndef vtkImageButterworthLowPass_h
32#define vtkImageButterworthLowPass_h
33
34#include "vtkImagingFourierModule.h" // For export macro
36
37class VTKIMAGINGFOURIER_EXPORT vtkImageButterworthLowPass : public vtkThreadedImageAlgorithm
38{
39public:
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
45
50 vtkSetVector3Macro(CutOff, double);
51 void SetCutOff(double v) { this->SetCutOff(v, v, v); }
52 void SetXCutOff(double cutOff);
53 void SetYCutOff(double cutOff);
54 void SetZCutOff(double cutOff);
55 vtkGetVector3Macro(CutOff, double);
56 double GetXCutOff() { return this->CutOff[0]; }
57 double GetYCutOff() { return this->CutOff[1]; }
58 double GetZCutOff() { return this->CutOff[2]; }
60
62
65 vtkSetMacro(Order, int);
66 vtkGetMacro(Order, int);
68
69protected:
71 ~vtkImageButterworthLowPass() override = default;
72
73 int Order;
74 double CutOff[3];
75
77 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
78 int outExt[6], int id) override;
79
80private:
82 void operator=(const vtkImageButterworthLowPass&) = delete;
83};
84
85#endif
Frequency domain Low pass.
void SetZCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
static vtkImageButterworthLowPass * New()
double GetZCutOff()
Set/Get the cutoff frequency for each axis.
double GetXCutOff()
Set/Get the cutoff frequency for each axis.
void SetYCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetXCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
void SetCutOff(double v)
Set/Get the cutoff frequency for each axis.
~vtkImageButterworthLowPass() override=default
double GetYCutOff()
Set/Get the cutoff frequency for each axis.
topologically and geometrically regular array of data
Definition: vtkImageData.h:157
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.