Hello!

I am trying to visualize data with ParaView from a Python script.
After creating a render view with paraview.simple.CreateRenderView(),
I set its InteractionMode to '2D', since the data are two-dimensional
and I am not interesting in rotating them.

After loading the data and setting some options, the scripts runs:

    paraview.simple.Render()
    paraview.simple.Interact()

Everything seems to work, but I would like to customize the camera
movements associated with mouse events.
By default, with 2D InteractionMode, I get:

 • left mouse button → Pan
 • middle mouse button → Roll
 • right mouse button → Zoom
 • mouse wheel → Zoom

I would like to change the camera movements associated with these mouse
events.
I searched the documentation about ParaView Python scripting, including
the paraview.simple
[module 
documentation](https://www.paraview.org/ParaView/Doc/Nightly/www/py-doc/paraview.simple.html),
but failed to find any useful hint.

Could someone please tell me where I can find documentation about this
topic?

Thanks for your time!
Bye.


-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpokZjmvdr12.pgp
Description: PGP signature

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview

Reply via email to