VTK  9.2.5
vtkImageSkeleton2D.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkImageSkeleton2D.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
33#ifndef vtkImageSkeleton2D_h
34#define vtkImageSkeleton2D_h
35
37#include "vtkImagingMorphologicalModule.h" // For export macro
38
39class VTKIMAGINGMORPHOLOGICAL_EXPORT vtkImageSkeleton2D : public vtkImageIterateFilter
40{
41public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
50 vtkSetMacro(Prune, vtkTypeBool);
51 vtkGetMacro(Prune, vtkTypeBool);
52 vtkBooleanMacro(Prune, vtkTypeBool);
54
58 void SetNumberOfIterations(int num) override;
59
60protected:
62 ~vtkImageSkeleton2D() override = default;
63
65
68 vtkInformationVector* outputVector, vtkImageData*** inDataV, vtkImageData** outDataV,
69 int outExt[6], int id) override;
70
71private:
73 void operator=(const vtkImageSkeleton2D&) = delete;
74};
75
76#endif
topologically and geometrically regular array of data
Definition: vtkImageData.h:54
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.
void SetNumberOfIterations(int num) override
Sets the number of cycles in the erosion.
static vtkImageSkeleton2D * New()
~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:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition: vtkABI.h:69