VTK  9.3.0
vtkImageSkeleton2D.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
21 #ifndef vtkImageSkeleton2D_h
22 #define vtkImageSkeleton2D_h
23 
24 #include "vtkImageIterateFilter.h"
25 #include "vtkImagingMorphologicalModule.h" // For export macro
26 
27 VTK_ABI_NAMESPACE_BEGIN
28 class VTKIMAGINGMORPHOLOGICAL_EXPORT vtkImageSkeleton2D : public vtkImageIterateFilter
29 {
30 public:
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
36 
39  vtkSetMacro(Prune, vtkTypeBool);
40  vtkGetMacro(Prune, vtkTypeBool);
41  vtkBooleanMacro(Prune, vtkTypeBool);
43 
47  void SetNumberOfIterations(int num) override;
48 
49 protected:
51  ~vtkImageSkeleton2D() override = default;
52 
54 
57  vtkInformationVector* outputVector, vtkImageData*** inDataV, vtkImageData** outDataV,
58  int outExt[6], int id) override;
59 
60 private:
61  vtkImageSkeleton2D(const vtkImageSkeleton2D&) = delete;
62  void operator=(const vtkImageSkeleton2D&) = delete;
63 };
64 
65 VTK_ABI_NAMESPACE_END
66 #endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:52
Multiple executes per update.
Skeleton of 2D images.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageSkeleton2D * New()
void SetNumberOfIterations(int num) override
Sets the number of cycles in the erosion.
~vtkImageSkeleton2D() override=default
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inDataV, vtkImageData **outDataV, int outExt[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
int IterativeRequestUpdateExtent(vtkInformation *in, vtkInformation *out) override
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition: vtkABI.h:64