|
QGroundControl
Ground Control Station for MAVLink Drones
|
Controller for GeoTagPage.qml. Supports geotagging images based on logfile camera tags. More...
#include <GeoTagController.h>
Inheritance diagram for GeoTagController:
Collaboration diagram for GeoTagController:Signals | |
| void | logFileChanged (const QString &logFile) |
| void | imageDirectoryChanged (const QString &imageDirectory) |
| void | saveDirectoryChanged (const QString &saveDirectory) |
| void | progressChanged (double progress) |
| void | inProgressChanged () |
| void | errorMessageChanged (const QString &errorMessage) |
| void | taggingCompleteChanged () |
| void | timeOffsetSecsChanged (double timeOffsetSecs) |
| void | toleranceSecsChanged (double toleranceSecs) |
| void | previewModeChanged (bool previewMode) |
| void | recursiveScanChanged (bool recursiveScan) |
Public Member Functions | |
| GeoTagController (QObject *parent=nullptr) | |
| ~GeoTagController () override | |
| Q_INVOKABLE void | startTagging () |
| Q_INVOKABLE void | cancelTagging () |
| QString | logFile () const |
| QString | imageDirectory () const |
| QString | saveDirectory () const |
| double | progress () const |
| bool | inProgress () const |
| QString | errorMessage () const |
| int | taggedCount () const |
| int | skippedCount () const |
| int | failedCount () const |
| double | timeOffsetSecs () const |
| double | toleranceSecs () const |
| bool | previewMode () const |
| bool | recursiveScan () const |
| GeoTagImageModel * | imageModel () const |
| void | setLogFile (const QString &file) |
| void | setImageDirectory (const QString &dir) |
| void | setSaveDirectory (const QString &dir) |
| void | setTimeOffsetSecs (double offset) |
| void | setToleranceSecs (double tolerance) |
| void | setPreviewMode (bool preview) |
| void | setRecursiveScan (bool recursive) |
Controller for GeoTagPage.qml. Supports geotagging images based on logfile camera tags.
Uses async signal-based processing with QFutureWatcher for non-blocking operation.
Definition at line 48 of file GeoTagController.h.
|
explicit |
Definition at line 177 of file GeoTagController.cc.
|
override |
Definition at line 196 of file GeoTagController.cc.
| void GeoTagController::cancelTagging | ( | ) |
Definition at line 390 of file GeoTagController.cc.
References inProgress().
|
inline |
Definition at line 82 of file GeoTagController.h.
|
signal |
|
inline |
Definition at line 85 of file GeoTagController.h.
|
inline |
Definition at line 78 of file GeoTagController.h.
|
signal |
Referenced by setImageDirectory().
|
inline |
Definition at line 90 of file GeoTagController.h.
|
inline |
Definition at line 81 of file GeoTagController.h.
Referenced by cancelTagging(), and startTagging().
|
signal |
|
inline |
Definition at line 77 of file GeoTagController.h.
|
signal |
Referenced by setLogFile().
|
inline |
Definition at line 88 of file GeoTagController.h.
|
signal |
Referenced by setPreviewMode().
|
inline |
Definition at line 80 of file GeoTagController.h.
|
signal |
|
inline |
Definition at line 89 of file GeoTagController.h.
|
signal |
Referenced by setRecursiveScan().
|
inline |
Definition at line 79 of file GeoTagController.h.
|
signal |
Referenced by setSaveDirectory().
| void GeoTagController::setImageDirectory | ( | const QString & | dir | ) |
Definition at line 229 of file GeoTagController.cc.
References QGCFileHelper::exists(), imageDirectoryChanged(), QGCFileHelper::joinPath(), and QGCFileHelper::toLocalPath().
| void GeoTagController::setLogFile | ( | const QString & | file | ) |
Definition at line 206 of file GeoTagController.cc.
References logFileChanged(), and QGCFileHelper::toLocalPath().
| void GeoTagController::setPreviewMode | ( | bool | preview | ) |
Definition at line 310 of file GeoTagController.cc.
References previewModeChanged().
| void GeoTagController::setRecursiveScan | ( | bool | recursive | ) |
Definition at line 318 of file GeoTagController.cc.
References recursiveScanChanged().
| void GeoTagController::setSaveDirectory | ( | const QString & | dir | ) |
Definition at line 260 of file GeoTagController.cc.
References saveDirectoryChanged(), and QGCFileHelper::toLocalPath().
| void GeoTagController::setTimeOffsetSecs | ( | double | offset | ) |
Definition at line 292 of file GeoTagController.cc.
References timeOffsetSecsChanged().
| void GeoTagController::setToleranceSecs | ( | double | tolerance | ) |
Definition at line 300 of file GeoTagController.cc.
References toleranceSecsChanged().
|
inline |
Definition at line 84 of file GeoTagController.h.
| void GeoTagController::startTagging | ( | ) |
Definition at line 346 of file GeoTagController.cc.
References QGCFileHelper::exists(), inProgress(), and taggingCompleteChanged().
|
inline |
Definition at line 83 of file GeoTagController.h.
|
signal |
Referenced by startTagging().
|
inline |
Definition at line 86 of file GeoTagController.h.
|
signal |
Referenced by setTimeOffsetSecs().
|
inline |
Definition at line 87 of file GeoTagController.h.
|
signal |
Referenced by setToleranceSecs().