[vtkusers] How to make the outline actor for picking invisible?

An Jiye an_jiye at hotmail.com
Wed Feb 25 01:51:20 EST 2004


I made some other tests. I think the problem lies in the vtkPropPicker.

In my tests, no matter what actor I added to the renderer and set its
PickableOff, it CAN be picked. This only happens when there is an a pickable
actor lies under the unpickable actor. For example, an isosurface is
pickable, a sphere isn't pickable, when I rotate the camera so that it looks
the sphere is on the pickable surface, I will get the picking position which
belongs to the sphere.

Does it due to the internal picking strategy of vtkPropPicker? Can this be
solved?

An Jiye

----- Original Message ----- 
From: "An Jiye" <an_jiye at hotmail.com>
To: <vtkusers at vtk.org>
Sent: Wednesday, February 25, 2004 2:33 PM
Subject: How to make the outline actor for picking invisible?


> Hi.
>
> When I perform picking by vtkPropPicker, it will pick the outline filter
> sometimes. I have checked the source code of vtkInteractorStyle and got
that
> there does exist this line:
>
> this->OutlineActor->PickableOff();
>
> But strangely, it can be picked.
>
> So how can I make it invisible? I think it doesn't do some help in my
> current application.
>
> Any suggestion will be appreciated.
>
> An Jiye
>
>




More information about the vtkusers mailing list