diff --git a/Modules/SegmentationUI/Qmitk/QmitkEditableContourToolGUIBase.cpp b/Modules/SegmentationUI/Qmitk/QmitkEditableContourToolGUIBase.cpp new file mode 100644 index 0000000000..f519dc5a1a --- /dev/null +++ b/Modules/SegmentationUI/Qmitk/QmitkEditableContourToolGUIBase.cpp @@ -0,0 +1,72 @@ +/*============================================================================ + +The Medical Imaging Interaction Toolkit (MITK) + +Copyright (c) German Cancer Research Center (DKFZ) +All rights reserved. + +Use of this source code is governed by a 3-clause BSD license that can be +found in the LICENSE file. + +============================================================================*/ + +#include "QmitkEditableContourToolGUIBase.h" + +QmitkEditableContourToolGUIBase::QmitkEditableContourToolGUIBase() : QmitkToolGUI() +{ + m_Controls.setupUi(this); + m_Controls.m_Information->hide(); + m_Controls.m_AutoCheck->setChecked(true); + m_Controls.m_ConfirmButton->hide(); + m_Controls.m_AddMode->setChecked(true); + m_Controls.m_SubstractMode->hide(); + m_Controls.m_AddMode->hide(); + + m_Controls.m_ClearButton->hide(); + + connect(m_Controls.m_ConfirmButton, SIGNAL(clicked()), this, SLOT(OnConfirmSegmentation())); + connect(m_Controls.m_ClearButton, SIGNAL(clicked()), this, SLOT(OnClearSegmentation())); + connect(this, SIGNAL(NewToolAssociated(mitk::Tool *)), this, SLOT(OnNewToolAssociated(mitk::Tool *))); + connect(m_Controls.m_InformationCheckBox, SIGNAL(toggled(bool)), this, SLOT(OnShowInformation(bool))); + connect(m_Controls.m_AutoCheck, SIGNAL(toggled(bool)), this, SLOT(OnAutoConfirm(bool))); +} + +QmitkEditableContourToolGUIBase::~QmitkEditableContourToolGUIBase() +{ +} + +void QmitkEditableContourToolGUIBase::OnNewToolAssociated(mitk::Tool *tool) +{ + m_NewTool = dynamic_cast(tool); + m_Controls.m_AutoCheck->setChecked(m_NewTool->GetAutoConfirm()); +} + +void QmitkEditableContourToolGUIBase::OnConfirmSegmentation() +{ + if (m_NewTool.IsNotNull()) + { + m_NewTool->SetAddMode(m_Controls.m_AddMode->isChecked()); + m_NewTool->ConfirmSegmentation(); + } +} + +void QmitkEditableContourToolGUIBase::OnClearSegmentation() +{ + if (m_NewTool.IsNotNull()) + m_NewTool->ClearSegmentation(); +} + +void QmitkEditableContourToolGUIBase::OnShowInformation(bool on) +{ + m_Controls.m_Information->setVisible(on); +} + +void QmitkEditableContourToolGUIBase::OnAutoConfirm(bool on) +{ + m_Controls.m_ConfirmButton->setVisible(!on); + m_Controls.m_ClearButton->setVisible(!on); + m_Controls.m_AddMode->setVisible(!on); + m_Controls.m_SubstractMode->setVisible(!on); + m_NewTool->SetAutoConfirm(on); +} + diff --git a/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.h b/Modules/SegmentationUI/Qmitk/QmitkEditableContourToolGUIBase.h similarity index 50% copy from Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.h copy to Modules/SegmentationUI/Qmitk/QmitkEditableContourToolGUIBase.h index 6bb92d855b..5aed0ac0b1 100644 --- a/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.h +++ b/Modules/SegmentationUI/Qmitk/QmitkEditableContourToolGUIBase.h @@ -1,64 +1,58 @@ /*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ============================================================================*/ -#ifndef QmitkNewAddTool2DGUI_h_Included -#define QmitkNewAddTool2DGUI_h_Included +#ifndef QmitkEditableContourToolGUIBase_h_Included +#define QmitkEditableContourToolGUIBase_h_Included #include "QmitkToolGUI.h" -#include "mitkNewAddTool2D.h" -#include "ui_QmitkNewAddTool2DGUIControls.h" +#include "mitkEditableContourTool.h" +#include "ui_QmitkEditableContourToolGUIControls.h" #include -class QSlider; -class QLabel; -class QFrame; -class QPushButton; -#include - -#include "QmitkStepperAdapter.h" - -class QmitkNewAddTool2DGUIControls; +class QmitkEditableContourToolGUIBaseControls; /** \ingroup org_mitk_gui_qt_interactivesegmentation_internal -\brief GUI for mitk::NewAddTool. +\brief GUI for mitk::EditableContourTool based classes. \sa mitk::NewAddTool2D */ -class MITKSEGMENTATIONUI_EXPORT QmitkNewAddTool2DGUI : public QmitkToolGUI +class MITKSEGMENTATIONUI_EXPORT QmitkEditableContourToolGUIBase : public QmitkToolGUI { Q_OBJECT public: - mitkClassMacro(QmitkNewAddTool2DGUI, QmitkToolGUI); + mitkClassMacro(QmitkEditableContourToolGUIBase, QmitkToolGUI); itkFactorylessNewMacro(Self); itkCloneMacro(Self); - protected slots : + protected slots : - void OnNewToolAssociated(mitk::Tool *); + void OnNewToolAssociated(mitk::Tool *); void OnConfirmSegmentation(); void OnClearSegmentation(); + void OnAutoConfirm(bool on); + void OnShowInformation(bool on); protected: - QmitkNewAddTool2DGUI(); - ~QmitkNewAddTool2DGUI() override; + QmitkEditableContourToolGUIBase(); + ~QmitkEditableContourToolGUIBase() override; - Ui::QmitkNewAddTool2DGUIControls m_Controls; + Ui::QmitkEditableContourToolGUIControls m_Controls; - mitk::NewAddTool2D::Pointer m_NewAddTool; + mitk::EditableContourTool::Pointer m_NewTool; }; #endif diff --git a/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUIControls.ui b/Modules/SegmentationUI/Qmitk/QmitkEditableContourToolGUIControls.ui similarity index 69% rename from Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUIControls.ui rename to Modules/SegmentationUI/Qmitk/QmitkEditableContourToolGUIControls.ui index c6b0eafcb9..759802f03f 100644 --- a/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUIControls.ui +++ b/Modules/SegmentationUI/Qmitk/QmitkEditableContourToolGUIControls.ui @@ -1,124 +1,159 @@ - QmitkNewAddTool2DGUIControls - + QmitkEditableContourToolGUIControls + 0 0 421 - 355 + 399 0 0 0 0 QmitkLiveWireTool2DGUIControls Confirm all previous contour. 0 0 0 0 + + + + Auto confirm contour + + + true + + + + + + + The contour will be added as segmentation for the active label. + + + Add mode + + + true + + + + + + + If confirmed the contour will be added as background, thus it will be substracted from the active label. + + + Substract mode + + + Confirm Segmentation Clear Segmentation Qt::Vertical QSizePolicy::Fixed 20 15 Show usage information 0 150 12 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">The tool is started by a double-click near the object of interest.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">You can fix preview segments by adding ancor points with a single left mouse button click. When you keep the mouse button pressed, you can manually draw contours by moving the mouse. To close a contour and finish current segmentation perform a double click.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">After finishing a segmentation the contour will be still editable. You can move, insert and delete its ancor points.</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">If &quot;Auto confirm&quot; is active the preview will be directly added as segmentation. From there you are free to start a new contour (double click).</span></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">If &quot;Auto confirm&quot; is not active, the contour will be still editable after finishing the segmentation. You can move, insert and delete its ancor points. To confirm the segmentation, push the &quot;Confirm Segmentation&quot; button.</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">Push the &quot;Confirm Segmentation&quot; button or deactivate the New Add Tool to fill all contours in the working image. Push the &quot;Clear Segmentation&quot; button to delete all unconfirmed contours.</span></p></body></html> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">Push the &quot;Clear Segmentation&quot; button to delete all unconfirmed contours.</span></p></body></html> diff --git a/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUI.cpp b/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUI.cpp index dbb8d010a3..4466e7530a 100644 --- a/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUI.cpp +++ b/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUI.cpp @@ -1,66 +1,23 @@ /*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ============================================================================*/ #include "QmitkLiveWireTool2DGUI.h" -#include "mitkBaseRenderer.h" -#include "mitkStepper.h" -#include -#include -#include -#include -#include - MITK_TOOL_GUI_MACRO(MITKSEGMENTATIONUI_EXPORT, QmitkLiveWireTool2DGUI, "") -QmitkLiveWireTool2DGUI::QmitkLiveWireTool2DGUI() : QmitkToolGUI() +QmitkLiveWireTool2DGUI::QmitkLiveWireTool2DGUI() : QmitkEditableContourToolGUIBase() { - m_Controls.setupUi(this); - m_Controls.m_Information->hide(); - - connect(m_Controls.m_ConfirmButton, SIGNAL(clicked()), this, SLOT(OnConfirmSegmentation())); - connect(m_Controls.m_ClearButton, SIGNAL(clicked()), this, SLOT(OnClearSegmentation())); - connect(this, SIGNAL(NewToolAssociated(mitk::Tool *)), this, SLOT(OnNewToolAssociated(mitk::Tool *))); - connect(m_Controls.m_SnapClosureCheckBox, SIGNAL(toggled(bool)), this, SLOT(OnSnapClosureContour(bool))); - connect(m_Controls.m_InformationCheckBox, SIGNAL(toggled(bool)), this, SLOT(OnShowInformation(bool))); } QmitkLiveWireTool2DGUI::~QmitkLiveWireTool2DGUI() { } - -void QmitkLiveWireTool2DGUI::OnNewToolAssociated(mitk::Tool *tool) -{ - m_LiveWireTool = dynamic_cast(tool); -} - -void QmitkLiveWireTool2DGUI::OnConfirmSegmentation() -{ - if (m_LiveWireTool.IsNotNull()) - m_LiveWireTool->ConfirmSegmentation(); -} - -void QmitkLiveWireTool2DGUI::OnClearSegmentation() -{ - if (m_LiveWireTool.IsNotNull()) - m_LiveWireTool->ClearSegmentation(); -} - -void QmitkLiveWireTool2DGUI::OnSnapClosureContour(bool snap) -{ - -} - -void QmitkLiveWireTool2DGUI::OnShowInformation(bool on) -{ - m_Controls.m_Information->setVisible(on); -} diff --git a/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUI.h b/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUI.h index 74cb48476f..2372024d99 100644 --- a/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUI.h +++ b/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUI.h @@ -1,66 +1,39 @@ /*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ============================================================================*/ #ifndef QmitkLiveWireTool2DGUI_h_Included #define QmitkLiveWireTool2DGUI_h_Included -#include "QmitkToolGUI.h" -#include "mitkLiveWireTool2D.h" +#include "QmitkEditableContourToolGUIBase.h" #include "ui_QmitkLiveWireTool2DGUIControls.h" #include -class QSlider; -class QLabel; -class QFrame; -class QPushButton; -#include - -#include "QmitkStepperAdapter.h" - -class QmitkLiveWireTool2DGUIControls; - /** \ingroup org_mitk_gui_qt_interactivesegmentation_internal \brief GUI for mitk::LiveWireTool. \sa mitk::LiveWireTool2D */ -class MITKSEGMENTATIONUI_EXPORT QmitkLiveWireTool2DGUI : public QmitkToolGUI +class MITKSEGMENTATIONUI_EXPORT QmitkLiveWireTool2DGUI : public QmitkEditableContourToolGUIBase { Q_OBJECT public: mitkClassMacro(QmitkLiveWireTool2DGUI, QmitkToolGUI); itkFactorylessNewMacro(Self); itkCloneMacro(Self); - protected slots : - - void OnNewToolAssociated(mitk::Tool *); - - void OnConfirmSegmentation(); - - void OnClearSegmentation(); - - void OnSnapClosureContour(bool snap); - - void OnShowInformation(bool on); - protected: QmitkLiveWireTool2DGUI(); ~QmitkLiveWireTool2DGUI() override; - - Ui::QmitkLiveWireTool2DGUIControls m_Controls; - - mitk::LiveWireTool2D::Pointer m_LiveWireTool; }; #endif diff --git a/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUIControls.ui b/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUIControls.ui deleted file mode 100644 index 3c2a34ccb2..0000000000 --- a/Modules/SegmentationUI/Qmitk/QmitkLiveWireTool2DGUIControls.ui +++ /dev/null @@ -1,131 +0,0 @@ - - - QmitkLiveWireTool2DGUIControls - - - - 0 - 0 - 421 - 355 - - - - - 0 - 0 - - - - - 0 - 0 - - - - QmitkLiveWireTool2DGUIControls - - - Confirm all previous contour. - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - - Confirm Segmentation - - - - - - - Clear Segmentation - - - - - - - Qt::Vertical - - - QSizePolicy::Fixed - - - - 20 - 15 - - - - - - - - Snap closing contour - - - - - - - Show usage information - - - - - - - - 0 - 150 - - - - - - - - 12 - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:12pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">The tool is started by a double-click near the object of interest.</span></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">You can fix preview segments by adding anchor points with a single left mouse button click. When you keep the mouse button pressed, you can manually draw contours by moving the mouse. To close a contour and finish current segmentation perform a double click.</span></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">After finishing a segmentation the contour will be still editable. You can move, insert and delete its anchor points.</span></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:10pt;"><br /></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:10pt;">Push the &quot;Confirm Segmentation&quot; button or deactivate the Live Wire Tool to fill all contours in the working image. Push the &quot;Clear Segmentation&quot; button to delete all unconfirmed contours.</span></p></body></html> - - - - - - - - - - - - - - diff --git a/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.cpp b/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.cpp index cd7c867d15..fc3565d939 100644 --- a/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.cpp +++ b/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.cpp @@ -1,60 +1,24 @@ /*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ============================================================================*/ #include "QmitkNewAddTool2DGUI.h" -#include "mitkBaseRenderer.h" -#include "mitkStepper.h" -#include -#include -#include -#include -#include MITK_TOOL_GUI_MACRO(MITKSEGMENTATIONUI_EXPORT, QmitkNewAddTool2DGUI, "") -QmitkNewAddTool2DGUI::QmitkNewAddTool2DGUI() : QmitkToolGUI() +QmitkNewAddTool2DGUI::QmitkNewAddTool2DGUI() : QmitkEditableContourToolGUIBase() { - m_Controls.setupUi(this); - m_Controls.m_Information->hide(); - - connect(m_Controls.m_ConfirmButton, SIGNAL(clicked()), this, SLOT(OnConfirmSegmentation())); - connect(m_Controls.m_ClearButton, SIGNAL(clicked()), this, SLOT(OnClearSegmentation())); - connect(this, SIGNAL(NewToolAssociated(mitk::Tool *)), this, SLOT(OnNewToolAssociated(mitk::Tool *))); - connect(m_Controls.m_InformationCheckBox, SIGNAL(toggled(bool)), this, SLOT(OnShowInformation(bool))); } QmitkNewAddTool2DGUI::~QmitkNewAddTool2DGUI() { } - -void QmitkNewAddTool2DGUI::OnNewToolAssociated(mitk::Tool *tool) -{ - m_NewAddTool = dynamic_cast(tool); -} - -void QmitkNewAddTool2DGUI::OnConfirmSegmentation() -{ - if (m_NewAddTool.IsNotNull()) - m_NewAddTool->ConfirmSegmentation(); -} - -void QmitkNewAddTool2DGUI::OnClearSegmentation() -{ - if (m_NewAddTool.IsNotNull()) - m_NewAddTool->ClearSegmentation(); -} - -void QmitkNewAddTool2DGUI::OnShowInformation(bool on) -{ - m_Controls.m_Information->setVisible(on); -} diff --git a/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.h b/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.h index 6bb92d855b..386ec397b7 100644 --- a/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.h +++ b/Modules/SegmentationUI/Qmitk/QmitkNewAddTool2DGUI.h @@ -1,64 +1,39 @@ /*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ============================================================================*/ #ifndef QmitkNewAddTool2DGUI_h_Included #define QmitkNewAddTool2DGUI_h_Included -#include "QmitkToolGUI.h" -#include "mitkNewAddTool2D.h" +#include "QmitkEditableContourToolGUIBase.h" #include "ui_QmitkNewAddTool2DGUIControls.h" #include -class QSlider; -class QLabel; -class QFrame; -class QPushButton; -#include - -#include "QmitkStepperAdapter.h" - -class QmitkNewAddTool2DGUIControls; - /** \ingroup org_mitk_gui_qt_interactivesegmentation_internal \brief GUI for mitk::NewAddTool. \sa mitk::NewAddTool2D */ -class MITKSEGMENTATIONUI_EXPORT QmitkNewAddTool2DGUI : public QmitkToolGUI +class MITKSEGMENTATIONUI_EXPORT QmitkNewAddTool2DGUI : public QmitkEditableContourToolGUIBase { Q_OBJECT public: - mitkClassMacro(QmitkNewAddTool2DGUI, QmitkToolGUI); + mitkClassMacro(QmitkNewAddTool2DGUI, QmitkEditableContourToolGUIBase); itkFactorylessNewMacro(Self); itkCloneMacro(Self); - protected slots : - - void OnNewToolAssociated(mitk::Tool *); - - void OnConfirmSegmentation(); - - void OnClearSegmentation(); - - void OnShowInformation(bool on); - protected: QmitkNewAddTool2DGUI(); ~QmitkNewAddTool2DGUI() override; - - Ui::QmitkNewAddTool2DGUIControls m_Controls; - - mitk::NewAddTool2D::Pointer m_NewAddTool; }; #endif