I would like to synchronize 2 renderWindows (or more). Any mouse move from one will be apply to the others.
I have imagined to capture the camera from one renderWindow and then apply it to the other but I cannot trigger an event like EndMouseMove.
I have read this example (https://vtk.org/Wiki/VTK/Examples/Python/Interaction/MouseEventsObserver) that seems to be a solution but I cannot find the addObserver method on vtkRenderWindowInteractor in vtk.js.
Any idea or a simple vtk.js example to point me out ?
You need to be careful with reusing the same camera in multiple views, as clipping range is stored in the camera object and the values are not the same, if the size of the render windows are not exactly the same or if they don’t show the exact same content.