[vtkusers] How to pick actor in vtk ?

David Doria daviddoria at gmail.com
Wed Mar 7 07:09:54 EST 2012


On Wed, Mar 7, 2012 at 6:54 AM, ankitramani <ankitvtk at googlemail.com> wrote:
> hi, i am new to vtk and now i need code to read a picked actor...i.e.,
> whenever i click on a render window, i need to get the picked
> actor.....please post the code......thank u.....


Please have a look through:
http://www.vtk.org/Wiki/VTK/Examples/Cxx

There should be an example of just about everything you'd want to do.
Something like this:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/Picking

Should get you started using Pickers.

David



More information about the vtkusers mailing list