Adding points to Point List Markup becomes progressively slower. It reached multiple seconds to add a point after about 30 points. This does not occur when adding points to e.g. a closed curve.
Please let me know if I can provide any other information. Thanks!
If you add more than one point then I would recommend to do it in one batch: call StartModify, add your points, and call EndModify. This avoids unnecessary updates.
You can play around with the “AddManyMarkupsFiducialTest” test module. To see what performance you can get. For me, time required for adding 50 points without any event optimization takes 280ms, while with StartModify/EndModify it just takes 46ms. Adding 5000 points takes just 234ms.
if you need to visualize more than a few hundred points and you don’t need to interact with each point separately then you may consider using a model node instead. That can visualize hundreds of thousands of points at interactive frame rates.