iVS3D v2.0.0
Loading...
Searching...
No Matches
exportexecutor.h
1#ifndef EXPORTEXECUTOR_H
2#define EXPORTEXECUTOR_H
3
4
5#include <QCoreApplication>
6
7
8#include "progressable.h"
9#include "DataManager.h"
10#include "exportthread.h"
11#include "itransform.h"
12#include "logfile.h"
13#include "stringcontainer.h"
14
38{
39 Q_OBJECT
40
41public:
47 explicit ExportExecutor(QObject* parent, DataManager* dataManager);
48
55 void startExport(const ExportConfig& config, LogFile *logFile);
56
57public slots:
61 void slot_abort();
62
66 void slot_finished();
67
68signals:
73
78
84
85private:
86 void closeThread();
87 volatile bool m_stopped = false;
88 DataManager* m_dataManager;
89 ExportThread* m_exportThread;
90 QObject* m_parent;
91
92 QPoint m_boundaries = QPoint(0, 0);
93};
94
95#endif // EXPORTEXECUTOR_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
void sig_exportFinished(ExportResult result)
[signal] sig_exportFinished is emitted after an export finished.
void slot_finished()
[slot] slot_finished is invoked from the export thread on finish.
Definition exportexecutor.cpp:39
void sig_exportStarted()
[signal] sig_exportStarted is emitted after an export started.
void slot_abort()
[slot] slot_abort stops the export.
Definition exportexecutor.cpp:28
void sig_exportAborted()
[signal] sig_exportAborted is emitted after an export was aborted.
void startExport(const ExportConfig &config, LogFile *logFile)
startExport starts a new Export with the currently selected keyframes in ModelInputPictures provided ...
Definition exportexecutor.cpp:12
The ExportThread class provides functionality to export images with given resolution and region of in...
Definition exportthread.h:100
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
Definition exportthread.h:35
ExportResult holds the result of an export operation.
Definition exportthread.h:62