VMTK
Loading...
Searching...
No Matches
vtkvmtkFastMarchingDirectionalFreezeImageFilter.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
40
41#ifndef __vtkvmtkFastMarchingDirectionalFreezeImageFilter_h
42#define __vtkvmtkFastMarchingDirectionalFreezeImageFilter_h
43
44#include "vtkSimpleImageToImageFilter.h"
45#include "vtkIdList.h"
46#include "vtkvmtkWin32Header.h"
47
48class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkFastMarchingDirectionalFreezeImageFilter : public vtkSimpleImageToImageFilter
49{
50 public:
52 vtkTypeMacro(vtkvmtkFastMarchingDirectionalFreezeImageFilter, vtkSimpleImageToImageFilter);
53
55
59 vtkGetMacro(GenerateGradientImage,int);
60 vtkSetMacro(GenerateGradientImage,int);
61 vtkBooleanMacro(GenerateGradientImage,int);
63
65
71 vtkGetMacro(TargetReachedMode,int);
72 vtkSetMacro(TargetReachedMode,int);
74
83
92
93 enum
94 {
97 };
98
103 vtkGetMacro(TargetValue,double);
104
106
111 vtkGetMacro(TargetOffset,double);
112 vtkSetMacro(TargetOffset,double);
114
116
120 vtkSetObjectMacro(Seeds,vtkIdList);
121 vtkGetObjectMacro(Seeds,vtkIdList);
123
125
129 vtkSetObjectMacro(Targets,vtkIdList);
130 vtkGetObjectMacro(Targets,vtkIdList);
132
133protected:
136
137 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
138
139private:
141 void operator=(const vtkvmtkFastMarchingDirectionalFreezeImageFilter&); // Not implemented.
142
143 int GenerateGradientImage;
144 int TargetReachedMode;
145 double TargetValue;
146 double TargetOffset;
147
148 vtkIdList* Seeds;
149 vtkIdList* Targets;
150};
151
152#endif
static vtkvmtkFastMarchingDirectionalFreezeImageFilter * New()
virtual void SimpleExecute(vtkImageData *input, vtkImageData *output) override