VTK
vtkImageIdealHighPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageIdealHighPass.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 vtkImageIdealHighPass_h
32 #define vtkImageIdealHighPass_h
33 
34 #include "vtkImagingFourierModule.h" // For export macro
36 
37 class VTKIMAGINGFOURIER_EXPORT vtkImageIdealHighPass : public vtkThreadedImageAlgorithm
38 {
39 public:
40  static vtkImageIdealHighPass* New();
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
50  vtkSetVector3Macro(CutOff, double);
51  void SetCutOff(double v) { this->SetCutOff(v, v, v); }
52  void SetXCutOff(double v);
53  void SetYCutOff(double v);
54  void SetZCutOff(double v);
55  vtkGetVector3Macro(CutOff, double);
56  double GetXCutOff() { return this->CutOff[0]; }
57  double GetYCutOff() { return this->CutOff[1]; }
58  double GetZCutOff() { return this->CutOff[2]; }
60 
61 protected:
63  ~vtkImageIdealHighPass() override {}
64 
65  double CutOff[3];
66 
67  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
68  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
69  int outExt[6], int id) override;
70 
71 private:
73  void operator=(const vtkImageIdealHighPass&) = delete;
74 };
75 
76 #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,...
vtkImageIdealHighPass::SetCutOff
void SetCutOff(double v)
Definition: vtkImageIdealHighPass.h:51
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkThreadedImageAlgorithm
Generic filter that has one input.
Definition: vtkThreadedImageAlgorithm.h:37
vtkThreadedImageAlgorithm.h
vtkImageIdealHighPass
Simple frequency domain band pass.
Definition: vtkImageIdealHighPass.h:37
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:41
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkImageIdealHighPass::GetZCutOff
double GetZCutOff()
Definition: vtkImageIdealHighPass.h:58
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:64
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkImageIdealHighPass::~vtkImageIdealHighPass
~vtkImageIdealHighPass() override
Definition: vtkImageIdealHighPass.h:63
vtkImageIdealHighPass::GetXCutOff
double GetXCutOff()
Definition: vtkImageIdealHighPass.h:56
vtkImageIdealHighPass::GetYCutOff
double GetYCutOff()
Definition: vtkImageIdealHighPass.h:57