iVS3D v2.0.0
Loading...
Searching...
No Matches
automaticcontroller.h
1#ifndef AUTOMATICCONTROLLER_H
2#define AUTOMATICCONTROLLER_H
3
4#include "automaticexecsettings.h"
5#include "automaticwidget.h"
6#include "outputwidget.h"
7#include "samplingwidget.h"
8#include "progressdialog.h"
9#include "automaticexecutor.h"
10#include <QObject>
11
12
26class AutomaticController : public QObject
27{
28 Q_OBJECT
29public:
37 explicit AutomaticController(OutputWidget* outputWidget, AutomaticWidget* autoWidget, SamplingWidget* samplingWidget, DataManager* dm);
51 void disableAutoWidget();
52
53public slots:
58 void slot_setAlgorithm(int index);
71 void slot_updatedSelectedPlugins(QStringList usedPlugins);
81
82signals:
87 void sig_saveConfiguration(QString path);
92 void sig_loadConfiguration(QString path);
93
94private:
95 OutputWidget* m_outputWidget;
96 AutomaticWidget* m_autoWidget;
97 SamplingWidget* m_samplingWidget;
98 AutomaticExecSettings* m_autoExecSettings;
99 AutomaticExecutor* m_autoExec;
100 ProgressDialog* m_algorithmProgressDialog;
101 TerminalInteraction* m_terminal;
102};
103
104
105#endif // AUTOMATICCONTROLLER_H
The AlgorithmExecutor class is used to start the execution of a plugin(algorithm) and to provide sign...
Definition algorithmexecutor.h:36
The AutomaticController class is responsible for controlling the automatic execution.
Definition automaticcontroller.h:27
AutomaticExecutor * autoExec()
autoExec Getter for AutoExec
Definition automaticcontroller.cpp:96
void disableAutoWidget()
disableAutoWidget Disables the AutoWidget
Definition automaticcontroller.cpp:101
void sig_saveConfiguration(QString path)
sig_saveConfiguration Signal emitted when 'Save Config' is clicked
void slot_updatedSelectedPlugins(QStringList usedPlugins)
slot_updatedSelectedPlugins Updates the plugins shown in the AutoWidget
Definition automaticcontroller.cpp:65
void slot_loadConfiguration()
slot_loadConfiguration Connected to the AutomaticWidget, called to load a existing JSON file via a fi...
Definition automaticcontroller.cpp:55
void slot_saveConfiguration()
slot_saveConfiguration Connected to the AutomaticWidget, called to save the current settings to a JSO...
Definition automaticcontroller.cpp:45
void slot_createProgress(AlgorithmExecutor *algoExec)
slot_createProgress Used to create a ProgressDialog (or TerminalInteraction) and connect signals from...
Definition automaticcontroller.cpp:70
void sig_loadConfiguration(QString path)
sig_loadConfiguration Signal emitted when 'Load Config' is clicked
void setExporController(ExportController *exCon)
setExporController Sets the current exportController in the AutoExec classes
Definition automaticcontroller.cpp:106
void slot_deleteProgress()
slot_deleteProgress Deletes the current ProgressDialog, if existing
Definition automaticcontroller.cpp:87
void slot_setAlgorithm(int index)
slot_setAlgorithm Sets the SamplingWidget to the given algorithm
Definition automaticcontroller.cpp:40
The AutomaticExecSettings class is used to track the settings for the automatic execution.
Definition automaticexecsettings.h:28
The AutomaticExecutor class is used to run multiple algorithms sequential on the same input.
Definition automaticexecutor.h:24
The AutomaticWidget class is used to show the current settings of the automatic execution....
Definition automaticwidget.h:29
The DataManager class is a Facade for the data holding classes in the model. It delegates most of it'...
Definition DataManager.h:29
The ExportController class is managing signals and slots for the start of an export and opening recon...
Definition exportcontroller.h:48
The OutputWidget class is responsible for controlling the Widget on the bottom right holding export d...
Definition outputwidget.h:26
The ProgressDialog class is the ui dialog holding the progress bar and abort/cancel button.
Definition progressdialog.h:22
The SamplingWidget class is a graphical user interface to select and edit sampling algorithms and tra...
Definition samplingwidget.h:37
The TerminalInteraction class, which is used as a minimalistic ui for the mode without the full sized...
Definition terminalinteraction.h:29