On Wed, Feb 16, 2011 at 08:03:49PM +0000, Michele Mattioni wrote:
> Can I then pick each cylinder and change the colour of the selected ones?

Yes. You need to use the point picker, then identify the point id and
find to which clyinder it corresponds, and change the associated scalar. 

The following example might be useful:
http://enthought.github.com/mayavi/mayavi/auto/example_select_red_balls.html
One hint: you have no glyphs, but the individual cylinders play the same
role.

I suspect that, once you get it working, this should be more efficient
than your current way of doing this.

HTH,

G

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to