View Issue Details

IDProjectCategoryView StatusLast Update
0003476Slicer4Core: Base Codepublic2016-07-18 16:33
Reporterjohan.andruejol Assigned Tojcfr  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.3.0 
Target VersionSlicer 4.5.0-1Fixed in VersionSlicer 4.4.0 
Summary0003476: Display the slice(s) in one 3D view and not another
Description

So far, it is possible whether a node is displayed in a 3D view using the
vtkMRMLDisplayNode methods AddViewNodeID and RemoveNodeID.
However, a vtkMRMLSliceNode isn't a display node (nor a displayable node). It is impossible to choose if a slice widget is displayed or not in only a given 3D view and not in another. It's either all or none.

Additional Information

Ideas for a fix:

  • Make the vtkMRMLSliceNode inherit from vtkMRMLDisplayNode
  • Associate a display node to the vtkMRMLSliceNode

Hack to make it work:
To make this work, I added a displayable manager that does exactly the same thing
as the vtkMRMLThreeDReformatDisplayableManager expect that it doesn't enable the
plane widget in some views. The vtkMRMLThreeDReformatDisplayableManager was unregistered in my module and the my hackish displayable manager registered instead.

TagsNo tags attached.

Relationships

related to 0004187 feedbackmayeul.chassagnard vtkMRMLDisplayNode - RemoveViewNodeID does not work. 

Activities

nicole

nicole

2014-04-14 13:10

administrator   ~0011589

Note: the update to the display node view combo box means that it can be used to control view visibility for Volume Slices:
http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=23086

jcfr

jcfr

2015-11-02 05:13

administrator   ~0013478

Functionality has been added in r23010

See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=23010

//------------
ENH: Add ThreeDViewIDs property to slice node

This does basically what the property ViewNodeIds does for the display
nodes, it allows the user to choose in which view a slice node can or
cannot be displayed.
//------------

Issue History

Date Modified Username Field Change
2013-11-05 08:50 johan.andruejol New Issue
2013-11-05 08:50 johan.andruejol Status new => assigned
2013-11-05 08:50 johan.andruejol Assigned To => jcfr
2013-11-05 08:56 jcfr Target Version => Slicer 4.4.0
2014-04-14 13:10 nicole Note Added: 0011589
2014-07-29 09:47 jcfr Target Version Slicer 4.4.0 => Slicer 4.5.0-1
2015-11-02 05:13 jcfr Note Added: 0013478
2015-11-02 05:13 jcfr Status assigned => resolved
2015-11-02 05:13 jcfr Fixed in Version => Slicer 4.4.0
2015-11-02 05:13 jcfr Resolution open => fixed
2015-11-02 05:13 jcfr Status resolved => closed
2016-07-18 16:33 jcfr Relationship added related to 0004187