Hi all,
If you create a markup node(vtkMRMLMarkupsNode) and add control points to it, the control points are named using a default format(“%N-%d”) with respect to the current name of the markup node.
Renaming a markup node doesn’t modify the names of the existing control points of the respective markup. If there was any event in vtkMRMLMarkupsNode or its parents that fires when the node is renamed, I could react to it and update the labels.
I was able to achieve what I wanted using vtkCommand::ModifiedEvent; however, this event also fires for several other cases. I just wanted to ask if there was an event I missed, so that my function is not called for every vtkCommand::ModifiedEvent and is more optimized.
Thanks!