VTK
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 =========================================================================*/
31 #ifndef vtkImageIdealLowPass_h
32 #define vtkImageIdealLowPass_h
33 
34 
35 #include "vtkImagingFourierModule.h" // For export macro
37 
38 class VTKIMAGINGFOURIER_EXPORT vtkImageIdealLowPass : public vtkThreadedImageAlgorithm
39 {
40 public:
41  static vtkImageIdealLowPass *New();
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 
62 protected:
64  ~vtkImageIdealLowPass() override {}
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) override;
73 private:
75  void operator=(const vtkImageIdealLowPass&) = delete;
76 };
77 
78 #endif
double GetZCutOff()
Set/Get the cutoff frequency for each axis.
void SetCutOff(double v)
Set/Get the cutoff frequency for each axis.
Store vtkAlgorithm input/output information.
double GetYCutOff()
Set/Get the cutoff frequency for each axis.
Simple frequency domain band pass.
Generic filter that has one input.
a simple class to control print indentation
Definition: vtkIndent.h:33
topologically and geometrically regular array of data
Definition: vtkImageData.h:39
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,...
double GetXCutOff()
Set/Get the cutoff frequency for each axis.
Store zero or more vtkInformation instances.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.