VTK  9.4.20241117
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
43#ifndef vtkImageDilateErode3D_h
44#define vtkImageDilateErode3D_h
45
47#include "vtkImagingMorphologicalModule.h" // For export macro
48
49VTK_ABI_NAMESPACE_BEGIN
51
52class VTKIMAGINGMORPHOLOGICAL_EXPORT vtkImageDilateErode3D : public vtkImageSpatialAlgorithm
53{
54public:
56
62 void PrintSelf(ostream& os, vtkIndent indent) override;
64
69 void SetKernelSize(int size0, int size1, int size2);
70
72
75 vtkSetMacro(DilateValue, double);
76 vtkGetMacro(DilateValue, double);
77 vtkSetMacro(ErodeValue, double);
78 vtkGetMacro(ErodeValue, double);
80
81protected:
84
87 double ErodeValue;
88
90 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
91 int outExt[6], int id) override;
92 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
93 vtkInformationVector* outputVector) override;
94
95private:
97 void operator=(const vtkImageDilateErode3D&) = delete;
98};
99
100VTK_ABI_NAMESPACE_END
101#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:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.