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 =========================================================================*/
34 #ifndef vtkImageButterworthLowPass_h
35 #define vtkImageButterworthLowPass_h
36 
37 
38 #include "vtkImagingFourierModule.h" // For export macro
40 
41 class VTKIMAGINGFOURIER_EXPORT vtkImageButterworthLowPass : public vtkThreadedImageAlgorithm
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
54  vtkSetVector3Macro(CutOff,double);
55  void SetCutOff(double v) {this->SetCutOff(v, v, v);}
56  void SetXCutOff(double v);
57  void SetYCutOff(double v);
58  void SetZCutOff(double v);
59  vtkGetVector3Macro(CutOff,double);
60  double GetXCutOff() {return this->CutOff[0];}
61  double GetYCutOff() {return this->CutOff[1];}
62  double GetZCutOff() {return this->CutOff[2];}
64 
66 
69  vtkSetMacro(Order, int);
70  vtkGetMacro(Order, int);
72 
73 
74 protected:
77 
78  int Order;
79  double CutOff[3];
80 
81  void ThreadedRequestData( vtkInformation *request,
82  vtkInformationVector **inputVector,
83  vtkInformationVector *outputVector,
84  vtkImageData ***inData, vtkImageData **outData,
85  int outExt[6], int id);
86 private:
87  vtkImageButterworthLowPass(const vtkImageButterworthLowPass&) VTK_DELETE_FUNCTION;
88  void operator=(const vtkImageButterworthLowPass&) VTK_DELETE_FUNCTION;
89 };
90 
91 #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:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
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, multiple threads will be spawned, and each thread will call this method.
double GetZCutOff()
Set/Get the cutoff frequency for each axis.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.