VTK: Imaging/Morphological/vtkImageContinuousErode3D.h Source File

| VTK 9.3.1

vtkImageContinuousErode3D.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
24 #ifndef vtkImageContinuousErode3D_h
25 #define vtkImageContinuousErode3D_h
26
27 #include "vtkImageSpatialAlgorithm.h"
28 #include "vtkImagingMorphologicalModule.h" // For export macro
29
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkImageEllipsoidSource;
32
33 class VTKIMAGINGMORPHOLOGICAL_EXPORT vtkImageContinuousErode3D : public vtkImageSpatialAlgorithm
34 {
35 public:
37
41 static vtkImageContinuousErode3D* New();
42 vtkTypeMacro(vtkImageContinuousErode3D, vtkImageSpatialAlgorithm);
43 void PrintSelf(ostream& os, vtkIndent indent) override;
45
50 void SetKernelSize(int size0, int size1, int size2);
51
52 protected:
53 vtkImageContinuousErode3D();
54 ~vtkImageContinuousErode3D() override;
55
56 vtkImageEllipsoidSource* Ellipse;
57
58 void ThreadedRequestData(vtkInformation* request, vtkInformationVector** inputVector,
59 vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData,
60 int outExt[6], int id) override;
61 int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
62 vtkInformationVector* outputVector) override;
63
64 private:
65 vtkImageContinuousErode3D(const vtkImageContinuousErode3D&) = delete;
66 void operator=(const vtkImageContinuousErode3D&) = delete;
67 };
68
69 VTK_ABI_NAMESPACE_END
70 #endif
vtkImageContinuousErode3D
Erosion implemented as a minimum.
Definition: vtkImageContinuousErode3D.h:34
vtkImageContinuousErode3D::New
static vtkImageContinuousErode3D * New()
Construct an instance of vtkImageContinuousErode3D filter.
vtkImageContinuousErode3D::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Construct an instance of vtkImageContinuousErode3D filter.
vtkImageContinuousErode3D::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkImageContinuousErode3D::SetKernelSize
void SetKernelSize(int size0, int size1, int size2)
This method sets the size of the neighborhood.
vtkImageContinuousErode3D::ThreadedRequestData
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,...
vtkImageContinuousErode3D::vtkImageContinuousErode3D
vtkImageContinuousErode3D()
vtkImageContinuousErode3D::Ellipse
vtkImageEllipsoidSource * Ellipse
Definition: vtkImageContinuousErode3D.h:56
vtkImageContinuousErode3D::~vtkImageContinuousErode3D
~vtkImageContinuousErode3D() override
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
vtkImageEllipsoidSource
Create a binary image of an ellipsoid.
Definition: vtkImageEllipsoidSource.h:32
vtkImageSpatialAlgorithm
Filters that operate on pixel neighborhoods.
Definition: vtkImageSpatialAlgorithm.h:23
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkImageSpatialAlgorithm.h