<div dir="ltr">Visible surface selection is pixel based and can not pick more than one cell/point per pixel.<div><br></div><div>Frustum selection is geometry based and will pick all points/cells behind the screen region regardless of view resolution, but it can not determine what cells/points are visible and what are not.</div>

<div><br></div><div><br></div><div><div><div><br></div></div></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>R&amp;D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>

Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Tue, Aug 13, 2013 at 2:40 PM, marco <span dir="ltr">&lt;<a href="mailto:piccima@gmail.com" target="_blank">piccima@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi David,<br>
Thank you for your help.<br>
I have some strange behavior of the selection.<br>
If I use a large mesh:<br>
55280 points.<br>
13820 cells.<br>
hitting the s button gives me:<br>
Selection has 289 nodes.<br>
There are 0 points in the selection.<br>
There are 0 cells in the selection.<br>
and not selected part is red.......<br>
But if I zoom and enlarge the window I get:<br>
Selection has 1 nodes.<br>
There are 764 points in the selection.<br>
There are 191 cells in the selection.<br>
<br>
It happens the same if I zoom out the sphere<br>
What is happening?<div class="HOEnZb"><div class="h5"><br>
<br>
On 08/13/2013 07:12 AM, David Doria wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, Aug 12, 2013 at 11:45 PM, marco &lt;<a href="mailto:piccima@gmail.com" target="_blank">piccima@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you very much David,<br>
this is a good example, I need to study it , but I think I can make it work for my needs.<br>
<br>
In this example has been used the vtkInteractorStyleTrackballCam<u></u>eraMarco,<br>
can I use just the camera position and the object position?<br>
<br>
Marco<br>
</blockquote>
You just have to pass the vtkHardwareSelector the renderer - the<br>
interactor style is just used to trigger the event to happen when the<br>
&#39;s&#39; key is pressed. You can trigger it however you want.<br>
<br>
David<br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_<u></u>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/<u></u>listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>