Hello,
Let’s say I’ve done the following:
a = slicer.vtkMRMLAnnotationROINode()
slicer.mrmlScene.AddNode(a)
b = slicer.vtkMRMLAnnotationROINode()
slicer.mrmlScene.AddNode(b)
And the user is looking at an image in the red and yellow slices with these 2 ROI’s in the scene. What is a good way to modify how each vtkMRMLAnnotationROINode looks in the scene so that it is obvious to the user which one is a and which one is b?
I thought that doing
a.SetLabelText(“ROI1”)
would make the label ROI1 hover over the vtkMRMLAnnotationROINode a in the scene, but that doesn’t appear to be the case. I also tried
a.SetLineColor([255,0,0])
but I don’t see any change in what the vtkMRMLAnnotationROINode a looks like in the scene.
Thanks,
Rohan Nadkarni