Marble

GeoDataGroundOverlay.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2012 Dennis Nienhüser <nienhueser@kde.org>
4//
5
6#ifndef MARBLE_GEODATAGROUNDOVERLAY_H
7#define MARBLE_GEODATAGROUNDOVERLAY_H
8
9#include "GeoDataLatLonBox.h"
10#include "GeoDataOverlay.h"
11#include "MarbleGlobal.h"
12
13namespace Marble
14{
15
16class GeoDataGroundOverlayPrivate;
17class GeoDataLatLonQuad;
18
19/**
20 */
21class GEODATA_EXPORT GeoDataGroundOverlay : public GeoDataOverlay
22{
23public:
24 GeoDataGroundOverlay();
25
26 GeoDataGroundOverlay(const GeoDataGroundOverlay &other);
27
28 ~GeoDataGroundOverlay() override;
29
30 GeoDataGroundOverlay &operator=(const GeoDataGroundOverlay &other);
31 bool operator==(const GeoDataGroundOverlay &other) const;
32 bool operator!=(const GeoDataGroundOverlay &other) const;
33
34 GeoDataFeature *clone() const override;
35
36 /** Provides type information for downcasting a GeoNode */
37 const char *nodeType() const override;
38
39 double altitude() const;
40
41 void setAltitude(double altitude);
42
43 AltitudeMode altitudeMode() const;
44
45 void setAltitudeMode(const AltitudeMode altitudeMode);
46
47 const GeoDataLatLonBox &latLonBox() const;
48
49 GeoDataLatLonBox &latLonBox();
50
51 void setLatLonBox(const GeoDataLatLonBox &box);
52
53 const GeoDataLatLonQuad &latLonQuad() const;
54
55 GeoDataLatLonQuad &latLonQuad();
56
57 void setLatLonQuad(const GeoDataLatLonQuad &quad);
58
59private:
60 Q_DECLARE_PRIVATE(GeoDataGroundOverlay)
61};
62
63}
64
65#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 Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.