[Marble-devel] Review Request: Double click zooms in, generalized animations, GeoDataLookAt to change observer position

Torsten Rahn rahn at kde.org
Fri Jan 22 00:26:08 CET 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2672/#review3784
-----------------------------------------------------------



/trunk/KDE/kdeedu/marble/src/lib/MarbleMap.h
<http://reviewboard.kde.org/r/2672/#comment3206>

    Shouldn't this be named distanceFromRadius(int) ?



/trunk/KDE/kdeedu/marble/src/lib/MarbleMap.h
<http://reviewboard.kde.org/r/2672/#comment3207>

    Shouldn't this be named radiusFromDistance( qreal ) ?



/trunk/KDE/kdeedu/marble/src/lib/MarbleWidget.h
<http://reviewboard.kde.org/r/2672/#comment3208>

    Hm, we should move this one into the private class using Q_PRIVATE_SLOT later on ...
    
    Also this slot is named like a signal. According to its description it should be named: startStillMode() or something like that



/trunk/KDE/kdeedu/marble/src/lib/MarbleWidget.h
<http://reviewboard.kde.org/r/2672/#comment3210>

    Hm, we should move this one into the private class using Q_PRIVATE_SLOT later on ...
     


- Torsten


On 2010-01-21 22:56:47, Dennis Nienhüser wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/2672/
> -----------------------------------------------------------
> 
> (Updated 2010-01-21 22:56:47)
> 
> 
> Review request for marble.
> 
> 
> Summary
> -------
> 
> - Default input handler reacts to double click and zooms in (centering the mouse position)
> - Introduces the GeoDataLookAt object as a possibility to change the camera view (observer) in MarbleMap and MarbleWidget
> - Adds FlyToMode enum to generalize the existing Jump animation
> - Extends existing Jump to support source and target with different altitudes. Altitude changed according to travel distance to avoid very high jumps when only moving a short distance
> - Adds Linear interpolation as another animation
> - Adds flyTo methods to change camera view point
> - Adds FlyToMode parameter to existing zoom/pan actions. Those already having a bool animate are unchanged and set FlyToMode=Automatic/Instant internally
> - Some cleanup here and there
> 
> 
> This addresses bug 168744.
>     https://bugs.kde.org/show_bug.cgi?id=168744
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdeedu/marble/src/lib/MarbleControlBox.cpp 1078223 
>   /trunk/KDE/kdeedu/marble/src/lib/MarbleMap.h 1078223 
>   /trunk/KDE/kdeedu/marble/src/lib/MarbleMap.cpp 1078223 
>   /trunk/KDE/kdeedu/marble/src/lib/MarbleMap_p.h 1078223 
>   /trunk/KDE/kdeedu/marble/src/lib/MarblePhysics.h 1078223 
>   /trunk/KDE/kdeedu/marble/src/lib/MarblePhysics.cpp 1078223 
>   /trunk/KDE/kdeedu/marble/src/lib/MarbleWidget.h 1078223 
>   /trunk/KDE/kdeedu/marble/src/lib/MarbleWidget.cpp 1078223 
>   /trunk/KDE/kdeedu/marble/src/lib/MarbleWidgetInputHandler.h 1078223 
>   /trunk/KDE/kdeedu/marble/src/lib/MarbleWidgetInputHandler.cpp 1078223 
>   /trunk/KDE/kdeedu/marble/src/lib/global.h 1078223 
> 
> Diff: http://reviewboard.kde.org/r/2672/diff
> 
> 
> Testing
> -------
> 
> KDE and Qt Version, both with animations enabled and disabled.
> 
> Expected behavior:
>   In non-animated mode: As before, except that double click centers on the mouse position and zooms in.
>   In animated mode:
>     - Linear animation for wheel zoom actions
>     - Jump animation for double click
>     - Jump animation when moving to a target not visible on the screen yet
>     - Linear animation when moving to a target visible on the screen at the same height
>     - Jump animation when moving to a target visible on the screen at a different height (except wheel zoom)
>     - Control box zoom and pan buttons as well as keyboard events for zooming and panning are animated
>     - Jump animations for "go home" and places selected (unless visible on screen and at the same height, see above)
> 
> 
> Thanks,
> 
> Dennis
> 
>



More information about the Marble-devel mailing list