# Differentiating between 2 vtkMRMLAnnotationROINodes

**URL:** https://discourse.slicer.org/t/differentiating-between-2-vtkmrmlannotationroinodes/12727
**Category:** Development
**Created:** [July 25, 2020, 12:02am UTC](https://discourse.slicer.org/t/differentiating-between-2-vtkmrmlannotationroinodes/12727 "2020-07-25T00:02:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rohan\_n](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rohan_n/32/78474_2.png) [@rohan\_n](https://discourse.slicer.org/u/rohan_n)
#### Post date: [July 25, 2020, 12:02am UTC](https://discourse.slicer.org/t/differentiating-between-2-vtkmrmlannotationroinodes/12727/1 "2020-07-25T00:02:49Z")

</div>

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

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [July 25, 2020, 12:33am UTC](https://discourse.slicer.org/t/differentiating-between-2-vtkmrmlannotationroinodes/12727/2 "2020-07-25T00:33:24Z")

</div>

vtkMRMLAnnotationROI does not have labels and cannot be recolored. It will not be improved any further but we will add markups ROI node instead (probably within a couple of months), which will have all these and many more features. You can track the status of this effort [here](https://github.com/Slicer/Slicer/issues/5061).
