Import 2017-06-07 23:51:09: master 91cfdee5

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-06-22 14:12:06 master b1f28404
Changeset

ENH: Expose SH plugin "setDisplayVisibility()" method to python

This commit will allow scripted module to update the visibility
associated with a given SubjectHierarchy node doing the following:

shNode = [...]
shPluginHandler = slicer.qSlicerSubjectHierarchyPluginHandler.instance()
shPlugin = shPluginHandler.getOwnerPluginForSubjectHierarchyNode(shNode)
shPlugin.setDisplayVisibility(shNode, visible)

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24353 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Modules/Loadable/SubjectHierarchy/Widgets/qSlicerSubjectHierarchyAbstractPlugin.h Diff File
mod - Modules/Loadable/SubjectHierarchy/Widgets/qSlicerSubjectHierarchyPluginHandler.h Diff File