marble
Tracking.cpp
Go to the documentation of this file.
36 connect( &m_lastKnownPosition, SIGNAL(longitudeChanged()), this, SLOT(setHasLastKnownPosition()) );
37 connect( &m_lastKnownPosition, SIGNAL(latitudeChanged()), this, SLOT(setHasLastKnownPosition()) );
95 connect( m_marbleWidget, SIGNAL(visibleLatLonAltBoxChanged()), this, SLOT(updatePositionMarker()) );
131 Marble::GeoDataCoordinates const pos( position->longitude(), position->latitude(), 0.0, GeoDataCoordinates::Degree );
132 visible = visible && m_marbleWidget->viewport()->screenCoordinates( pos.longitude(), pos.latitude(), x, y );
211 m_autoNavigation = new Marble::AutoNavigation( m_marbleWidget->model(), m_marbleWidget->viewport(), this );
244 m_autoNavigation = new Marble::AutoNavigation( m_marbleWidget->model(), m_marbleWidget->viewport(), this );
280 return m_marbleWidget ? m_marbleWidget->model()->positionTracking()->length( m_marbleWidget->model()->planetRadius() ) : 0.0;
287 QString target = fileName.startsWith( QLatin1String( "file://" ) ) ? fileName.mid( 7 ) : fileName;
296 QString target = fileName.startsWith( QLatin1String( "file://" ) ) ? fileName.mid( 7 ) : fileName;
void autoCenterChanged()
bool autoZoom() const
This file contains the headers for MarbleModel.
const Marble::ViewportParams * viewport() const
Definition: MarbleDeclarativeWidget.cpp:90
void setPositionMarkerType(PositionMarkerType type)
Definition: Tracking.cpp:269
void distanceChanged()
Represents a coordinate with the properties of a name and coordinates.
Definition: Coordinate.h:28
void hasLastKnownPositionChanged()
PositionMarkerType positionMarkerType() const
Definition: Tracking.h:49
void addGeoDataFile(const QString &filename)
Handle file loading into the treeModel.
Definition: MarbleModel.cpp:655
void setPositionSource(PositionSource *source)
Definition: Tracking.cpp:63
Definition: tools/osm-addresses/OsmParser.h:40
double distance() const
void setLastKnownPosition(Coordinate *lastKnownPosition)
Definition: Tracking.cpp:190
void positionSourceChanged()
void positionMarkerTypeChanged()
void positionMarkerChanged()
PositionTracking * positionTracking() const
Definition: MarbleModel.cpp:442
PositionSource * positionSource()
bool autoCenter() const
void showTrackChanged()
Definition: PositionSource.h:25
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
Definition: Tracking.h:48
void setCoordinates(const Marble::GeoDataCoordinates &coordinates)
Change all coordinates at once.
Definition: Coordinate.cpp:65
bool hasLastKnownPosition() const
Marble::GeoDataCoordinates coordinates() const
Change the altitude of the coordinate.
Definition: Coordinate.cpp:60
This file contains the headers for ViewportParams.
void clearTrack()
Removes all track segments which were recorded.
Definition: PositionTracking.cpp:287
void autoZoomChanged()
FlyToMode
Describes possible flight mode (interpolation between source and target camera positions) ...
Definition: MarbleGlobal.h:169
QObject * positionMarker()
void mapChanged()
Coordinate * lastKnownPosition()
void setTrackVisible(bool visible)
Toggles the visibility of the Position Tracking document.
Definition: PositionTracking.cpp:248
bool showTrack() const
void lastKnownPositionChanged()
MarbleWidget * map()
bool saveTrack(const QString &fileName)
Saves the track document to file.
Definition: PositionTracking.cpp:254
Wraps a Marble::MarbleWidget, providing access to important properties and methods.
Definition: MarbleDeclarativeWidget.h:50
The abstract class that creates a renderable item.
Definition: RenderPlugin.h:43
qreal length(qreal planetRadius) const
Returns the total track length.
Definition: PositionTracking.cpp:378
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.