digiKam
ptofile.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-02-04
7  * Description : a tool to create panorama by fusion of several images.
8  * This parser is based on pto file format described here:
9  * hugin.sourceforge.net/docs/nona/nona.txt, and
10  * on pto files produced by Hugin's tools.
11  *
12  * Copyright (C) 2012-2015 by Benjamin Girault <benjamin dot girault at gmail dot com>
13  *
14  * This program is free software; you can redistribute it
15  * and/or modify it under the terms of the GNU General
16  * Public License as published by the Free Software Foundation;
17  * either version 2, or (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  * GNU General Public License for more details.
23  *
24  * ============================================================ */
25 
26 #ifndef DIGIKAM_PTO_FILE_H
27 #define DIGIKAM_PTO_FILE_H
28 
29 // Qt includes
30 
31 #include <QString>
32 
33 // Local includes
34 
35 #include "ptotype.h"
36 
37 namespace Digikam
38 {
39 
40 class PTOFile
41 {
42 public:
43 
44  explicit PTOFile(const QString& huginVersion);
45  ~PTOFile();
46 
47  bool openFile(const QString& path);
48  PTOType* getPTO();
49 
50 private:
51 
52  // Disable
53  PTOFile(const PTOFile&) = delete;
54  PTOFile& operator=(const PTOFile&) = delete;
55 
56 private:
57 
58  class Private;
59  Private* const d;
60 };
61 
62 } // namespace Digikam
63 
64 #endif // DIGIKAM_PTO_FILE_H
Definition: ptofile.h:41
~PTOFile()
Definition: ptofile.cpp:69
PTOType * getPTO()
Definition: ptofile.cpp:104
PTOFile(const QString &huginVersion)
Definition: ptofile.cpp:64
bool openFile(const QString &path)
Definition: ptofile.cpp:80
Definition: datefolderview.cpp:43
Definition: ptotype.h:44