Hi Lars,<br><br>Currently it is not possible with paraview-python.  But you can make it work using vtk-python (which looks very similar to your c++ example.)  See  this email:<br><br><a href="http://markmail.org/message/sjt6pbkyc56l2wgl">http://markmail.org/message/sjt6pbkyc56l2wgl</a><br>
<br>Pat<br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 5:00 PM, Lars Freemail <span dir="ltr">&lt;<a href="mailto:larsfreemail@yahoo.de">larsfreemail@yahoo.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear all,<br>
I started with a simple python scripting example as described in this paragraph:<br>
<a href="http://www.paraview.org/Wiki/ParaView/Python_Scripting#Rendering" target="_blank">http://www.paraview.org/Wiki/ParaView/Python_Scripting#Rendering</a><br>
<br>
Unfortunately I don&#39;t see any possibility to interact with the render window<br>
using the mouse (to rotate the camera, zoom, pan, ...) as I did before in C++:<br>
<br>
...<br>
// an interactor<br>
vtkRenderWindowInteractor *iren = vtkRenderWindowInteractor::New();<br>
iren-&gt;SetRenderWindow(renWin);<br>
// add actors<br>
ren1-&gt;AddActor(...);<br>
// render an image<br>
renWin-&gt;Render();<br>
// begin mouse interaction<br>
iren-&gt;Start();<br>
<br>
Is it possible to use mouse interaction in combination with python scripting?<br>
<br>
Thanks<br>
Lars<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote></div><br>