digiKam
createfinalptotask.h
Go to the documentation of this file.
1
/* ============================================================
2
*
3
* This file is a part of digiKam project
4
* https://www.digikam.org
5
*
6
* Date : 2012-12-05
7
* Description : a tool to create panorama by fusion of several images.
8
*
9
* Copyright (C) 2012-2015 by Benjamin Girault <benjamin dot girault at gmail dot com>
10
*
11
* This program is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU General
13
* Public License as published by the Free Software Foundation;
14
* either version 2, or (at your option) any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* ============================================================ */
22
23
#ifndef DIGIKAM_CREATE_FINAL_PTO_TASK_H
24
#define DIGIKAM_CREATE_FINAL_PTO_TASK_H
25
26
// Qt includes
27
28
#include <QSharedPointer>
29
30
// Local includes
31
32
#include "
panotask.h
"
33
#include "
ptotype.h
"
34
35
using namespace
Digikam
;
36
37
namespace
DigikamGenericPanoramaPlugin
38
{
39
40
class
CreateFinalPtoTask
:
public
PanoTask
41
{
42
public
:
43
44
explicit
CreateFinalPtoTask
(
const
QString& workDirPath,
45
QSharedPointer<const PTOType> ptoData,
46
QUrl& finalPtoUrl,
47
const
QRect& crop);
48
~
CreateFinalPtoTask
()
override
;
49
50
protected
:
51
52
void
run(ThreadWeaver::JobPointer
self
, ThreadWeaver::Thread* thread)
override
;
53
54
private
:
55
56
PTOType
ptoData;
57
QUrl& finalPtoUrl;
58
const
QRect crop;
59
60
private
:
61
62
// Disable
63
CreateFinalPtoTask
() =
delete
;
64
65
Q_DISABLE_COPY(
CreateFinalPtoTask
)
66
};
67
68
}
// namespace DigikamGenericPanoramaPlugin
69
70
#endif
// DIGIKAM_CREATE_FINAL_PTO_TASK_H
DigikamGenericPanoramaPlugin::CreateFinalPtoTask
Definition:
createfinalptotask.h:41
DigikamGenericPanoramaPlugin::PanoTask
Definition:
panotask.h:38
DigikamGenericPanoramaPlugin
Definition:
panoactions.h:36
Digikam
Definition:
datefolderview.cpp:43
panotask.h
ptotype.h
Digikam::PTOType
Definition:
ptotype.h:44
core
dplugins
generic
tools
panorama
tasks
createfinalptotask.h
Generated by
1.9.1