View Issue Details

IDProjectCategoryView StatusLast Update
0000776Slicer3GUIpublic2020-03-12 10:53
Reporternicole Assigned Toyzhang  
PrioritynormalSeveritymajorReproducibilityN/A
Status closedResolutionopen 
Summary0000776: Default location of Ruler widget
Description

Current:
Default position of ruler has end points outside of the default viewing area.

Ron's request:
Position the end points to span the annotation box.
Cons: automatically updated annotation box may cause degenerate boxes (ie one slice is visible)

Reporting module request:
Use click to place the ruler, so nothing will appear by default.
Cons: user may be confused when nothing happens.

Need to integrate with mouse modes.

TagsNo tags attached.

Activities

wjp

wjp

2010-03-23 12:48

administrator   ~0001439

How about an interaction design like this:?

-press a button that says "Create ruler in 3DViewer" (or something)
-button becomes disabled while ruler is being created.
-see mouse modes change to "Place"
-click once in 3D viewer to position one endpoint
-move mouse to see rubberband line between endpoint1 and mouse pointer.
-click again to place second endpoint
-see mouse mode change to "ViewTransform" default.
-and see button become active again.

While endpoints are being actively placed, any leftbuttondown/release events outside of the 3D viewer are ignored.

Eventually, when 3D and Slice Viewer interaction are harmonized, the same interaction design should work in either viewer type -- whichever viewer type got the first click "grabs" the ruler, and second mouse click needs to be specified in either 3D viewer or Slice viewers.

nicole

nicole

2010-03-31 14:00

administrator   ~0001478

I don't think there's a rubberband option in VTK5.6, nor a click to place for the ruler yet.
I reset the default position so it's inside the default annotation box, but it's not clear what we'll be able to do for the 3.6 release.

pieper

pieper

2010-04-16 09:58

administrator   ~0001539

I think the new p-p-^m mode make this lower priority and I would vote for removing the slicer 3.6 tag unless you have a good idea what the behavior should be...

nicole

nicole

2010-04-19 07:30

administrator   ~0001560

I think that I could use the fiducials with a special click to put down a ruler mode and a line between the fiducials to replicate the behaviour Wendy has outlined (which I like!), but at this point it would be a feature request level change. I'd rather have the time to do it correctly after the 3.6 rush, and/or work with Kilian and Yong to do it in the annotation module. Or work with Kitware to extend the VTK level functionality to make both the ruler and the angle widget be click to place.

If I can get the current bounds of the annotation box (changes are in Base/GUI/vtkSlicerViewerWidget.cxx, the BoxAxisBoundingBox) the next question would be, should the new ruler span the bounds as seen from the current camera position, or should it always be running along the same part of the box?

nicole

nicole

2010-04-19 08:32

administrator   ~0001562

Last edited: 2010-04-19 09:00

I've figured out how to get the ruler to appear diagonally across the bounding box now.
The bounding box isn't updating when new widgets are added because the ruler and angle nodes are transformable, not displayable. To be fixed in the miAnnotation module.

nicole

nicole

2010-04-20 14:44

administrator   ~0001600

svn 12846 sets the default ruler position to span the annotation bounding box. Slicer4 annotation can work on the click to place behaviour.

jcfr

jcfr

2020-03-12 10:53

administrator   ~0016661

Closing. Slicer3 is not being developed anymore.

Issue History

Date Modified Username Field Change
2010-03-23 12:38 nicole New Issue
2010-03-23 12:39 nicole Tag Attached: 3.6 Targeted fix
2010-03-23 12:48 wjp Note Added: 0001439
2010-03-31 14:00 nicole Note Added: 0001478
2010-04-16 09:58 pieper Note Added: 0001539
2010-04-16 09:58 pieper Assigned To => nicole
2010-04-16 09:58 pieper Status new => assigned
2010-04-19 07:30 nicole Note Added: 0001560
2010-04-19 08:32 nicole Note Added: 0001562
2010-04-19 09:00 nicole Note Edited: 0001562
2010-04-20 14:44 nicole Note Added: 0001600
2010-04-20 14:45 nicole Status assigned => resolved
2010-04-20 14:45 nicole Resolution open => fixed
2010-04-23 11:25 nicole Assigned To nicole => pohl
2010-04-23 11:25 nicole Status resolved => assigned
2010-04-23 11:25 nicole Resolution fixed => open
2010-04-23 11:25 nicole Tag Detached: 3.6 Targeted fix
2010-05-05 07:17 pohl Assigned To pohl => yzhang
2020-03-12 10:53 jcfr Status assigned => closed
2020-03-12 10:53 jcfr Note Added: 0016661