<div dir="ltr">Hi Michael,<div><br></div><div>You say that you're interactor tries to pick a point first, and then if it fails,</div><div>it tries to pick a cell?  So you are using a vtkPointPicker for the first part,</div><div>and a vtkCellPicker for the second part?</div><div><br></div><div>Do you have just one DataSet in the scene, or more than one?  Is each</div><div>"point" in a vtkVertex cell?</div><div><br></div><div>Overall, I don't have a clear enough picture to give you much assistance.</div><div>I can say, however, that vtkPointPicker is not giving you cell points.  In</div><div>VTK 6.1 the vtkPointPicker has no cell code in it whatsoever (you can</div><div>look at the code yourself to see that this is true).</div><div><br></div><div> - David</div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 30, 2014 at 10:18 AM, redmod79 <span dir="ltr"><<a href="mailto:michael.j.redmond@gmail.com" target="_blank">michael.j.redmond@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">David, thank you for your reply.<br>
<br>
My current experience with the vtkPointPicker seems to indicate that the<br>
cell points are on by default.  Or maybe something else fishy is going on.<br>
<br>
I have a finite element mesh with many elements - nodes, bars, tri's, and<br>
quads.  My custom interactor style is set up to pick a node (point) or<br>
element (cell) when the mouse moves.  It first tries a point, and if no<br>
point is selected, it tries a cell.<br>
<br>
When I have my mouse over the center of a cell, it selects the cell as<br>
desired.  When my mouse is near the corner of the cell it selects a point<br>
(not desired).  If I go near each corner of the cell it will select a point<br>
with id's 0, 1, 2, or 3, depending on the cell type and corner I'm in, but<br>
each corner has a unique id (0, 1, 2, or 3), which suggests to be it is<br>
selecting the cell points.  The point doesn't get highlighted because the<br>
code is highlighting the raw point instead of the cell point.  This behavior<br>
is the same for all cells in the mesh.<br>
<br>
If I put my mouse directly over the point, it will highlight the point<br>
correctly as desired.  I'm not sure what to make of this if it isn't<br>
selecting the cell points.<br>
<br>
Thanks for your help.<br></blockquote></div></div></div></div>