VTK  9.3.0
vtkImageDilateErode3D.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
14#ifndef vtkImageDilateErode3D_h
15#define vtkImageDilateErode3D_h
16
18#include "vtkImagingMorphologicalModule.h" // For export macro
19
20VTK_ABI_NAMESPACE_BEGIN
22
23class VTKIMAGINGMORPHOLOGICAL_EXPORT vtkImageDilateErode3D : public vtkImageSpatialAlgorithm
24{
25public:
27
33 void PrintSelf(ostream& os, vtkIndent indent) override;
35
40 void SetKernelSize(int size0, int size1, int size2);
41
43
46 vtkSetMacro(DilateValue, double);
47 vtkGetMacro(DilateValue, double);
48 vtkSetMacro(ErodeValue, double);
49 vtkGetMacro(ErodeValue, double);
51
52protected:
55
58 double ErodeValue;
59
61 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
62 int outExt[6], int id) override;
63 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
64 vtkInformationVector* outputVector) override;
65
66private:
68 void operator=(const vtkImageDilateErode3D&) = delete;
69};
70
71VTK_ABI_NAMESPACE_END
72#endif
topologically and geometrically regular array of data
Dilates one value and erodes another.
static vtkImageDilateErode3D * New()
Construct an instance of vtkImageDilateErode3D filter.
void SetKernelSize(int size0, int size1, int size2)
This method sets the size of the neighborhood.
~vtkImageDilateErode3D() override
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
void PrintSelf(ostream &os, vtkIndent indent) override
Construct an instance of vtkImageDilateErode3D filter.
vtkImageEllipsoidSource * Ellipse
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,...
Create a binary image of an ellipsoid.
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.