How to actively trigger resolution reduction when zooming in and rotating on a tablet?

When the volume image is manipulated on a tablet, the resolution will not be reduced at the beginning, resulting in operations such as zooming and rotating, which will be very laggy. After that, continuous operation will trigger resolution reduction, and the operation will become smoother at this time. But I don’t know what triggered the downgrade. I would like to ask if it is possible to manually trigger the resolution reduction when zooming in and rotating operations?

You can try adjusting renderWindowInteractor.setDesiredUpdateRate(rate). The default value is 30.

After setting the update rate to 1, it becomes more stuttering and does not trigger reducing the resolution. In my software, it also involves adjusting the contrast and brightness of the 3 slices. After setting the update rate to 1, the slices also update the brightness and contrast. became stuck. Or do I need to set the value higher?
my code:

  rendering.interactor = vtk.genericRenderWindow.getInteractor();
  rendering.interactor.setDesiredUpdateRate(1);

Oh, I was interpreting that incorrectly. Try setting it to be a higher number than the framerate you’re getting already. You can listen to interactor.onAnimationFrameRateUpdate(() => console.log(interactor.getRecentAnimationFrameRate()) to get the frame rate, and set your desired frame rate to something larger, which may speed up the rate at which downsampling happens.

If you’re in need of a method for immediate resolution reduction, we can see if that’s something worth adding.