Page MenuHomePhabricator

Direct manipulation gizmo scaling strange
Closed, ResolvedPublic

Description

The direct manipulation widget shows as huge or tiny rings/arrows in function of the dataset. Screenshots will follow.

The size should relatively stable, ideally dependent on the render window size.

Event Timeline

Example of the old scaling: tube radius fixed to "1".
Showing gizmo on two differently sized test images from MITK-Data/DICOMReader.

gizmo-scale-old-1-absolute-size.jpeg (946×723 px, 71 KB)

Fixed behavior scales the tube radius to 4% of the gizmo diameter. This results in the same relative size for big and little objects (relative to those objects).

I guess this behavior is more helpful.

gizmo-scale-new-4-percent-size.jpeg (946×714 px, 58 KB)

User maleike has pushed new remote branch:

bug-19556-gizmo-scale

[5ddf7e]: Merge branch 'bug-19556-gizmo-scale'

Merged commits:

2016-02-10 11:42:17 Daniel Maleike [68a38b]
Scaling gizmo relative to its absolute size