[vtkusers] [python-vtk] how to set the duration of vtkRenderWindowInteractor timers?

Jelle Ogard jelleogard at ymail.com
Wed Aug 19 05:53:24 EDT 2009


Hello,
I'd like to use timers in python-vtk (Ubuntu package python-vtk 5.0.3) similar to these (C++) vtkRenderWindowInteractor functions
- CreateTimer
- CreateOneShotTimer
- CreateRepeatingTimer
- SetTimerDuration

Unfortunately, the python wrapper of vtkRenderWindowInteractor has no Timer related function except for CreateTimer (which doesn't take a duration argument) and DestroyTimer.
What is the proper use of these functions to start a timer with a certain duration (either repeating or one-shot)?

Cheers
Jelle



      



More information about the vtkusers mailing list