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

Implements a few Qt specific things that are of no interest to the MITK view class. More...

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

Signals

void ThresholdingValuesChanged (double lowerThreshold, double upperThreshold, int axialSlicerNumber)
 
void ErosionsValuesChanged (double upperThreshold, int numberOfErosions)
 
void DilationsValuesChanged (double lowerPercentage, double upperPercentage, int numberOfDilations)
 
void RethresholdingValuesChanged (int boxSize)
 
void TabChanged (int tabIndex)
 
void OKButtonClicked ()
 
void CancelButtonClicked ()
 
void RestartButtonClicked ()
 
- Signals inherited from niftk::BaseSegmentorGUI
void NewSegmentationButtonClicked ()
 Emitted when the user clicks on the 'Start/restart segmentation' button. More...
 

Public Member Functions

 MorphologicalSegmentorGUI (QWidget *parent=nullptr)
 Constructor. More...
 
virtual ~MorphologicalSegmentorGUI ()
 Destructor. More...
 
virtual void EnableSegmentationWidgets (bool enabled) override
 Method to enable to turn widgets off/on. More...
 
int GetTabIndex () const
 Get the current tab index. More...
 
void SetTabIndex (int tabIndex)
 Set the current tab index. No TabChanged(int) signal is emitted. More...
 
void SetEnabled (bool enabled)
 Enables/disables all controls. More...
 
void SetControlsByReferenceImage (double lowestValue, double highestValue, int numberOfAxialSlices, int upDirection)
 Set the dialog according to relevant image data. More...
 
void SetControlsByPipelineParams (MorphologicalSegmentorPipelineParams &params)
 Set the dialog according to current parameter values. More...
 
- Public Member Functions inherited from niftk::BaseSegmentorGUI
 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 Slots

void OnThresholdLowerValueChanged ()
 
void OnThresholdUpperValueChanged ()
 
void OnAxialCutOffSliderChanged ()
 
void OnBackButtonClicked ()
 
void OnNextButtonClicked ()
 
void OnErosionsUpperThresholdChanged ()
 
void OnErosionsIterationsChanged ()
 
void OnDilationsLowerThresholdChanged ()
 
void OnDilationsUpperThresholdChanged ()
 
void OnDilationsIterationsChanged ()
 
void OnRethresholdingSliderChanged ()
 
void OnRestartButtonClicked ()
 

Additional Inherited Members

- Protected Attributes inherited from niftk::BaseSegmentorGUI
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

Implements a few Qt specific things that are of no interest to the MITK view class.

Constructor & Destructor Documentation

niftk::MorphologicalSegmentorGUI::MorphologicalSegmentorGUI ( QWidget *  parent = nullptr)

Constructor.

niftk::MorphologicalSegmentorGUI::~MorphologicalSegmentorGUI ( )
virtual

Destructor.

Member Function Documentation

void niftk::MorphologicalSegmentorGUI::CancelButtonClicked ( )
signal
void niftk::MorphologicalSegmentorGUI::DilationsValuesChanged ( double  lowerPercentage,
double  upperPercentage,
int  numberOfDilations 
)
signal
void niftk::MorphologicalSegmentorGUI::EnableSegmentationWidgets ( bool  enabled)
overridevirtual

Method to enable to turn widgets off/on.

See also
niftkBaseSegmentorGUI::EnableSegmentationWidgets

Reimplemented from niftk::BaseSegmentorGUI.

void niftk::MorphologicalSegmentorGUI::ErosionsValuesChanged ( double  upperThreshold,
int  numberOfErosions 
)
signal
int niftk::MorphologicalSegmentorGUI::GetTabIndex ( ) const

Get the current tab index.

void niftk::MorphologicalSegmentorGUI::OKButtonClicked ( )
signal
void niftk::MorphologicalSegmentorGUI::OnAxialCutOffSliderChanged ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnBackButtonClicked ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnDilationsIterationsChanged ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnDilationsLowerThresholdChanged ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnDilationsUpperThresholdChanged ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnErosionsIterationsChanged ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnErosionsUpperThresholdChanged ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnNextButtonClicked ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnRestartButtonClicked ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnRethresholdingSliderChanged ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnThresholdLowerValueChanged ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::OnThresholdUpperValueChanged ( )
protectedslot
void niftk::MorphologicalSegmentorGUI::RestartButtonClicked ( )
signal
void niftk::MorphologicalSegmentorGUI::RethresholdingValuesChanged ( int  boxSize)
signal
void niftk::MorphologicalSegmentorGUI::SetControlsByPipelineParams ( MorphologicalSegmentorPipelineParams params)

Set the dialog according to current parameter values.

void niftk::MorphologicalSegmentorGUI::SetControlsByReferenceImage ( double  lowestValue,
double  highestValue,
int  numberOfAxialSlices,
int  upDirection 
)

Set the dialog according to relevant image data.

void niftk::MorphologicalSegmentorGUI::SetEnabled ( bool  enabled)

Enables/disables all controls.

void niftk::MorphologicalSegmentorGUI::SetTabIndex ( int  tabIndex)

Set the current tab index. No TabChanged(int) signal is emitted.

void niftk::MorphologicalSegmentorGUI::TabChanged ( int  tabIndex)
signal
void niftk::MorphologicalSegmentorGUI::ThresholdingValuesChanged ( double  lowerThreshold,
double  upperThreshold,
int  axialSlicerNumber 
)
signal

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