[vtkusers] how to pick vtkActor2D?

vidyadhar vidyadhar at lucidindia.net
Sat Mar 26 03:55:13 EST 2005


Hi,
Unlike the vtkCellPicker, vtkPropPicker does not have a SetTolarance method.
This is a problem which I am also facing. So far I could not find a work
around. I have problems because I have some other widgets also in my seen.
Because of lack of tolarance, the picker seems to always pick this one
object and other objects/widgets are not able to get the pick. Maybe
somebody else on the mailing list could give us some ideas.
Vidyadhar
----- Original Message -----
From: "永强 谭" <yqtan at realss.com>
To: <vtkusers at vtk.org>
Sent: Tuesday, March 22, 2005 2:22 PM
Subject: Re: [vtkusers] how to pick vtkActor2D?


Hi, vidyadhar,

Thank you for your suggestion and it works after I change vtkCellPicker to
vtkPropPicker.
Now comes another question. The vtkPropPicker seams to work in an acurate
way. When the vtkActor2D object that I want to pick is just a thin line, I
find it is not easy to pick. Is there any way to work around this?

yours,

vidyadhar <vidyadhar at lucidindia.net> wrote:
>Hi,
>Try using vtkPropPicker instead of vtkCellPicker.
>Vidyadhar







More information about the vtkusers mailing list