VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkImageIdealLowPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageIdealLowPass.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 __vtkImageIdealLowPass_h
34 #define __vtkImageIdealLowPass_h
35 
36 
37 #include "vtkImagingFourierModule.h" // For export macro
38 #include "vtkThreadedImageAlgorithm.h"
39 
40 class VTKIMAGINGFOURIER_EXPORT vtkImageIdealLowPass : public vtkThreadedImageAlgorithm
41 {
42 public:
43  static vtkImageIdealLowPass *New();
44  vtkTypeMacro(vtkImageIdealLowPass,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 
62 protected:
65 
66  double CutOff[3];
67 
68  void ThreadedRequestData(vtkInformation *request,
69  vtkInformationVector **inputVector,
70  vtkInformationVector *outputVector,
71  vtkImageData ***inData, vtkImageData **outData,
72  int outExt[6], int id);
73 private:
74  vtkImageIdealLowPass(const vtkImageIdealLowPass&); // Not implemented.
75  void operator=(const vtkImageIdealLowPass&); // Not implemented.
76 };
77 
78 #endif
Simple frequency domain band pass.