NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
niftk::BaseSegmentorGUI Class Reference

Base class for GUI controls on MIDAS segmentor views. More...

Inheritance diagram for niftk::BaseSegmentorGUI:
Inheritance graph
[legend]
Collaboration diagram for niftk::BaseSegmentorGUI:
Collaboration graph
[legend]

Signals

void NewSegmentationButtonClicked ()
 Emitted when the user clicks on the 'Start/restart segmentation' button. More...
 

Public Member Functions

 BaseSegmentorGUI (QWidget *parent)
 
virtual ~BaseSegmentorGUI ()
 
bool IsToolSelectorEnabled () const
 Tells if the tool selection box is on/off. More...
 
void SetToolSelectorEnabled (bool enabled)
 Turns the tool selection box on/off. More...
 
void SetToolManager (mitk::ToolManager *toolManager)
 Sets the tool manager of the tool selection box. More...
 
mitk::ToolManager * GetToolManager () const
 Gets the tool manager of the tool selection box. More...
 
- Public Member Functions inherited from niftk::BaseGUI
 BaseGUI (QWidget *parent)
 
virtual ~BaseGUI ()
 
QWidget * GetParent () const
 Returns the parent widget. More...
 

Protected Member Functions

virtual void EnableSegmentationWidgets (bool enabled)
 Method to enable derived classes to turn widgets off/on, with default do nothing implementation. More...
 

Protected Attributes

SegmentationSelectorWidgetm_SegmentationSelectorWidget
 Common widget, enabling selection of Image and Segmentation, that might be replaced once we have a database. More...
 
ToolSelectorWidgetm_ToolSelectorWidget
 Common widget, enabling selection of a segmentation tool. More...
 
QWidget * m_ContainerForSelectorWidget
 Container for Selector Widget. More...
 
QWidget * m_ContainerForToolWidget
 Container for Tool Widget. More...
 
mitk::ToolManager * m_ToolManager
 

Detailed Description

Base class for GUI controls on MIDAS segmentor views.

See also
niftkMorphologicalSegmentorGUI
niftkGeneralSegmentorGUI

Constructor & Destructor Documentation

niftk::BaseSegmentorGUI::BaseSegmentorGUI ( QWidget *  parent)
niftk::BaseSegmentorGUI::~BaseSegmentorGUI ( )
virtual

Member Function Documentation

void niftk::BaseSegmentorGUI::EnableSegmentationWidgets ( bool  enabled)
protectedvirtual

Method to enable derived classes to turn widgets off/on, with default do nothing implementation.

Reimplemented in niftk::MorphologicalSegmentorGUI, and niftk::GeneralSegmentorGUI.

mitk::ToolManager * niftk::BaseSegmentorGUI::GetToolManager ( ) const

Gets the tool manager of the tool selection box.

bool niftk::BaseSegmentorGUI::IsToolSelectorEnabled ( ) const

Tells if the tool selection box is on/off.

void niftk::BaseSegmentorGUI::NewSegmentationButtonClicked ( )
signal

Emitted when the user clicks on the 'Start/restart segmentation' button.

void niftk::BaseSegmentorGUI::SetToolManager ( mitk::ToolManager *  toolManager)

Sets the tool manager of the tool selection box.

void niftk::BaseSegmentorGUI::SetToolSelectorEnabled ( bool  enabled)

Turns the tool selection box on/off.

Member Data Documentation

QWidget* niftk::BaseSegmentorGUI::m_ContainerForSelectorWidget
protected

Container for Selector Widget.

QWidget* niftk::BaseSegmentorGUI::m_ContainerForToolWidget
protected

Container for Tool Widget.

SegmentationSelectorWidget* niftk::BaseSegmentorGUI::m_SegmentationSelectorWidget
protected

Common widget, enabling selection of Image and Segmentation, that might be replaced once we have a database.

mitk::ToolManager* niftk::BaseSegmentorGUI::m_ToolManager
protected
ToolSelectorWidget* niftk::BaseSegmentorGUI::m_ToolSelectorWidget
protected

Common widget, enabling selection of a segmentation tool.


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