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
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
15namespace Marble {
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
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 Fri Jun 21 2024 12:00:06 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.