<P>My java-vtk program has a GUI and use vtkPanel as the platform of rendering.</P>
<P>I use a instance of vtkUnstructuredGrid to render a group of ellipsoids. To do this, I give the instance&nbsp;a group of points, each of which is associated with a tensor. So one point and one tensor associated with correspond to an ellipsoid. All the ellipsoids&nbsp;&nbsp;are rendered by only one vtkActor. Now what I want to do is, when I&nbsp;click one ellipsoid with mouse in the vtkPanel window, the program should tell me which ellipsoid I have picked. </P>
<P>How can I do this?</P>
<P>I cannot use vtkCellPicker because each time the cellId returned is always -1. vtkPicker can also not be used here because the function only returns a list of Actors instead of a specific object of the Actor. </P>
<P>One clumsy way can probably solve this problem --- assigning&nbsp;one actor to each of the ellipsoid.&nbsp;Then I can use vtkPicker to pick any of the ellipsoid. I am not ready to adopt this method because it makes the "light" ellipsoids much more "heavy".</P>
<P>Could you give me an idea, with which I can not only render the group of ellipsoids in a window but also pick up any of the ellipsoid in a decent way. Thanks a lot in advance.</P>
<P>Regards</P>
<P>Lian</P>
<P>&nbsp;</P><p><br><hr size=1><b>Do You Yahoo!?</b><br>
<a href="$rd_url/tag/http://movies.yahoo.com/">Yahoo! Movies</a> - coverage of the 74th Academy Awards®