VTK  9.3.0
vtkImageMedian3D.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
20 #ifndef vtkImageMedian3D_h
21 #define vtkImageMedian3D_h
22 
24 #include "vtkImagingGeneralModule.h" // For export macro
25 
26 VTK_ABI_NAMESPACE_BEGIN
27 class VTKIMAGINGGENERAL_EXPORT vtkImageMedian3D : public vtkImageSpatialAlgorithm
28 {
29 public:
30  static vtkImageMedian3D* New();
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
38  void SetKernelSize(int size0, int size1, int size2);
39 
41 
44  vtkGetMacro(NumberOfElements, int);
46 
47 protected:
49  ~vtkImageMedian3D() override;
50 
52 
54  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
55  int outExt[6], int id) override;
56 
57 private:
58  vtkImageMedian3D(const vtkImageMedian3D&) = delete;
59  void operator=(const vtkImageMedian3D&) = delete;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:43
Median Filter.
static vtkImageMedian3D * New()
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,...
void SetKernelSize(int size0, int size1, int size2)
This method sets the size of the neighborhood.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkImageMedian3D() override
Filters that operate on pixel neighborhoods.
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.