How to make plane nodes transform/rotate together

Hello, I am trying to find a way to grab 2 planes (generated from markups module) and if I move 1 plane, I can make the other plane move by the identical x,y,z as well as rotation amount

How can I do this programmatically? assuming I have displayNodes of both planes.
Thanks in advance!

After some research, I think the best way to do this would be by adding an observer of some sort to track the movement of one of the planes - then move them in sync. Would this be the way to go?
Any other solutions are also welcome :slight_smile:

You can find an example of how to rotate view planes together (for simulating x-view for heart valve imaging) in SlicerHeart extension’s ValveView module.

1 Like