iVS3D v2.0.9
Loading...
Searching...
No Matches
stackcontroller.h
1#ifndef STACKCONTROLLER_H
2#define STACKCONTROLLER_H
3
4#include <QObject>
5#include "history.h"
6#include "operationstack.h"
7#include "samplingwidget.h"
8#include "exportcontroller.h"
9#include "pluginmanager.h"
10
11
12class StackController : public QObject
13{
14 Q_OBJECT
15
16public:
17 StackController(OperationStack* opStack, History* mipHistory, SamplingWidget* samplingWidget, ExportController* exportController);
19 void select();
20
21 void addToStack(const QString& pluginName,
22 const QMap<QString, QVariant>& settings,
23 const QString& settingsString);
24
25private:
26 OperationStack* m_opStack;
27 History* m_history;
28 SamplingWidget* m_samplingWidget;
29 ExportController* m_exportController;
30 void deleteInvalidFuture(int exportFlag = 0);
31
32 struct StackEntry {
33 QString pluginName;
34 QMap<QString, QVariant> pluginSettings;
35 };
36 QMap<QString, StackEntry> m_algoSettings;
37
38
39public slots:
40 void slot_toggleKeyframe(uint idx, bool isNowKeyframe);
41 void slot_deleteKeyframes();
42 void slot_deleteAllKeyframes();
43 void slot_rowClicked(int row);
44 void slot_clearClicked();
45 void slot_pluginFinished(QString name);
46 void slot_keyframesChangedByPlugin(QString pluginName);
47 void slot_exportFinished(QMap<QString, QVariant> settings);
48};
49
50#endif // STACKCONTROLLER_H
The ExportController class is managing signals and slots for the start of an export and opening recon...
Definition exportcontroller.h:50
The History class stores and restores historical states of ModelInputPictrues in order to provide und...
Definition history.h:22
Definition operationstack.h:13
The SamplingWidget class is a graphical user interface to select and edit sampling algorithms and tra...
Definition samplingwidget.h:40
Definition stackcontroller.h:13
Definition stackcontroller.h:32