TypeError: Function takes 2 positional arguments but 3 were given

A transform is always attached to a node, but you can add an observer to a transform and update selected points in the callback function.

Breach warning module in SlicerIGT extension is developed exactly for this purpose (for example, it is used extensively for navigated breast tumor resection).

1 Like