VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageButterworthLowPass.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00033 #ifndef __vtkImageButterworthLowPass_h 00034 #define __vtkImageButterworthLowPass_h 00035 00036 00037 #include "vtkImagingFourierModule.h" // For export macro 00038 #include "vtkThreadedImageAlgorithm.h" 00039 00040 class VTKIMAGINGFOURIER_EXPORT vtkImageButterworthLowPass : public vtkThreadedImageAlgorithm 00041 { 00042 public: 00043 static vtkImageButterworthLowPass *New(); 00044 vtkTypeMacro(vtkImageButterworthLowPass,vtkThreadedImageAlgorithm); 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 00048 00051 vtkSetVector3Macro(CutOff,double); 00052 void SetCutOff(double v) {this->SetCutOff(v, v, v);} 00053 void SetXCutOff(double v); 00054 void SetYCutOff(double v); 00055 void SetZCutOff(double v); 00056 vtkGetVector3Macro(CutOff,double); 00057 double GetXCutOff() {return this->CutOff[0];} 00058 double GetYCutOff() {return this->CutOff[1];} 00059 double GetZCutOff() {return this->CutOff[2];} 00061 00063 00064 vtkSetMacro(Order, int); 00065 vtkGetMacro(Order, int); 00067 00068 00069 protected: 00070 vtkImageButterworthLowPass(); 00071 ~vtkImageButterworthLowPass() {} 00072 00073 int Order; 00074 double CutOff[3]; 00075 00076 void ThreadedRequestData( vtkInformation *request, 00077 vtkInformationVector **inputVector, 00078 vtkInformationVector *outputVector, 00079 vtkImageData ***inData, vtkImageData **outData, 00080 int outExt[6], int id); 00081 private: 00082 vtkImageButterworthLowPass(const vtkImageButterworthLowPass&); // Not implemented. 00083 void operator=(const vtkImageButterworthLowPass&); // Not implemented. 00084 }; 00085 00086 #endif