VTK  9.3.1
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 
53  void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
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
Store vtkAlgorithm input/output information.
Median Filter.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
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, multiple threads will be spawned, and each thread will call this method.
Filters that operate on pixel neighborhoods.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageSpatialAlgorithm * New()