I’m curious if there is a way to show particular segmentation nodes on each of four different views in a two over two layout programmatically. An example of doing this for background volumes would be as follows:
volumes_of_interest = [pre_T1, pre_ADC, post_T1, post_ADC] viewNodes = slicer.mrmlScene.getNodesByClass('vtkMRMLSliceCompositeNode') for i,viewNode in enumerate(viewNodes): viewNode.SetBackgroundVolumeID(self.volumesLoad[i].GetID())
In our use case we make unique segmentations on two different MRI sequences before and after an intervention. Being able to view and touch-up all four segmentations would be helpful.
I understand that Segmentations play by different rules. I tried exploring SetDisplayVisibility, but it seems to only act globally on all views.
Any suggestions are much appreciated.