On Tue, Jul 12, 2011 at 11:46:57AM +0200, pellegrini wrote:
> I read the good example provided by Gael (select_red_balls.py) in the 
> mayavi documentation. Starting from this, I could select a point from my 
> scene but I did not manage to:

>     - pick up several points drawing an outline box for each of them

I do not know how to do that easily with VTK.

>     - remove an outline box by reclicking on a previously outlined point 
> (a kind of deselection)

That should be easily doable. It'ss just a question of writing the right 
callabck that checks to see if a point is already selected, and removes
it from the selection list, also removing the corresponding outline.

HTH,

Gaƫl

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to