<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi all,<br>
</p>
<p><br>
</p>
<p>I saw <span style="font-family:sans-serif; font-size:12.666666984558105px; line-height:19.049999237060547px; background-color:rgb(255,255,255)">
Bryan Conrad</span> provided us a practical example on VTK animation (https://itk.org/Wiki/VTK/Examples/Python/Animation). Now, I'd like to refer this example to animate objects (e.g. sphere or cone) under VTK-Web framework (e.g. vtk_web_cone.py). As far as
I know, "TimerEvent" is used as a timer to trigger an event repeatedly, and this timer is bound to renderWindowInteractor by AddObserver. However, in vtk_web_cone.py, it seems that web server is waiting after the renderWindow is set as an active object. How
can I start the timer? How to integrate the example into vtk_web_cone.py? <span style="font-size:12pt">Any suggestions are welcomed. Thanks in advance.</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Regards,</span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Zhuangming Shen</span></p>
</body>
</html>