VTK: Imaging/Fourier/vtkImageButterworthLowPass.h Source File

| VTK 9.3.1

vtkImageButterworthLowPass.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
22 #ifndef vtkImageButterworthLowPass_h
23 #define vtkImageButterworthLowPass_h
24
25 #include "vtkImagingFourierModule.h" // For export macro
26 #include "vtkThreadedImageAlgorithm.h"
27
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKIMAGINGFOURIER_EXPORT vtkImageButterworthLowPass : public vtkThreadedImageAlgorithm
30 {
31 public:
32 static vtkImageButterworthLowPass* New();
33 vtkTypeMacro(vtkImageButterworthLowPass, vtkThreadedImageAlgorithm);
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
37
42 vtkSetVector3Macro(CutOff, double);
43 void SetCutOff(double v) { this->SetCutOff(v, v, v); }
44 void SetXCutOff(double cutOff);
45 void SetYCutOff(double cutOff);
46 void SetZCutOff(double cutOff);
47 vtkGetVector3Macro(CutOff, double);
48 double GetXCutOff() { return this->CutOff[0]; }
49 double GetYCutOff() { return this->CutOff[1]; }
50 double GetZCutOff() { return this->CutOff[2]; }
52
54
57 vtkSetMacro(Order, int);
58 vtkGetMacro(Order, int);
60
61 protected:
62 vtkImageButterworthLowPass();
63 ~vtkImageButterworthLowPass() override = default;
64
65 int Order;
66 double CutOff[3];
67
68 void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
69 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
70 int outExt[6], int id) override;
71
72 private:
73 vtkImageButterworthLowPass(const vtkImageButterworthLowPass&) = delete;
74 void operator=(const vtkImageButterworthLowPass&) = delete;
75 };
76
77 VTK_ABI_NAMESPACE_END
78 #endif
vtkImageButterworthLowPass
Frequency domain Low pass.
Definition: vtkImageButterworthLowPass.h:30
vtkImageButterworthLowPass::SetZCutOff
void SetZCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
vtkImageButterworthLowPass::ThreadedRequestData
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,...
vtkImageButterworthLowPass::vtkImageButterworthLowPass
vtkImageButterworthLowPass()
vtkImageButterworthLowPass::GetZCutOff
double GetZCutOff()
Set/Get the cutoff frequency for each axis.
Definition: vtkImageButterworthLowPass.h:50
vtkImageButterworthLowPass::GetXCutOff
double GetXCutOff()
Set/Get the cutoff frequency for each axis.
Definition: vtkImageButterworthLowPass.h:48
vtkImageButterworthLowPass::SetYCutOff
void SetYCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
vtkImageButterworthLowPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageButterworthLowPass::Order
int Order
Definition: vtkImageButterworthLowPass.h:65
vtkImageButterworthLowPass::SetXCutOff
void SetXCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
vtkImageButterworthLowPass::New
static vtkImageButterworthLowPass * New()
vtkImageButterworthLowPass::SetCutOff
void SetCutOff(double v)
Set/Get the cutoff frequency for each axis.
Definition: vtkImageButterworthLowPass.h:43
vtkImageButterworthLowPass::~vtkImageButterworthLowPass
~vtkImageButterworthLowPass() override=default
vtkImageButterworthLowPass::GetYCutOff
double GetYCutOff()
Set/Get the cutoff frequency for each axis.
Definition: vtkImageButterworthLowPass.h:49
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkThreadedImageAlgorithm
Generic filter that has one input.
Definition: vtkThreadedImageAlgorithm.h:34
vtkThreadedImageAlgorithm.h