marble
MarblePhysics.cpp
Go to the documentation of this file.
56 const Quaternion itpos = Quaternion::slerp( sourcePosition.quaternion(), targetPosition.quaternion(), t );
A sane value is chosen automatically depending on animation settings and the action.
Definition: MarbleGlobal.h:174
void flyTo(const GeoDataLookAt &target, FlyToMode mode=Instant)
Initiate an animation to the target according to the given mode.
Definition: MarblePhysics.cpp:123
Linear interpolation of lon and lat, distance increases towards the middle point, then decreases...
Definition: MarbleGlobal.h:177
qreal range() const
Retrieve the distance (in meters) between the camera and the object looked at.
Definition: GeoDataLookAt.cpp:120
static Quaternion slerp(const Quaternion &q1, const Quaternion &q2, qreal t)
Definition: Quaternion.cpp:201
bool screenCoordinates(const qreal lon, const qreal lat, qreal &x, qreal &y) const
Get the screen coordinates corresponding to geographical coordinates in the map.
Definition: ViewportParams.cpp:357
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
This file contains the headers for ViewportParams.
Definition: GeoDataLookAt.h:23
FlyToMode
Describes possible flight mode (interpolation between source and target camera positions) ...
Definition: MarbleGlobal.h:173
void getSpherical(qreal &lon, qreal &lat) const
Definition: Quaternion.cpp:48
GeoDataCoordinates coordinates() const
retrieve the lat/lon/alt triple as a GeoDataCoordinates object
Definition: GeoDataLookAt.cpp:109
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Linear interpolation of lon, lat and distance to ground.
Definition: MarbleGlobal.h:176
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.