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=========================================================================*/
53#ifndef vtkImageButterworthHighPass_h
54#define vtkImageButterworthHighPass_h
55
56#include "vtkImagingFourierModule.h" // For export macro
58
59class VTKIMAGINGFOURIER_EXPORT vtkImageButterworthHighPass : public vtkThreadedImageAlgorithm
60{
61public:
64 void PrintSelf(ostream& os, vtkIndent indent) override;
65
67
72 vtkSetVector3Macro(CutOff, double);
73 void SetCutOff(double v) { this->SetCutOff(v, v, v); }
74 void SetXCutOff(double cutOff);
75 void SetYCutOff(double cutOff);
76 void SetZCutOff(double cutOff);
77 vtkGetVector3Macro(CutOff, double);
78 double GetXCutOff() { return this->CutOff[0]; }
79 double GetYCutOff() { return this->CutOff[1]; }
80 double GetZCutOff() { return this->CutOff[2]; }
82
84
87 vtkSetMacro(Order, int);
88 vtkGetMacro(Order, int);
90
91protected:
93 ~vtkImageButterworthHighPass() override = default;
94
95 int Order;
96 double CutOff[3];
97
99 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
100 int outExt[6], int id) override;
101
102private:
104 void operator=(const vtkImageButterworthHighPass&) = delete;
105};
106
107#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.
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.
static vtkImageButterworthHighPass * New()
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:163
a simple class to control print indentation
Definition: vtkIndent.h:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.