Limit max FPS of vtkRenderWindow


The vtkRenderWindow as well as the vtkRenderWindowInteractor both provide an interface to set the DesiredUpdateRate. This ensures, that I will get at least DesiredUpdateRate (FPS).

Is there a way to limit the maximum FPS achieved by the vtkRenderWindow such that the vtkRenderWindow will not render faster than a given max FPS value, e.g. 30 FPS?

Best Regards,

This cannot be implemented in purely rendering classes, because it requires a timer, which is an application-level feature. An implementation for Qt is available in ctkVTKAbstractView.