Marble
4 #ifndef GEODATASCREENOVERLAY_H
5 #define GEODATASCREENOVERLAY_H
7 #include "GeoDataOverlay.h"
8 #include "GeoDataVec2.h"
9 #include "MarbleGlobal.h"
13 class GeoDataScreenOverlayPrivate;
17 class GEODATA_EXPORT GeoDataScreenOverlay:
public GeoDataOverlay
20 GeoDataScreenOverlay();
22 GeoDataScreenOverlay(
const GeoDataScreenOverlay &other );
24 ~GeoDataScreenOverlay()
override;
26 GeoDataScreenOverlay& operator=(
const GeoDataScreenOverlay &other );
27 bool operator==(
const GeoDataScreenOverlay &other )
const;
28 bool operator!=(
const GeoDataScreenOverlay &other )
const;
30 GeoDataFeature * clone()
const override;
33 const char* nodeType()
const override;
35 GeoDataVec2 overlayXY()
const;
36 void setOverlayXY(
const GeoDataVec2 &vec2 );
37 void setOverlayXY(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
39 GeoDataVec2 screenXY()
const;
40 void setScreenXY(
const GeoDataVec2 &vec2 );
41 void setScreenXY(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
43 GeoDataVec2 rotationXY()
const;
44 void setRotationXY(
const GeoDataVec2 &vec2 );
45 void setRotationXY(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
47 GeoDataVec2 size()
const;
48 void setSize(
const GeoDataVec2 &vec2 );
49 void setSize(qreal x, qreal y, GeoDataVec2::Unit xunit, GeoDataVec2::Unit yunit);
51 qreal rotation()
const;
52 void setRotation( qreal rotation );
55 Q_DECLARE_PRIVATE(GeoDataScreenOverlay)
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 Thu Sep 21 2023 04:12:26 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.