Commit graph

12 commits

Author SHA1 Message Date
Candice Bentéjac
9d2974d282 [Viewer3D] Clean-up: Harmonize syntax across all the files 2023-11-06 16:28:20 +01:00
Candice Bentéjac
423de8ccfe [qml] Qt5.15: Upgrade all Qt3D modules 2023-07-03 12:11:31 +02:00
Candice Bentéjac
9b5dd40b02 [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
Julien-Haudegond
f746f0bf9e [ui] Viewer3D: TransformGizmo - better mouse control 2020-08-13 14:24:44 +02:00
Julien-Haudegond
d0a78d96ab [ui] Viewer3D: TransformGizmo - ready to be set with absolute values
- Now, we can set the transformation with a position vector, Euler angles and a scale vector.
2020-08-13 14:24:44 +02:00
Julien-Haudegond
da765a5f98 [ui] Viewer3D: TransformGizmo - moving transform operations to Python
- Moving transform operations from QML to Python to get access to more Qt functionalities and to make a better separation of logic/display.
2020-08-13 14:24:44 +02:00
Julien-Haudegond
b234a766a9 [ui] Viewer3D: TransformGizmo - removing FrameAction
- Moving the mouse's dependent events inside the MouseHandler and removing the FrameAction.
- MouseHandler is only enabled when the gizmo is selected. There is no infinite loop waiting for an event.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
bdf9d74ec8 [ui] Viewer3D: TransformGizmo - cleaning and renaming 2020-08-13 14:22:19 +02:00
Julien-Haudegond
fb3b541a7f [ui] Viewer3D: TransformGizmo - new mouse handling translation
- Translations are computed using the dot product between the mouse vector (picked position to current position) and the projected picked axis vector. Like this, the behaviour is a lot more natural and user-friendly.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
29c4be6210 [ui] Viewer3D: TransformGizmo - use one global FrameAction
- Use only one global FrameAction instead of having one per axis
2020-08-13 14:22:19 +02:00
Julien-Haudegond
6a9f229838 [ui] Viewer3D: TransformGizmo - individual color picking 2020-08-13 14:22:19 +02:00
Julien-Haudegond
45fae981ba [ui] Viewer3D: TransformGizmo - add picking and transformations
- For now, transformations do not take well in count the orientation of the mouse but gizmo is functional.
2020-08-13 14:22:19 +02:00