VMTK
Loading...
Searching...
No Matches
vtkvmtkLevelSetSigmoidFilter.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 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
15
16=========================================================================*/
33
34#ifndef __vtkvmtkLevelSetSigmoidFilter_h
35#define __vtkvmtkLevelSetSigmoidFilter_h
36
37#include "vtkSimpleImageToImageFilter.h"
38#include "vtkImageData.h"
39#include "vtkvmtkWin32Header.h"
40
41class VTK_VMTK_MISC_EXPORT vtkvmtkLevelSetSigmoidFilter : public vtkSimpleImageToImageFilter
42{
43 public:
44 vtkTypeMacro(vtkvmtkLevelSetSigmoidFilter,vtkSimpleImageToImageFilter);
45 void PrintSelf(std::ostream& os, vtkIndent indent) override;
46
48
50
55 vtkSetObjectMacro(LevelSetsImage,vtkImageData);
56 vtkGetObjectMacro(LevelSetsImage,vtkImageData);
58
60
64 vtkSetMacro(Sigma,double);
65 vtkGetMacro(Sigma,double);
67
69
72 vtkSetMacro(ScaleValue,double);
73 vtkGetMacro(ScaleValue,double);
75
77
84 vtkBooleanMacro(ComputeScaleValueFromInput,int);
86
87 protected:
90
91 virtual void SimpleExecute(vtkImageData* input, vtkImageData* output) override;
92
93 vtkImageData *LevelSetsImage;
94
95 double Sigma;
96 double ScaleValue;
98
99 private:
101 void operator=(const vtkvmtkLevelSetSigmoidFilter&); // Not implemented.
102};
103
104#endif
void PrintSelf(std::ostream &os, vtkIndent indent) override
static vtkvmtkLevelSetSigmoidFilter * New()
virtual void SimpleExecute(vtkImageData *input, vtkImageData *output) override