17 #ifndef mitkFastMarchingTool3D_h_Included
18 #define mitkFastMarchingTool3D_h_Included
33 #include "itkBinaryThresholdImageFilter.h"
34 #include "itkCurvatureAnisotropicDiffusionImageFilter.h"
35 #include "itkFastMarchingImageFilter.h"
36 #include "itkGradientMagnitudeRecursiveGaussianImageFilter.h"
37 #include "itkSigmoidImageFilter.h"
71 typedef
itk::GradientMagnitudeRecursiveGaussianImageFilter<InternalImageType, InternalImageType>
GradientFilterType;
77 bool CanHandle(
BaseData *referenceData) const override;
80 virtual const
char **GetXPM() const override;
81 virtual const
char *
GetName() const override;
82 us::ModuleResource GetIconResource() const override;
85 void SetUpperThreshold(
double);
88 void SetLowerThreshold(
double);
91 void SetStoppingValue(
double);
94 void SetSigma(
double);
97 void SetAlpha(
double);
100 void SetBeta(
double);
103 virtual
void ConfirmSegmentation();
106 virtual
void SetCurrentTimeStep(
int t);
116 virtual ~FastMarchingTool3D();
118 virtual
void Activated() override;
119 virtual
void Deactivated() override;
120 virtual
void Initialize();
123 virtual
void OnAddPoint();
126 virtual
void OnDelete();
137 int m_CurrentTimeStep;
139 float m_LowerThreshold;
140 float m_UpperThreshold;
141 float m_StoppingValue;
148 InternalImageType::
Pointer m_ReferenceImageAsITK;
155 unsigned int m_PointSetAddObserverTag;
156 unsigned int m_PointSetRemoveObserverTag;
158 ThresholdingFilterType::
Pointer m_ThresholdFilter;
160 GradientFilterType::
Pointer m_GradientMagnitudeFilter;
162 FastMarchingFilterType::
Pointer m_FastMarchingFilter;
Base of all data objects.
static void Update(vtkPolyData *)
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkNewMessageMacro(msgHandleObject)
Implementation of the PointSetInteractor.
Data structure which stores a set of points. Superclass of mitk::Mesh.
#define mitkClassMacro(className, SuperClassName)
Image class for storing images.
static std::string GetName(std::string fileName, std::string suffix)
Class for nodes of the DataTree.
Super-class that provides the functionality of a StateMachine to DataInteractors. ...