<div dir="ltr"><div>Picking example: <br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/Picking">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/Picking</a><br><br>to get picked actor you can use <br>vtkActor *vtkAbstractPropPicker :GetActor();<br>
<br></div>so add call <br><pre class="">vtkActor* actor = picker<span class="">-&gt;</span>GetActor();</pre><div>to the example.<br><br></div><div>Alex<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Sep 9, 2013 at 7:11 AM, noopurp123 <span dir="ltr">&lt;<a href="mailto:noopurphalak007@gmail.com" target="_blank">noopurphalak007@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
I have set of Actors indicating land masses and separate set of actors<br>
indicating boreholes. How can I recognize that I have clicked a particular<br>
actor and retrieve point according to that? I apologize if I am asking<br>
something easy, but I am new to VTK.<br>
<br>
Thanks,<br>
Noopur<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-to-pick-a-point-for-particular-actor-tp5723340.html" target="_blank">http://vtk.1045678.n5.nabble.com/How-to-pick-a-point-for-particular-actor-tp5723340.html</a><br>

Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>