View Issue Details

IDProjectCategoryView StatusLast Update
0004209Slicer4Core: GUIpublic2018-03-02 11:01
Reporterhastings.greer Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.6.0 
Target VersionSlicer 4.7.0Fixed in VersionSlicer 4.7.0 
Summary0004209: center view button does not update clipping distance
Description

The "center view" button does not update the clipping distance, which can cause parts of the scene to fail to render.

Steps To Reproduce

Start slicer, zoom out from bounding box, middle click and drag bounding box to side of screen, click center view.

Bounding box disappears.

TagsNo tags attached.

Relationships

related to 0003165 assignedhastings.greer change the SetPosition method to always call resetclippingrange after the position was changed 
related to 0004221 assignedhastings.greer Refactor qMRMLThreeDView and vtkThreeDViewInteractorStyle to put logic into common class, vtkMRMLThreeDViewLogic 
related to 0004381 assignedjcfr Center 3D view button and 'r' key make the view centered slightly differently 

Activities

hastings.greer

hastings.greer

2016-06-17 11:56

developer   ~0013985

Last edited: 2016-06-17 12:01

View 3 revisions

Currently pressing r and hitting the center view button do subtly different things, thoughts on modifying the behavior of one or both and refactoring so that they call the same function and have the same effects?

Pressing r:

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

Since both serve to recenter the view, these differences are likely confusing to the user.

jcfr

jcfr

2016-06-17 12:11

administrator   ~0013986

Last edited: 2016-06-17 12:12

View 3 revisions

Nice summary

re: refactoring so that they call the same function and have the same effects?

That would be great

I suggest we generalize the behavior associated with "Pressing center view button"

lassoan

lassoan

2017-06-10 17:06

developer   ~0014739

Fixed in r26080. Even without adjusting the zoom value, something is always visible when the center button is pressed (except sometimes when two small, very distant objects are loaded because then there is nothing in the middle).

lassoan

lassoan

2017-06-10 17:16

developer   ~0014740

Added a new issue to resolve slight inconsistency between center view button and 'r' key - see 0004381.

Issue History

Date Modified Username Field Change
2016-06-16 18:55 hastings.greer New Issue
2016-06-16 18:55 hastings.greer Status new => assigned
2016-06-16 18:55 hastings.greer Assigned To => hastings.greer
2016-06-16 19:03 hastings.greer Relationship added related to 0003165
2016-06-17 11:56 hastings.greer Note Added: 0013985
2016-06-17 12:00 hastings.greer Note Edited: 0013985 View Revisions
2016-06-17 12:01 hastings.greer Note Edited: 0013985 View Revisions
2016-06-17 12:11 jcfr Note Added: 0013986
2016-06-17 12:11 jcfr Note Edited: 0013986 View Revisions
2016-06-17 12:12 jcfr Note Edited: 0013986 View Revisions
2016-06-22 13:24 hastings.greer Relationship added related to 0004221
2016-10-12 15:12 jcfr Target Version Slicer 4.6.0 => Slicer 4.7.0
2017-06-10 17:06 lassoan Assigned To hastings.greer => jcfr
2017-06-10 17:06 lassoan Status assigned => resolved
2017-06-10 17:06 lassoan Resolution open => fixed
2017-06-10 17:06 lassoan Fixed in Version => Slicer 4.7.0
2017-06-10 17:06 lassoan Note Added: 0014739
2017-06-10 17:16 lassoan Note Added: 0014740
2017-06-10 17:17 lassoan Relationship added related to 0004381
2018-03-02 11:01 jcfr Status resolved => closed