Imaging/vtkImageButterworthLowPass.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Imaging/vtkImageButterworthLowPass.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkImageButterworthLowPass.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00049 #ifndef __vtkImageButterworthLowPass_h
    00050 #define __vtkImageButterworthLowPass_h
    00051
    00052
    00053 #include "vtkImageToImageFilter.h"
    00054
    00055 class VTK_IMAGING_EXPORT vtkImageButterworthLowPass : public vtkImageToImageFilter
    00056 {
    00057 public:
    00058   static vtkImageButterworthLowPass *New();
    00059   vtkTypeRevisionMacro(vtkImageButterworthLowPass,vtkImageToImageFilter);
    00060   void PrintSelf(ostream& os, vtkIndent indent);
    00061
    00063
    00066   vtkSetVector3Macro(CutOff,float);
    00067   void SetCutOff(float v) {this->SetCutOff(v, v, v);}
    00068   void SetXCutOff(float v);
    00069   void SetYCutOff(float v);
    00070   void SetZCutOff(float v);
    00071   vtkGetVector3Macro(CutOff,float);
    00072   float GetXCutOff() {return this->CutOff[0];}
    00073   float GetYCutOff() {return this->CutOff[1];}
    00074   float GetZCutOff() {return this->CutOff[2];}
    00076
    00078
    00079   vtkSetMacro(Order, int);
    00080   vtkGetMacro(Order, int);
    00082
    00083
    00084 protected:
    00085   vtkImageButterworthLowPass();
    00086   ~vtkImageButterworthLowPass() {};
    00087
    00088   int Order;
    00089   float CutOff[3];
    00090
    00091   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
    00092                        int outExt[6], int id);
    00093 private:
    00094   vtkImageButterworthLowPass(const vtkImageButterworthLowPass&);  // Not implemented.
    00095   void operator=(const vtkImageButterworthLowPass&);  // Not implemented.
    00096 };
    00097
    00098 #endif
    00099
    00100
    00101