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
7#ifndef MARBLE_GEODATAGROUNDOVERLAY_H
8#define MARBLE_GEODATAGROUNDOVERLAY_H
9
10#include "GeoDataOverlay.h"
11#include "MarbleGlobal.h"
12#include "GeoDataLatLonBox.h"
13
14namespace Marble {
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
Binds a QML item to a specific geodetic location in screen coordinates.
bool operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
bool operator!=(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.