Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkMonaiLabel2DToolGUI Class Reference

#include <QmitkMonaiLabel2DToolGUI.h>

Inheritance diagram for QmitkMonaiLabel2DToolGUI:
Collaboration diagram for QmitkMonaiLabel2DToolGUI:

Public Member Functions

 mitkClassMacro (QmitkMonaiLabel2DToolGUI, QmitkMonaiLabelToolGUI)
 
Pointer Clone () const
 
- Public Member Functions inherited from QmitkMonaiLabelToolGUI
 mitkClassMacro (QmitkMonaiLabelToolGUI, QmitkMultiLabelSegWithPreviewToolGUIBase)
 
Pointer Clone () const
 
- Public Member Functions inherited from QmitkMultiLabelSegWithPreviewToolGUIBase
 mitkClassMacro (QmitkMultiLabelSegWithPreviewToolGUIBase, QmitkSegWithPreviewToolGUIBase)
 
- Public Member Functions inherited from QmitkSegWithPreviewToolGUIBase
 mitkClassMacro (QmitkSegWithPreviewToolGUIBase, QmitkToolGUI)
 
Pointer Clone () const
 
virtual bool GetMode2D () const
 
- Public Member Functions inherited from QmitkToolGUI
 mitkClassMacroItkParent (QmitkToolGUI, itk::Object)
 
void SetTool (mitk::Tool *tool)
 
void Register () const override
 
void UnRegister () const ITK_NOEXCEPT ITK_OVERRIDE
 
void SetReferenceCount (int) override
 
 ~QmitkToolGUI () override
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 QmitkMonaiLabel2DToolGUI ()
 
 ~QmitkMonaiLabel2DToolGUI ()=default
 
- Protected Member Functions inherited from QmitkMonaiLabelToolGUI
 QmitkMonaiLabelToolGUI (int dimension)
 
 ~QmitkMonaiLabelToolGUI ()
 
void ConnectNewTool (mitk::SegWithPreviewTool *newTool) override
 
void InitializeUI (QBoxLayout *mainLayout) override
 
void EnableWidgets (bool enabled) override
 
virtual void DisplayWidgets (bool enabled)
 
void WriteStatusMessage (const QString &)
 Writes any message in white on the tool pane. More...
 
void WriteErrorMessage (const QString &)
 Writes any message in red on the tool pane. More...
 
void ShowErrorMessage (const std::string &message)
 Creates a QMessage object and shows on screen. More...
 
void StatusMessageListener (const bool status)
 Function to listen to tool class status emitters. More...
 
void OnPreferenceChangedEvent (const mitk::IPreferences::ChangeEvent &event)
 Function to listen to Preference changes. More...
 
void PopulateModelBox (QString appName, std::vector< mitk::MonaiModelInfo > models, bool allowAllModels)
 Helper function to write MONAI model info in to model combo box. More...
 
void PopulateUI (bool allowAllModels)
 Helper function to populate required server metadata into UI. More...
 
- Protected Member Functions inherited from QmitkMultiLabelSegWithPreviewToolGUIBase
 QmitkMultiLabelSegWithPreviewToolGUIBase ()
 
 ~QmitkMultiLabelSegWithPreviewToolGUIBase ()=default
 
void InitializeUI (QBoxLayout *mainLayout) override
 
void EnableWidgets (bool enabled) override
 
void SetLabelSetPreview (const mitk::LabelSetImage *preview)
 
void ActualizePreviewLabelVisibility ()
 
void DisplayTransferWidgets (bool enabled)
 To toggle visibility of "Transfer all labels" and "Transfer selected labels" radio buttons. More...
 
- Protected Member Functions inherited from QmitkSegWithPreviewToolGUIBase
 QmitkSegWithPreviewToolGUIBase (bool mode2D)
 
 ~QmitkSegWithPreviewToolGUIBase () override
 
virtual void DisconnectOldTool (mitk::SegWithPreviewTool *oldTool)
 
void BusyStateChanged (bool isBusy) override
 
template<class TTool >
TTool * GetConnectedToolAs ()
 
void SetMergeStyle (mitk::MultiLabelSegmentation::MergeStyle mergeStyle)
 
void SetOverwriteStyle (mitk::MultiLabelSegmentation::OverwriteStyle overwriteStyle)
 
- Protected Member Functions inherited from QmitkToolGUI
 QmitkToolGUI ()=default
 

Additional Inherited Members

- Signals inherited from QmitkToolGUI
void NewToolAssociated (mitk::Tool *)
 
- Protected Types inherited from QmitkSegWithPreviewToolGUIBase
using EnableConfirmSegBtnFunctionType = std::function< bool(bool)>
 
- Protected Slots inherited from QmitkMonaiLabelToolGUI
void OnPreviewBtnClicked ()
 
void OnFetchBtnClicked ()
 
void OnModelChanged (const QString &)
 
- Protected Slots inherited from QmitkMultiLabelSegWithPreviewToolGUIBase
void OnLabelSelectionChanged (const QmitkSimpleLabelSetListWidget::LabelVectorType &selectedLabels)
 
void OnRadioTransferAllClicked (bool checked)
 
- Protected Slots inherited from QmitkSegWithPreviewToolGUIBase
void OnNewToolAssociated (mitk::Tool *)
 
void OnAcceptPreview ()
 
- Protected Attributes inherited from QmitkSegWithPreviewToolGUIBase
EnableConfirmSegBtnFunctionType m_EnableConfirmSegBtnFnc
 
- Protected Attributes inherited from QmitkToolGUI
mitk::Tool::Pointer m_Tool
 

Detailed Description

Definition at line 19 of file QmitkMonaiLabel2DToolGUI.h.

Constructor & Destructor Documentation

◆ QmitkMonaiLabel2DToolGUI()

QmitkMonaiLabel2DToolGUI::QmitkMonaiLabel2DToolGUI ( )
protected

◆ ~QmitkMonaiLabel2DToolGUI()

QmitkMonaiLabel2DToolGUI::~QmitkMonaiLabel2DToolGUI ( )
protecteddefault

Member Function Documentation

◆ Clone()

Pointer QmitkMonaiLabel2DToolGUI::Clone ( ) const

◆ mitkClassMacro()

QmitkMonaiLabel2DToolGUI::mitkClassMacro ( QmitkMonaiLabel2DToolGUI  ,
QmitkMonaiLabelToolGUI   
)

◆ New()

static Pointer QmitkMonaiLabel2DToolGUI::New ( )
static

The documentation for this class was generated from the following file: