View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003718 | Slicer4 | Core: GUI | public | 2014-05-28 09:40 | 2018-03-02 11:06 |
Reporter | ungi | Assigned To | nicole | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.4.0 | Fixed in Version | Slicer 4.4.0 | ||
Summary | 0003718: Slice intersection do not appear unless slice shown in 3D view | ||||
Description | Slice intersections are only visible when the slices are visualized in the 3D view. To reproduce:
Slice intersection visibility should be independent of slice visibility in 3D view. | ||||
Tags | No tags attached. | ||||
Alex, please have a look. Thanks |
|
Nicole, the logic for this issue is in: I am not sure about the reasoning behind this logic that you added, so I am reassigning to you |
|
My change[1] was to not show model slice intersections if the model wasn't visible. |
|
vtkMRMLSliceLogic has IsSliceModelNode |
|
That method is static, you should be able to call it without instantiating the logic: |
|
Also check if it fixes 0003462 |
|
Working on setting an attribute on the display node, then checking for it in a new method on the slice logic before applying the visibility check. |
|
Make also sure that, when loaded, existing scene will set that attribute. Otherwise, all existing MRB won't work as expected. Instead, would it make sense to:
|
|
Fixed in svn 23495: |
|
This doesn't fix 3462. |
|
@Nicole: Could you comment on http://na-mic.org/Mantis/view.php?id=3718#c12283 ? Thanks |
|
JC: didn't see your comment before my commit, have to run, will double check that first thing tomorrow. |
|
@jcfr: the nodes aren't saved with the scene, they're created on the fly when node added events are detected. Testing with legacy mrbs and mrml files shows it's working. |
|
Great. Thanks for checking. |
|
I did notice that the slice intersections weren't updating as I scrolled in one test. |
|
@Nicole: when you say "did notice ... weren't" does that mean that the current trunk is broken or that it was broken before your recent fix? |
|
Broken before my fix, when checking bug 3462. |
|
Sorry, but to clarify: are you saying that the issue is now fixed or not (just trying to sort out the what is present tense and what is past tense) |
|
The issue is not fixed, it's still reproducible this morning - I did the steps to reproduce issue 3462, turning on slice intersections and showing the red slice in 3D before running model maker. As soon as model maker finished, the yellow and green slice intersections disappeared from 2d and the yellow and green slices don't show up when I toggle them on in 3d. Slicer is also leaking on exit now. |
|
Import 2017-06-07 23:51:09: master ef07eaa4 2014-07-29 18:57:32 naucoin Details Diff |
BUG: fix logic on showing slice intersections Added an attribute (and a name) for the volume slice model display nodes and check for it in a new slice logic static method. If it's not a volume slice model display node, use the visibility of the regular model to determine if should show the slice intersections, otherwise rely on the slice intersections visible flag. Issue 0003718 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23495 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/DisplayableManager/vtkMRMLModelSliceDisplayableManager.cxx | Diff File | ||
mod - Libs/MRML/Logic/vtkMRMLSliceLogic.cxx | Diff File | ||
mod - Libs/MRML/Logic/vtkMRMLSliceLogic.h | Diff File | ||
Import 2017-06-07 23:51:09: master b90c5068 2014-07-30 12:13:41 naucoin Details Diff |
BUG: fix typo in volume slice model attribute Issue 0003718 git-svn-id: http://svn.slicer.org/Slicer4/trunk@23516 3bd1e089-480b-0410-8dfb-8563597acbee |
||
mod - Libs/MRML/Logic/vtkMRMLSliceLogic.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-05-28 09:40 | ungi | New Issue | |
2014-05-28 10:04 | pieper | Status | new => assigned |
2014-05-28 10:04 | pieper | Assigned To | => alexy |
2014-05-28 10:05 | pieper | Note Added: 0011977 | |
2014-06-03 10:38 | jcfr | Target Version | => Slicer 4.4.0 |
2014-06-10 06:37 | alexy | Note Added: 0012040 | |
2014-06-10 06:37 | alexy | Assigned To | alexy => nicole |
2014-07-22 12:20 | nicole | Note Added: 0012221 | |
2014-07-22 12:32 | nicole | Note Added: 0012222 | |
2014-07-29 11:28 | jcfr | Note Added: 0012272 | |
2014-07-29 11:34 | jcfr | Note Added: 0012273 | |
2014-07-29 14:43 | nicole | Note Added: 0012282 | |
2014-07-29 14:58 | jcfr | Note Added: 0012283 | |
2014-07-29 15:08 | nicole | Note Added: 0012284 | |
2014-07-29 15:08 | nicole | Status | assigned => resolved |
2014-07-29 15:08 | nicole | Fixed in Version | => Slicer 4.4.0 |
2014-07-29 15:08 | nicole | Resolution | open => fixed |
2014-07-29 15:13 | nicole | Note Added: 0012285 | |
2014-07-29 15:21 | jcfr | Note Added: 0012287 | |
2014-07-29 15:21 | nicole | Note Added: 0012288 | |
2014-07-30 08:03 | nicole | Note Added: 0012292 | |
2014-07-30 08:04 | jcfr | Note Added: 0012293 | |
2014-07-30 08:25 | nicole | Note Added: 0012295 | |
2014-07-31 03:36 | pieper | Note Added: 0012309 | |
2014-07-31 06:01 | nicole | Note Added: 0012310 | |
2014-07-31 06:13 | pieper | Note Added: 0012311 | |
2014-07-31 06:40 | nicole | Note Added: 0012312 | |
2017-06-10 08:51 | Changeset attached | => Slicer master b90c5068 | |
2017-06-10 08:51 | Changeset attached | => Slicer master ef07eaa4 | |
2018-03-02 11:06 | jcfr | Status | resolved => closed |