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

Before that, though, you can try changing the pipeline time to see if it helps:

self.mesh.DataHasBeenGenerated()