Hi, I've tried this example:
http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/example_pick_on_surface.html#example-pick-on-surface but the coordinates are not print on my console when I click on the figure. My goal is to use Mayavi visual objects and pick one of them. Consider the following code: from enthought.mayavi import mlab from enthought.tvtk.tools import visual # Create a figure f = mlab.figure(size=(500,500)) # Tell visual to use this as the viewer. visual.set_viewer(f) # Even sillier animation. cyl = visual.Cylinder(pos=(0.,0.,0.), radius=8, length=10) cyl2 = visual.Cylinder(pos=(8.,0.,0.,), axis=(0.,4.,5.), radius=4, length=13) cyl3 = visual.Cylinder(pos=(-4.,0.,0.)) I would like to pick one cylinder with the mouse. How can I do it? Regards, Michele
------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev
_______________________________________________ MayaVi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mayavi-users
