On Wed, Mar 12, 2014 at 10:07:25PM +0100, Benjamin Hervy wrote:
> For example, when I want to zoom on a particular node in the graph, I retrieve
> x,y,z coordinates of the node and send
> sock.sendto('camera.view(focalpoint=(str(x)+','+str(y)+','+str(z)+'))', '',
> 9008) ) to focus on the particular 3D point in the scene.

> Where view() function is defined based on the doc : http://docs.enthought.com/
> mayavi/mayavi/auto/mlab_camera.html

The page that you reference describes mlab.view, not camera.view.

Gaƫl

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to