[vtkusers] How to pick a point for particular actor?
Alex Malyushytskyy
alexmalvtk at gmail.com
Mon Sep 9 16:20:19 EDT 2013
Picking example:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/Picking
to get picked actor you can use
vtkActor *vtkAbstractPropPicker :GetActor();
so add call
vtkActor* actor = picker->GetActor();
to the example.
Alex
On Mon, Sep 9, 2013 at 7:11 AM, noopurp123 <noopurphalak007 at gmail.com>wrote:
> Hi,
> I have set of Actors indicating land masses and separate set of actors
> indicating boreholes. How can I recognize that I have clicked a particular
> actor and retrieve point according to that? I apologize if I am asking
> something easy, but I am new to VTK.
>
> Thanks,
> Noopur
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/How-to-pick-a-point-for-particular-actor-tp5723340.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130909/2ee93856/attachment.htm>
More information about the vtkusers
mailing list