VMTK
Loading...
Searching...
No Matches
vtkvmtkDanielssonDistanceMapImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: VMTK
4
5 Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6 See LICENSE file for details.
7
8 Portions of this code are covered under the VTK copyright.
9 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10 for details.
11
12 Portions of this code are covered under the ITK copyright.
13 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm
14 for details.
15
16 This software is distributed WITHOUT ANY WARRANTY; without even
17 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18 PURPOSE. See the above copyright notices for more information.
19
20=========================================================================*/
21
36
37#ifndef __vtkvmtkDanielssonDistanceMapImageFilter_h
38#define __vtkvmtkDanielssonDistanceMapImageFilter_h
39
40#include "vtkSimpleImageToImageFilter.h"
41#include "vtkvmtkWin32Header.h"
42
43class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkDanielssonDistanceMapImageFilter : public vtkSimpleImageToImageFilter
44{
45 public:
47 vtkTypeMacro(vtkvmtkDanielssonDistanceMapImageFilter, vtkSimpleImageToImageFilter);
48
50
53 vtkGetMacro(SquaredDistance,int);
54 vtkSetMacro(SquaredDistance,int);
55 vtkBooleanMacro(SquaredDistance,int);
57
59
63 vtkGetMacro(InputIsBinary,int);
64 vtkSetMacro(InputIsBinary,int);
65 vtkBooleanMacro(InputIsBinary,int);
67
68protected:
69
72
73 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
74
75private:
77 void operator=(const vtkvmtkDanielssonDistanceMapImageFilter&); // Not implemented.
78
79 int SquaredDistance;
80 int InputIsBinary;
81};
82
83#endif
84
85
86
87
static vtkvmtkDanielssonDistanceMapImageFilter * New()