VTK  9.2.6
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 =========================================================================*/
43 #ifndef vtkImageButterworthHighPass_h
44 #define vtkImageButterworthHighPass_h
45 
46 #include "vtkImagingFourierModule.h" // For export macro
48 
49 class VTKIMAGINGFOURIER_EXPORT vtkImageButterworthHighPass : public vtkThreadedImageAlgorithm
50 {
51 public:
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
57 
62  vtkSetVector3Macro(CutOff, double);
63  void SetCutOff(double v) { this->SetCutOff(v, v, v); }
64  void SetXCutOff(double cutOff);
65  void SetYCutOff(double cutOff);
66  void SetZCutOff(double cutOff);
67  vtkGetVector3Macro(CutOff, double);
68  double GetXCutOff() { return this->CutOff[0]; }
69  double GetYCutOff() { return this->CutOff[1]; }
70  double GetZCutOff() { return this->CutOff[2]; }
72 
74 
77  vtkSetMacro(Order, int);
78  vtkGetMacro(Order, int);
80 
81 protected:
83  ~vtkImageButterworthHighPass() override = default;
84 
85  int Order;
86  double CutOff[3];
87 
89  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
90  int outExt[6], int id) override;
91 
92 private:
94  void operator=(const vtkImageButterworthHighPass&) = delete;
95 };
96 
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:63
a simple class to control print indentation
Definition: vtkIndent.h:49
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.