VMTK
Loading...
Searching...
No Matches
vtkvmtkUpwindGradientMagnitudeImageFilter.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 __vtkvmtkUpwindGradientMagnitudeImageFilter_h
42#define __vtkvmtkUpwindGradientMagnitudeImageFilter_h
43
44
45#include "vtkSimpleImageToImageFilter.h"
46#include "vtkvmtkWin32Header.h"
47
48class VTK_VMTK_SEGMENTATION_EXPORT vtkvmtkUpwindGradientMagnitudeImageFilter : public vtkSimpleImageToImageFilter
49{
50 public:
52 vtkTypeMacro(vtkvmtkUpwindGradientMagnitudeImageFilter, vtkSimpleImageToImageFilter);
53
55
60 vtkGetMacro(UpwindFactor,double);
61 vtkSetMacro(UpwindFactor,double);
63
64protected:
67
68 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
69
70private:
72 void operator=(const vtkvmtkUpwindGradientMagnitudeImageFilter&); // Not implemented.
73
74 double UpwindFactor;
75};
76
77#endif
78
79
80
81
static vtkvmtkUpwindGradientMagnitudeImageFilter * New()