Slicer  5.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkITKDistanceTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Copyright Brigham and Women's Hospital (BWH) All Rights Reserved.
4 
5  See COPYRIGHT.txt
6  or http://www.slicer.org/copyright/copyright.txt for details.
7 
8 ==========================================================================*/
9 
10 #ifndef __vtkITKDistanceTransform_h
11 #define __vtkITKDistanceTransform_h
12 
13 #include "vtkITK.h"
14 #include "vtkSimpleImageToImageFilter.h"
15 
17 class VTK_ITK_EXPORT vtkITKDistanceTransform : public vtkSimpleImageToImageFilter
18 {
19 public:
20  static vtkITKDistanceTransform *New();
21  vtkTypeMacro(vtkITKDistanceTransform, vtkSimpleImageToImageFilter);
22  void PrintSelf(ostream& os, vtkIndent indent) override;
23 
25  vtkGetMacro(SquaredDistance, int);
26  vtkSetMacro(SquaredDistance, int);
27 
29  vtkGetMacro(InsideIsPositive, int);
30  vtkSetMacro(InsideIsPositive, int);
31 
33  vtkGetMacro(UseImageSpacing, int);
34  vtkSetMacro(UseImageSpacing, int);
35 
37  vtkGetMacro(BackgroundValue, double);
38  vtkSetMacro(BackgroundValue, double);
39 
40 
41 protected:
43  ~vtkITKDistanceTransform() override;
44 
45  void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
46 
51 
52 private:
54  void operator=(const vtkITKDistanceTransform&) = delete;
55 };
56 
57 #endif
Wrapper class around itk::SignedMaurerDistanceMapImageFilter.