VTK  9.3.20240328
vtkImageButterworthHighPass.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
41 #ifndef vtkImageButterworthHighPass_h
42 #define vtkImageButterworthHighPass_h
43 
44 #include "vtkImagingFourierModule.h" // For export macro
46 
47 VTK_ABI_NAMESPACE_BEGIN
48 class VTKIMAGINGFOURIER_EXPORT vtkImageButterworthHighPass : public vtkThreadedImageAlgorithm
49 {
50 public:
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
56 
61  vtkSetVector3Macro(CutOff, double);
62  void SetCutOff(double v) { this->SetCutOff(v, v, v); }
63  void SetXCutOff(double cutOff);
64  void SetYCutOff(double cutOff);
65  void SetZCutOff(double cutOff);
66  vtkGetVector3Macro(CutOff, double);
67  double GetXCutOff() { return this->CutOff[0]; }
68  double GetYCutOff() { return this->CutOff[1]; }
69  double GetZCutOff() { return this->CutOff[2]; }
71 
73 
76  vtkSetMacro(Order, int);
77  vtkGetMacro(Order, int);
79 
80 protected:
82  ~vtkImageButterworthHighPass() override = default;
83 
84  int Order;
85  double CutOff[3];
86 
88  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
89  int outExt[6], int id) override;
90 
91 private:
93  void operator=(const vtkImageButterworthHighPass&) = delete;
94 };
95 
96 VTK_ABI_NAMESPACE_END
97 #endif
void SetXCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
double GetZCutOff()
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,...
void SetZCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
static vtkImageButterworthHighPass * New()
void SetCutOff(double v)
Set/Get the cutoff frequency for each axis.
double GetYCutOff()
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.
~vtkImageButterworthHighPass() override=default
topologically and geometrically regular array of data
Definition: vtkImageData.h:155
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.