QmitkAdaptiveRegionGrowingToolGUI.
More...
#include <QmitkAdaptiveRegionGrowingToolGUI.h>
|
Ui::QmitkAdaptiveRegionGrowingToolGUIControls | m_Controls |
| The created GUI from the .ui-File. This Attribute is obligatory. More...
|
|
QmitkAdaptiveRegionGrowingToolGUI.
Adaptive Region Growing View class of the segmentation.
Definition at line 40 of file QmitkAdaptiveRegionGrowingToolGUI.h.
◆ QmitkAdaptiveRegionGrowingToolGUI()
QmitkAdaptiveRegionGrowingToolGUI::QmitkAdaptiveRegionGrowingToolGUI |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~QmitkAdaptiveRegionGrowingToolGUI()
QmitkAdaptiveRegionGrowingToolGUI::~QmitkAdaptiveRegionGrowingToolGUI |
( |
| ) |
|
|
overrideprotected |
◆ Activated()
void QmitkAdaptiveRegionGrowingToolGUI::Activated |
( |
| ) |
|
◆ ChangeLevelWindow
void QmitkAdaptiveRegionGrowingToolGUI::ChangeLevelWindow |
( |
double |
newValue | ) |
|
|
protectedslot |
Method to change the level window.
This method is called, when the level window slider is changed via the slider in the control widget
- Parameters
-
◆ Clone()
Pointer QmitkAdaptiveRegionGrowingToolGUI::Clone |
( |
| ) |
const |
◆ ConfirmSegmentation
void QmitkAdaptiveRegionGrowingToolGUI::ConfirmSegmentation |
( |
| ) |
|
|
protectedslot |
Method to confirm the preview segmentation.
This method is called, when the "Confirm Segmentation" button is clicked.
◆ CreateConnections()
virtual void QmitkAdaptiveRegionGrowingToolGUI::CreateConnections |
( |
| ) |
|
|
virtual |
Method to create the connections for the component. This Method is obligatory even if no connections is needed.
◆ Deactivated()
void QmitkAdaptiveRegionGrowingToolGUI::Deactivated |
( |
| ) |
|
◆ DecreaseSlider
void QmitkAdaptiveRegionGrowingToolGUI::DecreaseSlider |
( |
| ) |
|
|
protectedslot |
Method to decrease the preview slider.
This method is called, when the - button is clicked and decreases the value by 1
◆ EnableControls()
void QmitkAdaptiveRegionGrowingToolGUI::EnableControls |
( |
bool |
enable | ) |
|
Method to enable/disable controls for region growing.
This method checks if a seed point is set and a segmentation exists.
- Parameters
-
enable | enable/disable controls |
◆ GetImageByTimePoint()
Method to extract a 3D image based on a given time point that can be taken from the SliceNavigationController.
This ensures that the seed point is taken from the current selected 3D image
◆ IncreaseSlider
void QmitkAdaptiveRegionGrowingToolGUI::IncreaseSlider |
( |
| ) |
|
|
protectedslot |
Method to increase the preview slider.
This method is called, when the + button is clicked and increases the value by 1
◆ mitkClassMacro()
◆ New()
static Pointer QmitkAdaptiveRegionGrowingToolGUI::New |
( |
| ) |
|
|
static |
◆ OnNewToolAssociated
void QmitkAdaptiveRegionGrowingToolGUI::OnNewToolAssociated |
( |
mitk::Tool * |
| ) |
|
|
protectedslot |
Method to determine which tool to activate.
This method listens to the tool manager and activates this tool if requested otherwise disables this view
◆ OnPointAdded()
void QmitkAdaptiveRegionGrowingToolGUI::OnPointAdded |
( |
| ) |
|
|
protected |
Method to calculate parameter settings, when a seed point is set.
◆ RunSegmentation
void QmitkAdaptiveRegionGrowingToolGUI::RunSegmentation |
( |
| ) |
|
|
protectedslot |
Method to start the segmentation.
This method is called, when the "Start Segmentation" button is clicked.
◆ SetDataNodeNames()
void QmitkAdaptiveRegionGrowingToolGUI::SetDataNodeNames |
( |
std::string |
labledSegmentation, |
|
|
std::string |
binaryImage, |
|
|
std::string |
surface, |
|
|
std::string |
maskedSegmentation |
|
) |
| |
Method to set the name of a data node.
- Parameters
-
labledSegmentation | Name of the labeled segmentation |
binaryImage | Name of the binary image |
surface | Name of the surface |
maskedSegmentation | |
◆ SetDataStorage()
virtual void QmitkAdaptiveRegionGrowingToolGUI::SetDataStorage |
( |
mitk::DataStorage * |
dataStorage | ) |
|
|
virtual |
Method to set the default data storage.
◆ SetInputImageNode()
void QmitkAdaptiveRegionGrowingToolGUI::SetInputImageNode |
( |
mitk::DataNode * |
node | ) |
|
Method to set the input image node.
- Parameters
-
◆ SetLowerThresholdValue
void QmitkAdaptiveRegionGrowingToolGUI::SetLowerThresholdValue |
( |
double |
lowerThreshold | ) |
|
|
protectedslot |
Method to set the lower threshold.
This method is called, when the minimum threshold slider has changed
- Parameters
-
lowerThreshold | lower threshold |
◆ SetUpperThresholdValue
void QmitkAdaptiveRegionGrowingToolGUI::SetUpperThresholdValue |
( |
double |
upperThreshold | ) |
|
|
protectedslot |
Method to set upper threshold.
This Method is called, when the maximum threshold slider has changed
- Parameters
-
upperThreshold | upper threshold |
◆ UseVolumeRendering
void QmitkAdaptiveRegionGrowingToolGUI::UseVolumeRendering |
( |
bool |
on | ) |
|
|
protectedslot |
Method to switch the volume rendering on/off.
- Parameters
-
◆ m_Controls
Ui::QmitkAdaptiveRegionGrowingToolGUIControls QmitkAdaptiveRegionGrowingToolGUI::m_Controls |
◆ m_DataStorage
◆ m_InputImageNode
◆ m_RegionGrow3DTool
The documentation for this class was generated from the following file: