NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Implements the Qt/Widget specific functionality pertaining to the General Segmentor View. More...
Signals | |
void | CleanButtonClicked () |
void | WipeButtonClicked () |
void | WipePlusButtonClicked () |
void | WipeMinusButtonClicked () |
void | PropagateUpButtonClicked () |
void | PropagateDownButtonClicked () |
void | Propagate3DButtonClicked () |
void | OKButtonClicked () |
void | CancelButtonClicked () |
void | RestartButtonClicked () |
void | ResetButtonClicked () |
void | ThresholdApplyButtonClicked () |
void | ThresholdingCheckBoxToggled (bool) |
void | SeePriorCheckBoxToggled (bool) |
void | SeeNextCheckBoxToggled (bool) |
void | ThresholdValueChanged () |
Signals inherited from niftk::BaseSegmentorGUI | |
void | NewSegmentationButtonClicked () |
Emitted when the user clicks on the 'Start/restart segmentation' button. More... | |
Public Member Functions | |
GeneralSegmentorGUI (QWidget *parent) | |
Constructor. More... | |
~GeneralSegmentorGUI () | |
Destructor. More... | |
virtual void | EnableSegmentationWidgets (bool checked) override |
Method to enable to turn widgets off/on. More... | |
void | SetLowerAndUpperIntensityRanges (double lower, double upper) |
Sets the min and max values on the lower and upper sliders. More... | |
void | SetSeedMinAndMaxValues (double min, double max) |
Sets the seed min and max values on the labels. More... | |
void | SetAllWidgetsEnabled (bool enabled) |
Turns all widgets on/off. More... | |
void | SetThresholdingCheckBoxEnabled (bool enabled) |
Enable the checkbox that controls all the thresholding widgets. More... | |
void | SetThresholdingWidgetsEnabled (bool enabled) |
Turns thresholding widgets on/off. More... | |
void | SetOKCancelResetWidgetsEnabled (bool enabled) |
Turns the OK, Cancel and reset buttons on/off. More... | |
bool | IsThresholdingCheckBoxChecked () const |
Tells if the checkbox that controls all the thresholding widgets is checked in/out. More... | |
void | SetThresholdingCheckBoxChecked (bool checked) |
Checks in/out the checkbox that controls all the thresholding widgets. More... | |
bool | IsSeePriorCheckBoxChecked () const |
Tells if the 'see prior' checkbox is checked. More... | |
void | SetSeePriorCheckBoxChecked (bool checked) |
Checks in/out the 'see prior' checkbox. More... | |
bool | IsSeeNextCheckBoxChecked () const |
Tells if the 'see next' checkbox is checked. More... | |
void | SetSeeNextCheckBoxChecked (bool checked) |
Checks in/out the 'see next' checkbox. More... | |
bool | IsRetainMarksCheckBoxChecked () const |
Tells if the 'retain marks' checkbox is checked. More... | |
void | SetRetainMarksCheckBoxChecked (bool checked) |
Checks in/out the 'retain marks' checkbox. More... | |
double | GetLowerThreshold () const |
Returns that lower threshold. The lower threshould is the minimum value of the threshold slider. More... | |
double | GetUpperThreshold () const |
Returns that upper threshold. The upper threshold is the maximum value of the threshold slider. 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... | |
Additional Inherited Members | |
Protected Attributes inherited from niftk::BaseSegmentorGUI | |
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 |
Implements the Qt/Widget specific functionality pertaining to the General Segmentor View.
niftk::GeneralSegmentorGUI::GeneralSegmentorGUI | ( | QWidget * | parent | ) |
Constructor.
niftk::GeneralSegmentorGUI::~GeneralSegmentorGUI | ( | ) |
Destructor.
|
signal |
|
signal |
|
overridevirtual |
Method to enable to turn widgets off/on.
Reimplemented from niftk::BaseSegmentorGUI.
double niftk::GeneralSegmentorGUI::GetLowerThreshold | ( | ) | const |
Returns that lower threshold. The lower threshould is the minimum value of the threshold slider.
double niftk::GeneralSegmentorGUI::GetUpperThreshold | ( | ) | const |
Returns that upper threshold. The upper threshold is the maximum value of the threshold slider.
bool niftk::GeneralSegmentorGUI::IsRetainMarksCheckBoxChecked | ( | ) | const |
Tells if the 'retain marks' checkbox is checked.
bool niftk::GeneralSegmentorGUI::IsSeeNextCheckBoxChecked | ( | ) | const |
Tells if the 'see next' checkbox is checked.
bool niftk::GeneralSegmentorGUI::IsSeePriorCheckBoxChecked | ( | ) | const |
Tells if the 'see prior' checkbox is checked.
bool niftk::GeneralSegmentorGUI::IsThresholdingCheckBoxChecked | ( | ) | const |
Tells if the checkbox that controls all the thresholding widgets is checked in/out.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
void niftk::GeneralSegmentorGUI::SetAllWidgetsEnabled | ( | bool | enabled | ) |
Turns all widgets on/off.
void niftk::GeneralSegmentorGUI::SetLowerAndUpperIntensityRanges | ( | double | lower, |
double | upper | ||
) |
Sets the min and max values on the lower and upper sliders.
void niftk::GeneralSegmentorGUI::SetOKCancelResetWidgetsEnabled | ( | bool | enabled | ) |
Turns the OK, Cancel and reset buttons on/off.
void niftk::GeneralSegmentorGUI::SetRetainMarksCheckBoxChecked | ( | bool | checked | ) |
Checks in/out the 'retain marks' checkbox.
void niftk::GeneralSegmentorGUI::SetSeedMinAndMaxValues | ( | double | min, |
double | max | ||
) |
Sets the seed min and max values on the labels.
void niftk::GeneralSegmentorGUI::SetSeeNextCheckBoxChecked | ( | bool | checked | ) |
Checks in/out the 'see next' checkbox.
void niftk::GeneralSegmentorGUI::SetSeePriorCheckBoxChecked | ( | bool | checked | ) |
Checks in/out the 'see prior' checkbox.
void niftk::GeneralSegmentorGUI::SetThresholdingCheckBoxChecked | ( | bool | checked | ) |
Checks in/out the checkbox that controls all the thresholding widgets.
void niftk::GeneralSegmentorGUI::SetThresholdingCheckBoxEnabled | ( | bool | enabled | ) |
Enable the checkbox that controls all the thresholding widgets.
void niftk::GeneralSegmentorGUI::SetThresholdingWidgetsEnabled | ( | bool | enabled | ) |
Turns thresholding widgets on/off.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |