iVS3D v2.0.0
Loading...
Searching...
No Matches
nouiexport.h
1#ifndef NOUIEXPORT_H
2#define NOUIEXPORT_H
3
4#include <QObject>
5#include <QMap>
6#include <QPoint>
7#include <QRect>
8#include <QVariant>
9
10#include "transformmanager.h"
11#include "exportexecutor.h"
12#include "DataManager.h"
13#include "logfile.h"
14#include "logmanager.h"
15#include "stringcontainer.h"
16#include "terminalinteraction.h"
17
30class noUIExport: public QObject
31{
32 Q_OBJECT
33public:
39 noUIExport(Progressable* receiver, QMap<QString, QVariant> exportSettings, DataManager* dm);
43 void runExport();
44
45public slots:
53 void slot_displayMessage(QString message);
57 void slot_displayProgress(int progress, QString currentProgress);
58
59signals:
64
65
66private:
67 QString m_path;
68 std::vector<bool> m_ITransfromSelection = std::vector<bool>();
69 DataManager* m_dataManager;
70 ExportExecutor* m_exportExec = nullptr;
71 LogFile *m_logFile;
72 Progressable* m_receiver;
73 Resolution m_exportResolution;
74};
75
76#endif // NOUIEXPORT_H
The DataManager class is a Facade for the data holding classes in the model. It delegates most of it'...
Definition DataManager.h:29
The ExportExecutor class manages the export and its progress. It encapsules the export process and pr...
Definition exportexecutor.h:38
The LogFile class logs progress as well as information about a process (e.g. Inport,...
Definition logfile.h:23
The Progressable interface is used to by multithreaded actions such as sampling or exporting to repor...
Definition progressable.h:18
The Resolution class encapsulates an image resolution (width and height). It provides functionality f...
Definition resolution.h:17
The noUIExport class is used to run the export without a ui.
Definition nouiexport.h:31
void slot_exportFinished(ExportResult result)
slot_exportFinished Connected to the ExportExecutor, called when the export is finished
Definition nouiexport.cpp:127
void slot_displayProgress(int progress, QString currentProgress)
slot_makeProgress Connected to the ExportExecutor, called to display progress
Definition nouiexport.cpp:143
void sig_exportFinished()
sig_exportFinished Connected to the AutomaticExecutor to signal that the export is finished
void slot_displayMessage(QString message)
slot_displayMessage Connected to the ExportExecutor, called to display a message
Definition nouiexport.cpp:138
void runExport()
runExport Runs the export. This method is similar to ExportController::slot_export
Definition nouiexport.cpp:49
ExportResult holds the result of an export operation.
Definition exportthread.h:62