VTK
vtkImageButterworthLowPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageButterworthLowPass.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 =========================================================================*/
31 #ifndef vtkImageButterworthLowPass_h
32 #define vtkImageButterworthLowPass_h
33 
34 
35 #include "vtkImagingFourierModule.h" // For export macro
37 
38 class VTKIMAGINGFOURIER_EXPORT vtkImageButterworthLowPass : public vtkThreadedImageAlgorithm
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
51  vtkSetVector3Macro(CutOff,double);
52  void SetCutOff(double v) {this->SetCutOff(v, v, v);}
53  void SetXCutOff(double v);
54  void SetYCutOff(double v);
55  void SetZCutOff(double v);
56  vtkGetVector3Macro(CutOff,double);
57  double GetXCutOff() {return this->CutOff[0];}
58  double GetYCutOff() {return this->CutOff[1];}
59  double GetZCutOff() {return this->CutOff[2];}
61 
63 
66  vtkSetMacro(Order, int);
67  vtkGetMacro(Order, int);
69 
70 
71 protected:
74 
75  int Order;
76  double CutOff[3];
77 
78  void ThreadedRequestData( vtkInformation *request,
79  vtkInformationVector **inputVector,
80  vtkInformationVector *outputVector,
81  vtkImageData ***inData, vtkImageData **outData,
82  int outExt[6], int id) override;
83 private:
85  void operator=(const vtkImageButterworthLowPass&) = delete;
86 };
87 
88 #endif
Frequency domain Low pass.
Store vtkAlgorithm input/output information.
void SetCutOff(double v)
Set/Get the cutoff frequency for each axis.
Generic filter that has one input.
a simple class to control print indentation
Definition: vtkIndent.h:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
virtual void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int extent[6], int threadId)
If the subclass does not define an Execute method, then the task will be broken up,...
double GetZCutOff()
Set/Get the cutoff frequency for each axis.
double GetXCutOff()
Set/Get the cutoff frequency for each axis.
double GetYCutOff()
Set/Get the cutoff frequency for each axis.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.