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 =========================================================================*/
34 #ifndef vtkImageIdealLowPass_h
35 #define vtkImageIdealLowPass_h
36 
37 
38 #include "vtkImagingFourierModule.h" // For export macro
40 
41 class VTKIMAGINGFOURIER_EXPORT vtkImageIdealLowPass : public vtkThreadedImageAlgorithm
42 {
43 public:
44  static vtkImageIdealLowPass *New();
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
49 
54  vtkSetVector3Macro(CutOff,double);
55  void SetCutOff(double v) {this->SetCutOff(v, v, v);}
56  void SetXCutOff(double v);
57  void SetYCutOff(double v);
58  void SetZCutOff(double v);
59  vtkGetVector3Macro(CutOff,double);
60  double GetXCutOff() {return this->CutOff[0];}
61  double GetYCutOff() {return this->CutOff[1];}
62  double GetZCutOff() {return this->CutOff[2];}
64 
65 protected:
67  ~vtkImageIdealLowPass() override {}
68 
69  double CutOff[3];
70 
71  void ThreadedRequestData(vtkInformation *request,
72  vtkInformationVector **inputVector,
73  vtkInformationVector *outputVector,
74  vtkImageData ***inData, vtkImageData **outData,
75  int outExt[6], int id) override;
76 private:
78  void operator=(const vtkImageIdealLowPass&) = delete;
79 };
80 
81 #endif
vtkThreadedImageAlgorithm::ThreadedRequestData
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,...
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkThreadedImageAlgorithm
Generic filter that has one input.
Definition: vtkThreadedImageAlgorithm.h:43
vtkImageIdealLowPass::GetXCutOff
double GetXCutOff()
Definition: vtkImageIdealLowPass.h:60
vtkThreadedImageAlgorithm.h
vtkImageIdealLowPass
Simple frequency domain band pass.
Definition: vtkImageIdealLowPass.h:41
vtkThreadedImageAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkImageIdealLowPass::GetZCutOff
double GetZCutOff()
Definition: vtkImageIdealLowPass.h:62
vtkImageIdealLowPass::SetCutOff
void SetCutOff(double v)
Definition: vtkImageIdealLowPass.h:55
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkImageIdealLowPass::GetYCutOff
double GetYCutOff()
Definition: vtkImageIdealLowPass.h:61
vtkImageIdealLowPass::~vtkImageIdealLowPass
~vtkImageIdealLowPass() override
Definition: vtkImageIdealLowPass.h:67