View Issue Details

IDProjectCategoryView StatusLast Update
0004381Slicer4Core: GUIpublic2017-06-10 17:17
ReporterlassoanAssigned To 
Status newResolutionopen 
Product VersionSlicer 4.7.0 
Target VersionFixed in Version 
Summary0004381: Center 3D view button and 'r' key make the view centered slightly differently

Currently pressing r and hitting the center view button do subtly different things. It would be better if the behavior would be exactly the same.

Pressing r (built-in VTK reset camera shortcut):

  • Re-centers view around all actors including axis
  • Re-centers by moving camera while keeping it pointing in original direction
  • zooms to distance where whole scene fits nicely in view
  • does not update axis to fit around scene

Pressing center view button:

  • Re-centers view around all actors except for axis
  • Re-centers by pointing camera in new direction but not changing its location
  • does not adjust zoom
  • updates axis to fit around scene

Current center view button behavior is close to what we need, the only thing that may be considered is to adjust the zoom, but it seems to work well enough without that. So, the fix may be as easy as remapping 'r' key to qMRMLThreeDView::resetFocalPoint().

TagsNo tags attached.


related to 0004209 resolvedjcfr center view button does not update clipping distance 


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-06-10 17:15 lassoan New Issue
2017-06-10 17:17 lassoan Relationship added related to 0004209