[vtkusers] vtkCellPicker and "thin" objects

Robert Dean bob.dean at gmail.com
Thu Sep 20 15:49:25 EDT 2012


Hello,

I have two styles of actors in my scene. the first is a height map using
0.1 m square cells representing the world seen by a robot sensor. On top of
this I place planes representing detected walls.  Both the grid cells and
walls are drawn using triangle strips.  So the wall consists of a plane
made up of 4 points.

With vtkCellPicker I can pick the cells in the height map with no
difficultly. But I can only select a subset of the walls.  I think the
cause is that the walls are planes, and therefore too skinny for the picker
to pick. I tried changing the picker tolerance, but it actually made the
problem worse.

Does this logic make sense? I am tempted to render the walls as skinny
boxes to see if it makes a difference.

-Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120920/38f235bb/attachment.htm>


More information about the vtkusers mailing list