6#ifndef MARBLE_GEODATACAMERA_H
7#define MARBLE_GEODATACAMERA_H
9#include "GeoDataAbstractView.h"
10#include "GeoDataCoordinates.h"
11#include "geodata_export.h"
15class GeoDataCameraPrivate;
19class GEODATA_EXPORT GeoDataCamera :
public GeoDataAbstractView
24 GeoDataCamera(
const GeoDataCamera &other);
26 GeoDataCamera &operator=(
const GeoDataCamera &other);
27 bool operator==(
const GeoDataCamera &other)
const;
28 bool operator!=(
const GeoDataCamera &other)
const;
30 ~GeoDataCamera()
override;
32 GeoDataAbstractView *
copy()
const override;
39 void setAltitude(qreal altitude);
45 qreal altitude()
const;
53 void setLatitude(qreal latitude, GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian);
62 qreal latitude(GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian)
const;
70 void setLongitude(qreal longitude, GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian);
79 qreal longitude(GeoDataCoordinates::Unit unit = GeoDataCoordinates::Radian)
const;
86 GeoDataCoordinates coordinates()
const;
88 void setRoll(qreal roll);
92 qreal heading()
const;
94 void setHeading(qreal heading);
98 void setTilt(qreal tilt);
100 void setCoordinates(
const GeoDataCoordinates &coordinates);
103 const char *nodeType()
const override;
108 GeoDataCameraPrivate *d;
113Q_DECLARE_METATYPE(Marble::GeoDataCamera)
QAction * roll(const QObject *recvr, const char *slot, QObject *parent)
KIOCORE_EXPORT bool operator!=(const UDSEntry &entry, const UDSEntry &other)
const QList< QKeySequence > & copy()
bool operator==(const StyleDelim &l, const StyleDelim &r)
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:45 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.