VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
33 #ifndef __vtkImageButterworthLowPass_h
34 #define __vtkImageButterworthLowPass_h
35 
36 
37 #include "vtkImagingFourierModule.h" // For export macro
38 #include "vtkThreadedImageAlgorithm.h"
39 
40 class VTKIMAGINGFOURIER_EXPORT vtkImageButterworthLowPass : public vtkThreadedImageAlgorithm
41 {
42 public:
43  static vtkImageButterworthLowPass *New();
44  vtkTypeMacro(vtkImageButterworthLowPass,vtkThreadedImageAlgorithm);
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
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 
64  vtkSetMacro(Order, int);
65  vtkGetMacro(Order, int);
67 
68 
69 protected:
72 
73  int Order;
74  double CutOff[3];
75 
76  void ThreadedRequestData( vtkInformation *request,
77  vtkInformationVector **inputVector,
78  vtkInformationVector *outputVector,
79  vtkImageData ***inData, vtkImageData **outData,
80  int outExt[6], int id);
81 private:
82  vtkImageButterworthLowPass(const vtkImageButterworthLowPass&); // Not implemented.
83  void operator=(const vtkImageButterworthLowPass&); // Not implemented.
84 };
85 
86 #endif
Frequency domain Low pass.