marble
Navigation.cpp
Go to the documentation of this file.
58 qreal distance = Marble::EARTH_RADIUS * ( distanceSphere( position, interpolated ) + distanceSphere( interpolated, onRoute ) );
89 return m_marbleWidget->model()->routingManager()->routingModel()->route().currentSegment().nextRouteSegment();
98 connect( &d->m_voiceNavigation, SIGNAL(instructionChanged()), this, SIGNAL(voiceNavigationAnnouncementChanged()) );
120 d->m_autoNavigation = new Marble::AutoNavigation( d->m_marbleWidget->model(), d->m_marbleWidget->viewport(), this );
130 connect( d->m_marbleWidget->model()->positionTracking(), SIGNAL(statusChanged(PositionProviderStatus)),
140 return d->m_marbleWidget ? d->m_marbleWidget->model()->routingManager()->guidanceModeEnabled() : false;
237 Marble::RoutingModel const * model = d->m_marbleWidget->model()->routingManager()->routingModel();
246 Marble::RoutingModel const * model = d->m_marbleWidget->model()->routingManager()->routingModel();
252 d->m_voiceNavigation.update( model->route(), d->m_nextInstructionDistance, d->m_destinationDistance, model->deviatedFromRoute() );
Definition: Maneuver.h:34
Definition: Maneuver.h:41
virtual qreal length(qreal planetRadius, int offset=0) const
Returns the length of LineString across a sphere starting from a coordinate in LineString This method...
Definition: GeoDataLineString.cpp:594
Definition: Maneuver.h:33
This file contains the headers for MarbleModel.
Definition: Maneuver.h:36
qreal distanceSphere(qreal lon1, qreal lat1, qreal lon2, qreal lat2)
This method calculates the shortest distance between two points on a sphere.
Definition: MarbleMath.h:52
Definition: Maneuver.h:43
Definition: Maneuver.h:30
Definition: Maneuver.h:32
Definition: Maneuver.h:31
PositionProviderStatus
Definition: PositionProviderPluginInterface.h:25
const RouteSegment & nextRouteSegment() const
Definition: RouteSegment.cpp:72
Definition: RoutingModel.h:34
Definition: Maneuver.h:28
FlyToMode
Describes possible flight mode (interpolation between source and target camera positions) ...
Definition: MarbleGlobal.h:173
Definition: Maneuver.h:29
Definition: Maneuver.h:37
Definition: Maneuver.h:27
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
Definition: RouteSegment.h:23
Definition: Maneuver.h:35
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: Maneuver.h:42
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 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:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.