Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002003 [Slicer4] Core: MRML minor always 2012-05-09 03:34 2012-08-22 09:56
Reporter jcfr View Status public  
Assigned To pieper
Priority normal Resolution open  
Status assigned   Product Version
Summary 0002003: Using "JumpAllSlices" doesn't update the slicer associated with used Slice node
Description Using the following python code, we can observe that the Red slices isn't updated.

lm = slicer.app.layoutManager()
r = lm.sliceWidget("Red")
l = r.sliceLogic()
n = l.GetSliceNode()
n.JumpAllSlices(10, 10, 10)
n.JumpAllSlices(0, 0, 0)
n.JumpAllSlices(20, 20, 20)

The same thing happens for the Green slice if the node associated with the green slice is used.
Additional Information
Tags No tags attached.
Attached Files

- Relationships
related to 0001200closednicole JumpAllSlices resets field of view on the SliceNodes 

-  Notes
(0004226)
nicole (administrator)
2012-05-09 10:56

Known behaviour, you have to call JumpSlice on the node which you're calling it on to get that slice jumped. See line 1242 in vtkMRMLSliceNode:
if ( node != NULL && node != this )
Possible fix: rename JumpAllSlices to JumpAllOtherSlices and add JumpAllSlices that calls JumpSlice and JumpAllOtherSlices.

- Issue History
Date Modified Username Field Change
2012-05-09 03:34 jcfr New Issue
2012-05-09 03:34 jcfr Relationship added related to 0001200
2012-05-09 03:35 jcfr Status new => assigned
2012-05-09 03:35 jcfr Assigned To => nicole
2012-05-09 10:56 nicole Note Added: 0004226
2012-05-09 10:56 nicole Assigned To nicole => pieper
2012-08-22 09:56 jcfr Target Version => Slicer 4.3.0


Mantis 1.1.4[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker