VTK  9.3.20240419
vtkImageIdealLowPass.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
22 #ifndef vtkImageIdealLowPass_h
23 #define vtkImageIdealLowPass_h
24 
25 #include "vtkImagingFourierModule.h" // For export macro
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKIMAGINGFOURIER_EXPORT vtkImageIdealLowPass : public vtkThreadedImageAlgorithm
30 {
31 public:
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
42  vtkSetVector3Macro(CutOff, double);
43  void SetCutOff(double v) { this->SetCutOff(v, v, v); }
44  void SetXCutOff(double cutOff);
45  void SetYCutOff(double cutOff);
46  void SetZCutOff(double cutOff);
47  vtkGetVector3Macro(CutOff, double);
48  double GetXCutOff() { return this->CutOff[0]; }
49  double GetYCutOff() { return this->CutOff[1]; }
50  double GetZCutOff() { return this->CutOff[2]; }
52 
53 protected:
55  ~vtkImageIdealLowPass() override = default;
56 
57  double CutOff[3];
58 
60  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
61  int outExt[6], int id) override;
62 
63 private:
65  void operator=(const vtkImageIdealLowPass&) = delete;
66 };
67 
68 VTK_ABI_NAMESPACE_END
69 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:156
Simple frequency domain band pass.
static vtkImageIdealLowPass * New()
void SetYCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
~vtkImageIdealLowPass() override=default
double GetYCutOff()
Set/Get the cutoff frequency for each axis.
void SetZCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
double GetZCutOff()
Set/Get the cutoff frequency for each axis.
void SetCutOff(double v)
Set/Get the cutoff frequency for each axis.
void SetXCutOff(double cutOff)
Set/Get the cutoff frequency for each axis.
double GetXCutOff()
Set/Get the cutoff frequency for each axis.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int outExt[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Generic filter that has one input.