View Issue Details

IDProjectCategoryView StatusLast Update
0004381Slicer4Core: GUIpublic2020-01-22 12:30
Reporterlassoan Assigned Tojcfr  
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product VersionSlicer 4.7.0 
Target VersionSlicer 5.1.0Fixed in Version 
Summary0004381: Center 3D view button and 'r' key make the view centered slightly differently
Description

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.

Relationships

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

Activities

lassoan

lassoan

2017-09-27 12:21

developer   ~0015177

Implementation is not trivial, as currently vtkThreeDViewInteractorStyle does not have a reference to qMRMLThreeDView.

lassoan

lassoan

2019-11-04 20:20

developer   ~0016296

This remains a problem. It would be nice to remap the button to set zoom factor as well (or at least have an option - e.g., long-click or shift-click - to center&zoom).

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
2017-09-26 10:22 jcfr Assigned To => jcfr
2017-09-26 10:22 jcfr Status new => assigned
2017-09-26 10:23 jcfr Target Version => Slicer 4.7.0
2017-09-27 12:21 lassoan Target Version Slicer 4.7.0 => backlog
2017-09-27 12:21 lassoan Note Added: 0015177
2019-11-04 20:20 lassoan Target Version backlog => Slicer 4.11.0
2019-11-04 20:20 lassoan Note Added: 0016296
2020-01-22 12:30 jcfr Target Version Slicer 4.11.0 => Slicer 5.1.0