|
libosmscout 0.1
|
Input handler that follow vehicle. More...
#include <InputHandler.h>
Public Member Functions | |
| bool | isFollowVehicle () override |
| bool | isLockedToPosition () override |
| VehicleFollowHandler (const MapView &view, const QSizeF &widgetSize) | |
| bool | vehiclePosition (const VehiclePosition &vehiclePosition, bool autoRotateMap) override |
| void | widgetResized (const QSizeF &widgetSize) override |
| ~VehicleFollowHandler () override=default | |
| Public Member Functions inherited from osmscout::JumpHandler | |
| bool | animationInProgress () override |
| JumpHandler (const MapView &view, double moveAnimationDuration=(double) ANIMATION_DURATION, double zoomAnimationDuration=(double) ANIMATION_DURATION) | |
| bool | showCoordinates (const osmscout::GeoCoord &coord, const osmscout::Magnification &magnification, const osmscout::Bearing &bearing) override |
| ~JumpHandler () override=default | |
| Public Member Functions inherited from osmscout::InputHandler | |
| virtual bool | currentPosition (bool locationValid, osmscout::GeoCoord currentPosition) |
| virtual bool | focusOutEvent (QFocusEvent *event) |
| InputHandler (const MapView &view) | |
| virtual bool | move (const QVector2D &vector) |
| virtual void | painted () |
| virtual bool | pivotBy (double angleChange) |
| virtual bool | rotateBy (double angleChange) |
| virtual bool | rotateTo (double angle) |
| virtual bool | touch (const QTouchEvent &event) |
| virtual bool | zoom (double zoomFactor, const QPoint &widgetPosition, const QRect &widgetDimension) |
| ~InputHandler () override=default | |
Additional Inherited Members | |
| Signals inherited from osmscout::InputHandler | |
| void | viewChanged (const MapView &view) |
| Protected Attributes inherited from osmscout::InputHandler | |
| MapView | view |
Input handler that follow vehicle.
| osmscout::VehicleFollowHandler::VehicleFollowHandler | ( | const MapView & | view, |
| const QSizeF & | widgetSize ) |
References osmscout::JumpHandler::JumpHandler(), and osmscout::InputHandler::view.
|
overridedefault |
References isFollowVehicle(), isLockedToPosition(), vehiclePosition(), and widgetResized().
|
overridevirtual |
Reimplemented from osmscout::InputHandler.
Referenced by ~VehicleFollowHandler().
|
overridevirtual |
Reimplemented from osmscout::InputHandler.
Referenced by ~VehicleFollowHandler().
|
overridevirtual |
Reimplemented from osmscout::InputHandler.
References osmscout::Bearing::AsRadians(), osmscout::Magnification::GetMagnification(), osmscout::GetSphericalDistance(), osmscout::Kilometers(), osmscout::log, osmscout::Bearing::LongDisplayString(), osmscout::Meters(), osmscout::MercatorProjection::PixelToGeo(), osmscout::Bearing::Radians(), osmscout::MercatorProjection::Set(), osmscout::Magnification::SetMagnification(), osmscout::JumpHandler::showCoordinates(), vehiclePosition(), and osmscout::InputHandler::view.
Referenced by vehiclePosition(), and ~VehicleFollowHandler().
|
overridevirtual |
Reimplemented from osmscout::InputHandler.
Referenced by ~VehicleFollowHandler().