[ui] Viewer3D: DefaultCameraController + better double click handling

* add DefaultCameraController: 
   * mouse-only navigation
   * keyboard modifiers fallbacks for view re-centering (Ctrl+LeftClick) and fast zooming (Alt+RightClick)
* improved double click handling for 3D Object Picking
  * moved logic/Timer to the CameraController
  * always use TrianglePicking but only activate the ObjectPicker when necessary
This commit is contained in:
Yann Lanthony 2017-12-12 19:10:18 +01:00
parent 886ded7f19
commit ecc376e3b6
3 changed files with 172 additions and 27 deletions

View file

@ -2,6 +2,7 @@ module Viewer
Viewer2D 1.0 Viewer2D.qml
Viewer3D 1.0 Viewer3D.qml
DefaultCameraController 1.0 DefaultCameraController.qml
MayaCameraController 1.0 MayaCameraController.qml
Locator3D 1.0 Locator3D.qml
Grid3D 1.0 Grid3D.qml