Pat-<br><br>For now use vtkCellPicker (I'll attached the modified C++ file) it works much better. I believe what's going on is the rendering pass made during the picking process is not consistent with the display rendering pass, hence the picking is working badly. I'm going to have to dive deeper into this which my brain is resisting this being early Sunday morning (and I am in Bar Harbor watching the sunrise :-))<br>

<br>Note that David Gobbi is reworking vtkCellPicker and if he hasn't checked it in yet, will do so shortly. By using a locator with the new vtkCellPicker you will get great performance. plus more information than vtkPropPicker can give you.<br>

<br>Let me know if you need more help and I'll give you a call, in the mean time I'll back burner the vtkPropPicker for lines.<br><br>Will<br><br><div class="gmail_quote">On Sat, Jan 23, 2010 at 1:22 PM, pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com">pat.marion@kitware.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I hacked one of the vtk examples to demonstrate the bug.  Attached and copied below.  With the bug, it will only print "Pick success" when the x coordinate of the mouse press is 150.<br>

</blockquote><div><br>...stuff removed....<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><div class="gmail_quote"><div class="im">

On Fri, Jan 22, 2010 at 1:18 PM, pat marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span> wrote:<br></div><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


Using vtkPropPicker::PickProp it is difficult to pick lines (using a vtkLineSource with a vtkPolyDataMapper for example).  Even if I set the line width to 10 pixels, the pick is only successful if I click exactly in the center of the 10 pixel band, as if the hardware picker was not respecting the 10 pixel width.  Can someone that is familiar with this part of vtk verify the bug, or point me in the right direction?<br>


<font color="#888888">
<br>Pat<br>
</font></blockquote></div></div><br>
</blockquote></div><br><br clear="all"><br>
<input id="gwProxy" type="hidden"><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML"></div>