Marble

GeoDataPhotoOverlay.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2012 Dennis Nienhüser <nienhueser@kde.org>
4// SPDX-FileCopyrightText: 2013 Mohammed Nafees <nafees.technocool@gmail.com>
5//
6
7#ifndef MARBLE_GEODATAPHOTOOVERLAY_H
8#define MARBLE_GEODATAPHOTOOVERLAY_H
9
10#include "GeoDataOverlay.h"
11#include "MarbleGlobal.h"
12#include "geodata_export.h"
13
14namespace Marble
15{
16
17class GeoDataPhotoOverlayPrivate;
18class GeoDataPoint;
19class GeoDataImagePyramid;
20class GeoDataViewVolume;
21
22/**
23 */
24class GEODATA_EXPORT GeoDataPhotoOverlay : public GeoDataOverlay
25{
26public:
27 GeoDataPhotoOverlay();
28
29 GeoDataPhotoOverlay(const GeoDataPhotoOverlay &other);
30
31 ~GeoDataPhotoOverlay() override;
32
33 GeoDataPhotoOverlay &operator=(const GeoDataPhotoOverlay &other);
34 bool operator==(const GeoDataPhotoOverlay &other) const;
35 bool operator!=(const GeoDataPhotoOverlay &other) const;
36
37 GeoDataFeature *clone() const override;
38
39 /** Provides type information for downcasting a GeoNode */
40 const char *nodeType() const override;
41
42 enum Shape {
43 Rectangle,
44 Cylinder,
45 Sphere
46 };
47
48 qreal rotation() const;
49 void setRotation(const qreal rotation);
50
51 GeoDataViewVolume &viewVolume();
52 const GeoDataViewVolume &viewVolume() const;
53 void setViewVolume(const GeoDataViewVolume &viewVolume);
54
55 GeoDataImagePyramid &imagePyramid();
56 const GeoDataImagePyramid &imagePyramid() const;
57 void setImagePyramid(const GeoDataImagePyramid &imagePyramid);
58
59 GeoDataPoint &point();
60 const GeoDataPoint &point() const;
61 void setPoint(const GeoDataPoint &point);
62
63 Shape shape() const;
64 void setShape(Shape shape);
65
66private:
67 Q_DECLARE_PRIVATE(GeoDataPhotoOverlay)
68};
69
70}
71
72#endif
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
KIOCORE_EXPORT bool operator==(const UDSEntry &entry, const UDSEntry &other)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:50:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.