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
vtkThreadedImageAlgorithm::ThreadedRequestData
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,...
vtkImageButterworthLowPass::GetZCutOff
double GetZCutOff()
Definition: vtkImageButterworthLowPass.h:59
vtkImageButterworthLowPass
Frequency domain Low pass.
Definition: vtkImageButterworthLowPass.h:38
vtkImageButterworthLowPass::GetXCutOff
double GetXCutOff()
Definition: vtkImageButterworthLowPass.h:57
vtkImageButterworthLowPass::Order
int Order
Definition: vtkImageButterworthLowPass.h:75
vtkImageButterworthLowPass::GetYCutOff
double GetYCutOff()
Definition: vtkImageButterworthLowPass.h:58
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkThreadedImageAlgorithm
Generic filter that has one input.
Definition: vtkThreadedImageAlgorithm.h:37
vtkThreadedImageAlgorithm.h
vtkImageButterworthLowPass::~vtkImageButterworthLowPass
~vtkImageButterworthLowPass() override
Definition: vtkImageButterworthLowPass.h:73
vtkThreadedImageAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkImageButterworthLowPass::SetCutOff
void SetCutOff(double v)
Definition: vtkImageButterworthLowPass.h:52
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkAlgorithm::New
static vtkAlgorithm * New()