Correct way to update a vtkImageData and refresh the render window (renderWindow.Render() not working)

I’ve found a Quick & Dirty fix.

After calling “self.renderWindow.Render()”, do

self.renderWindowInteractor.ProcessEvents()

at the end of the `.update(values)’ method.

Since no events are actually programmed, the window becomes interactive for a few miliseconds and it never freezes, consistently showing the updated visuals.

I’m not marking this as a solution, though. I need a shower after implementing this.


Edit: marked this as the solution, for now.