Marble

GeoDataPhotoOverlay.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2012 Dennis Nienhüser <[email protected]>
4 // SPDX-FileCopyrightText: 2013 Mohammed Nafees <[email protected]>
5 //
6 
7 
8 #ifndef MARBLE_GEODATAPHOTOOVERLAY_H
9 #define MARBLE_GEODATAPHOTOOVERLAY_H
10 
11 #include "GeoDataOverlay.h"
12 #include "MarbleGlobal.h"
13 #include "geodata_export.h"
14 
15 namespace Marble {
16 
17 class GeoDataPhotoOverlayPrivate;
18 class GeoDataPoint;
19 class GeoDataImagePyramid;
20 class GeoDataViewVolume;
21 
22 /**
23  */
24 class GEODATA_EXPORT GeoDataPhotoOverlay: public GeoDataOverlay
25 {
26 public:
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 
66 private:
67  Q_DECLARE_PRIVATE(GeoDataPhotoOverlay)
68 };
69 
70 }
71 
72 #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 Tue Oct 3 2023 04:09:47 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.