iVS3D v2.0.0
Loading...
Searching...
No Matches
AlgorithmController Class Reference

The AlgorithmController class is responsible for controlling the user input regarding algorithm selection and execution. More...

#include <algorithmcontroller.h>

Inheritance diagram for AlgorithmController:

Public Slots

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.
 

Signals

void sig_hasStatusMessage (QString message)
 [signal] sig_hasStatusMessage() is emitted when the status message is updated.
 
void sig_stopPlay ()
 [signal] sig_stopPlay() is emitted when an algorithm is started to stop the VideoPlayer.
 

Public Member Functions

 AlgorithmController (DataManager *dataManager, SamplingWidget *samplingWidget)
 AlgorithmController Constructor.
 

Detailed Description

The AlgorithmController class is responsible for controlling the user input regarding algorithm selection and execution.

Author
Patrick Binder
Date
2021/01/28

Constructor & Destructor Documentation

◆ AlgorithmController()

AlgorithmController::AlgorithmController ( DataManager dataManager,
SamplingWidget samplingWidget 
)
explicit

AlgorithmController Constructor.

Parameters
dataManagerThe programm wide DataManger
samplingWidgetA pointer to a SamplingWidget, on which all user input regarding algorithm selection and execution is done.

Member Function Documentation

◆ sig_hasStatusMessage

void AlgorithmController::sig_hasStatusMessage ( QString  message)
signal

[signal] sig_hasStatusMessage() is emitted when the status message is updated.

Parameters
messageQString 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
idxIndex 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
idxIndex of the now selected Transform algortihm

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