#NEWLINE# def setActiveVolume( self , volumeID ) : #NEWLINE# #INDENT# ' Set the current volume as active and try to load the preexisting associated structures\n        (labelmaps, CLI segmented nodes, numpy arrays...)\n        :param volumeID:\n        :return:\n        ' #NEWLINE# self . currentVolume = slicer . util . getNode ( volumeID ) #NEWLINE# fiducialsNode = self . getFiducialsListNode ( volumeID ) #NEWLINE# markupsLogic = slicer . modules . markups . logic ( ) #NEWLINE# markupsLogic . SetActiveListID ( segmentedNodeName ) #NEWLINE# labelmapName = ( self . currentVolume . GetName ( ) + self . __SUFFIX__SEGMENTED_LABELMAP ) #NEWLINE# self . currentLabelmap = slicer . util . getNode ( labelmapName ) #NEWLINE# segmentedNodeName = ( self . __PREFIX_INPUTVOLUME__ + self . currentVolume . GetID ( ) ) #NEWLINE# self . cliOutputScalarNode = slicer . util . getNode ( segmentedNodeName )