16 #ifndef QMITK_QmitkAdaptiveRegionGrowingToolGUI_H
17 #define QMITK_QmitkAdaptiveRegionGrowingToolGUI_H
25 #include "ui_QmitkAdaptiveRegionGrowingToolGUIControls.h"
35 class QmitkAdaptiveRegionGrowingToolGUIControls;
55 itkFactorylessNewMacro(Self) itkCloneMacro(Self)
61 virtual void CreateConnections();
78 void SetDataNodeNames(std::string labledSegmentation,
79 std::string binaryImage,
81 std::string maskedSegmentation);
89 void EnableControls(
bool enable);
112 void RunSegmentation();
120 void ChangeLevelWindow(
double newValue);
127 void IncreaseSlider();
134 void DecreaseSlider();
141 void ConfirmSegmentation();
147 void UseVolumeRendering(
bool on);
155 void SetLowerThresholdValue(
double lowerThreshold);
163 void SetUpperThresholdValue(
double upperThreshold);
191 std::string m_NAMEFORORGIMAGE;
192 std::string m_NAMEFORLABLEDSEGMENTATIONIMAGE;
193 std::string m_NAMEFORBINARYIMAGE;
194 std::string m_NAMEFORSURFACE;
195 std::string m_NAMEFORMASKEDSEGMENTATION;
201 void RemoveHelperNodes();
203 int m_DetectedLeakagePoint;
205 bool m_CurrentRGDirectionIsUpwards;
208 int m_SeedpointValue;
209 bool m_SliderInitialized;
210 bool m_UseVolumeRendering;
211 bool m_UpdateSuggestedThreshold;
212 float m_SuggestedThValue;
214 long m_PointSetAddObserverTag;
215 long m_PointSetMoveObserverTag;
217 template <
typename TPixel,
unsigned int VImageDimension>
218 void StartRegionGrowing(itk::Image<TPixel, VImageDimension> *itkImage,
222 template <
typename TPixel,
unsigned int VImageDimension>
225 void InitializeLevelWindow();
227 void EnableVolumeRendering(
bool enable);
229 void UpdateVolumeRenderingThreshold(
int thValue);
Data management class that handles 'was created by' relations.
#define mitkClassMacro(className, SuperClassName)
BaseGeometry Describes the geometry of a data object.
Class for nodes of the DataTree.
#define MITKSEGMENTATIONUI_EXPORT