[vtkusers] Determining vtkActors from point in space

Robbie Banks robbie.banks at gmail.com
Tue Mar 30 18:35:29 EDT 2010


Thanks for that.

I think my problem is that the Picker is looking for a pixel location within
the renderer?

The location I have is from the model geometry. Any ideas on how to resolve
this, if this is the problems?

Robbie

-----Original Message-----
From: daviddoria at gmail.com [mailto:daviddoria at gmail.com] On Behalf Of David
Doria
Sent: Tuesday, March 30, 2010 2:53 PM
Cc: Robbie Banks; vtkusers at vtk.org
Subject: Re: [vtkusers] Determining vtkActors from point in space

On Tue, Mar 30, 2010 at 5:17 PM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> Make a vtkPicker instead of the Abstract class, then call the
> vtkPicker::GeActors() to get a list of all the actors that are
> underneath the pixel.
>
> David E DeMarle

Robbie,

Here is an example:
http://www.vtk.org/Wiki/VTK/Examples/Interaction/SelectAnActor

Thanks,

David




More information about the vtkusers mailing list