NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Base class for GUI controls on MIDAS segmentor views. More...
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 | |
SegmentationSelectorWidget * | m_SegmentationSelectorWidget |
Common widget, enabling selection of Image and Segmentation, that might be replaced once we have a database. More... | |
ToolSelectorWidget * | m_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 |
Base class for GUI controls on MIDAS segmentor views.
niftk::BaseSegmentorGUI::BaseSegmentorGUI | ( | QWidget * | parent | ) |
|
virtual |
|
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.
|
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.
|
protected |
Container for Selector Widget.
|
protected |
Container for Tool Widget.
|
protected |
Common widget, enabling selection of Image and Segmentation, that might be replaced once we have a database.
|
protected |
|
protected |
Common widget, enabling selection of a segmentation tool.