[vtkusers] set an actor to be not pickable?

Giff zibalmail at gmail.com
Thu Aug 7 03:28:13 EDT 2008


That worked, shame on me who could not find it. Thanks a lot.

G

2008/8/6 Amy Squillacote <ahs at cfdrc.com>

> Try calling PickableOff() on the actors you don't want to be able to pick.
> This method is defined in vtkProp, a superclass of vtkActor.
>
> - Amy
>
> Giff wrote:
>
>> Is it possible?
>> I am using vtkPointPicker to pick some of its vertexes; as a vertex is
>> picked, a new actor is created, to display a sphere on that vertex. When I
>> continue picking, however, I often end up inside some of the spheres rather
>> than on my object. How could I disable the possibility of the spheres to be
>> picked?
>>
>> Thanks a lot in advance.
>> ---------------------------------------------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080807/fa4cac80/attachment.htm>


More information about the vtkusers mailing list