[vtk-developers] Timer in vtkOpenVRRenderWindowInteractor
joachim.pouderoux at kitware.com
Thu Oct 19 12:16:43 EDT 2017
As far as I can see in the current code of vtkOpenVRRenderWindowInteractor
does not support timers.
*Joachim Pouderoux*, PhD
*Technical Expert - Scientific Computing Team*
*Kitware SAS <http://www.kitware.fr>*
2017-10-17 1:24 GMT-04:00 Florence8627 <florence.wang at csiro.au>:
> I am having issues in creating a repeating timer with
> I definied a vtkTimerCallback class just like how timer is used in normal
> vtkRenderWindowInteractor Then, // assuming iren is the interactor pointer
> vtkNew<vtkOpenVRRenderWindowInteractor> iren;
> // Sign up to receive TimerEvent
> vtkSmartPointer<vtkTimerCallback2> cb =
> iren->AddObserver(vtkCommand::TimerEvent, cb);
> It seems after start() is called the timer is blocked. Does anyone have any
> clue how to run a timer in vtkOpenVR module ? Or anyway of doing animation
> in vtkOpenVR module?
> Thanks !
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtk-developers