The AlgorithmController class is responsible for controlling the user input regarding algorithm selection and execution.
More...
#include <algorithmcontroller.h>
|
| void | slot_selectAlgorithm (int idx) |
| | Slot which is called, when the selected Algorithm is changed to a IAlgorithm. The slot will show the settings widget from the now selected Algorithm.
|
| |
| void | slot_selectTransform (int idx) |
| | Slot which is called, when the selected Algorithm is changed to a Transform algortihm. The slot will show the settings widget from the now selected Algorithm.
|
| |
|
void | slot_startAlgorithm () |
| | Slot which is called, when 'Sample images' is clicked. The slot will start the algorithm by calling the AlgorithmExecutor.
|
| |
|
void | slot_showProgessDialog () |
| | Slot which is called after a sampling process of settings generation process is started. The call to this slot can be delayed, so the dialog is shown only if the execution of the process takes a certain amount of time.
|
| |
|
void | slot_startGenerateSettings () |
| | Slot which is called, when 'Generate settings' is clicked. The slot will start the algorithm by calling the AlgorithmExecutor.
|
| |
|
void | slot_algorithmFinished (int idx) |
| | Slot which is called, when the algorithm finished. This will close the ProgressDialog.
|
| |
|
void | slot_algorithmAborted () |
| | Slot which is called, when the 'Abort' on the ProgressDialog is clicked. This will close the ProgressDialog.
|
| |
The AlgorithmController class is responsible for controlling the user input regarding algorithm selection and execution.
- Author
- Patrick Binder
- Date
- 2021/01/28
◆ AlgorithmController()
AlgorithmController Constructor.
- Parameters
-
| dataManager | The programm wide DataManger |
| samplingWidget | A pointer to a SamplingWidget, on which all user input regarding algorithm selection and execution is done. |
◆ sig_hasStatusMessage
| void AlgorithmController::sig_hasStatusMessage |
( |
QString |
message | ) |
|
|
signal |
[signal] sig_hasStatusMessage() is emitted when the status message is updated.
- Parameters
-
| message | QString with the new status |
◆ slot_selectAlgorithm
| void AlgorithmController::slot_selectAlgorithm |
( |
int |
idx | ) |
|
|
slot |
Slot which is called, when the selected Algorithm is changed to a IAlgorithm. The slot will show the settings widget from the now selected Algorithm.
- Parameters
-
| idx | Index of the now selected Algorithm |
◆ slot_selectTransform
| void AlgorithmController::slot_selectTransform |
( |
int |
idx | ) |
|
|
slot |
Slot which is called, when the selected Algorithm is changed to a Transform algortihm. The slot will show the settings widget from the now selected Algorithm.
- Parameters
-
| idx | Index of the now selected Transform algortihm |
The documentation for this class was generated from the following files:
- iVS3D/src/iVS3D-core/controller/algorithmcontroller.h
- iVS3D/src/iVS3D-core/controller/algorithmcontroller.cpp