Marble

GeoDataGroundOverlay.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2012 Dennis Nienhüser <[email protected]>
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 
14 namespace Marble {
15 
16 class GeoDataGroundOverlayPrivate;
17 class GeoDataLatLonQuad;
18 
19 /**
20  */
21 class GEODATA_EXPORT GeoDataGroundOverlay: public GeoDataOverlay
22 {
23 public:
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 
59 private:
60  Q_DECLARE_PRIVATE(GeoDataGroundOverlay)
61 };
62 
63 }
64 
65 #endif
bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Sep 25 2023 03:50:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.