<div dir="ltr">I haven't seen it fail in a long time so I can not say what is wrong.<div><br></div><div>In order for us to help you will have to provide a small sample of code so we can replicate the problem.<div><br></div><div>ParaView uses the same hardware selector, it just has extra layers of complexity on top because of its client/server parallel render windows. Thus there must be something different in the setup it does from what your program does.</div></div><div><br></div><div>hope that helps</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Tue, Nov 11, 2014 at 10:38 PM, Xianliang.Zeng <span dir="ltr"><<a href="mailto:xjtuzxl@163.com" target="_blank">xjtuzxl@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Thanks very much.</div><div><br></div><div>vtkHardwareSelector seems to select point sometimes wrong, but it works very well with cell.</div><div>Why doesn't paraview have such problem about selecting points?</div><div><div class="h5"><br><div></div><div></div><br>At 2014-11-10 23:58:24, "David E DeMarle" <<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>> wrote:<br> <blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr">VTK won't render UnstructuredGrid (UG) directly (other than in volume rendering) either.<div><br></div><div>So, apply the vtkDataSetSurface (DSSF) filter to convert the outer skin of the UG data into a vtkPolyData and render+select that.</div><div><br></div><div>The PassThough*Ids methods on the DSSF are there to maintain the correspondence of input cells to output cells so that you can figure out what exactly was selected in the UG.</div><div><br></div><div>cheers<br><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div></div>
<br><div class="gmail_quote">On Mon, Nov 10, 2014 at 12:48 AM, Xianliang.Zeng <span dir="ltr"><<a href="mailto:xjtuzxl@163.com" target="_blank">xjtuzxl@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello</div><div><br></div><div>I want to select cells in a vtkUnstructuredGrid data, and I created a vtkHardwareSelector for it. And then I found nothing can be selected.</div><div>By the way, I test the vtkHardwareSelector with a vtkPolyData, and it works well. </div><div>So, why <span style="line-height:23.7999992370605px">can't</span><span style="line-height:1.7"> vtkHardwareSelector select cells from vtkUnstructuredGrid? </span></div><div><span style="line-height:1.7"><br></span></div><div><span style="line-height:1.7">Best regards,</span></div><div><span style="line-height:1.7">Shane</span></div></div><br>_______________________________________________<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/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_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div></blockquote></div><br></div>