Import 2017-06-07 23:51:09: master 0be06929

Author Committer Branch Timestamp Parent
naucoin naucoin master 2015-06-24 09:27:21 master 6aaa218e
Affected Issues 0003196: customization options for fiducials and rulers
Changeset

ENH: add utility method to display node in only 1 view

Since the view node id logic is set up to be backward compatible (no view node
id set means showing in all views), provide a convenience function,
SetDisplayableOnlyInView, that reduces this operation to one call.
It places the calls to remove all view node ids and add the new one inside of
a disable modified events block to avoid flicker.
Added testing.

Issue 0003196

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

mod - Libs/MRML/Core/vtkMRMLCoreTestingMacros.h Diff File
mod - Libs/MRML/Core/vtkMRMLDisplayNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLDisplayNode.h Diff File