VTK  9.1.0
vtkImageButterworthHighPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageButterworthHighPass.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 =========================================================================*/
50 #ifndef vtkImageButterworthHighPass_h
51 #define vtkImageButterworthHighPass_h
52 
53 #include "vtkImagingFourierModule.h" // For export macro
55 
56 class VTKIMAGINGFOURIER_EXPORT vtkImageButterworthHighPass : public vtkThreadedImageAlgorithm
57 {
58 public:
61  void PrintSelf(ostream& os, vtkIndent indent) override;
62 
64 
69  vtkSetVector3Macro(CutOff, double);
70  void SetCutOff(double v) { this->SetCutOff(v, v, v); }
71  void SetXCutOff(double cutOff);
72  void SetYCutOff(double cutOff);
73  void SetZCutOff(double cutOff);
74  vtkGetVector3Macro(CutOff, double);
75  double GetXCutOff() { return this->CutOff[0]; }
76  double GetYCutOff() { return this->CutOff[1]; }
77  double GetZCutOff() { return this->CutOff[2]; }
79 
81 
84  vtkSetMacro(Order, int);
85  vtkGetMacro(Order, int);
87 
88 protected:
90  ~vtkImageButterworthHighPass() override = default;
91 
92  int Order;
93  double CutOff[3];
94 
96  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
97  int outExt[6], int id) override;
98 
99 private:
101  void operator=(const vtkImageButterworthHighPass&) = delete;
102 };
103 
104 #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: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.