[vtkusers] set an actor to be not pickable?

Amy Squillacote ahs at cfdrc.com
Wed Aug 6 12:53:12 EDT 2008


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.
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>   

-- 
Amy Squillacote                    Phone: (256) 726-4839
Computer Scientist                 Fax: (256) 726-4806
CFD Research Corporation           Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL  35805





More information about the vtkusers mailing list