Slicer: 2145-support-for-installing-extension-from-file 5577c3a3

Author Committer Branch Timestamp Parent
finetjul finetjul 2145-support-for-installing-extension-from-file 2012-12-31 06:54:04 2145-support-for-installing-extension-from-file 656c2126
Changeset

ENH: Add utility method vtkMRMLDisplayableNode::GetNthDisplayNodeByClass

This new method can be handy because displayable nodes can have multiple
display nodes (e.g. vtkMRMLScalarVolumeNode can have
vtkMRMLScalarVolumeDisplayNode and
vtkMRMLGPURayCastVolumeRenderingDisplayNode at the same time. Annotations
have also typically more than 1 display node: textDisplayNode,
controlPointsDisplayNode...).

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

mod - Libs/MRML/Core/vtkMRMLDisplayableNode.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLDisplayableNode.h Diff File