View Issue Details

IDProjectCategoryView StatusLast Update
0004381Slicer4Core: GUIpublic2017-09-27 12:21
ReporterlassoanAssigned Tojcfr 
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Product VersionSlicer 4.7.0 
Target VersionbacklogFixed 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.

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