<div dir="ltr">Alex,<div><br></div><div>Can you share the dataset (as a vtm perhaps)? I see if I can reproduce this with ParaView.</div><div><br></div><div>Utkarsh</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 14, 2015 at 12:56 AM Alex Malyushytskyy <<a href="mailto:alexmalvtk@gmail.com">alexmalvtk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font face="Consolas">
I tried to debug selection and found that i</font>n :</div><div><br></div><div>vtkSelection* vtkHardwareSelector::GenerateSelection( unsigned int x1, unsigned int y1,<br>unsigned int x2, unsigned int y2)</div><div><br></div><div>GetPixelInformation(pos, 0); already returns PixelInformation.CompositeID for block which is outside selection frame as a valid </div><div><br></div><div>This means that problem is either within <font face="Consolas">CaptureBuffers() or <font face="Arial">GetPixelInformation()</font></font></div><div>and possibly involves painter or mapper.</div><div>I afraid I will have to give up on this unless I get any suggestion which may help me in finding bug location.</div><font face="Consolas"><div><br></div></font></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 13, 2015 at 5:50 PM, Alex Malyushytskyy <span dir="ltr"><<a href="mailto:alexmalvtk@gmail.com" target="_blank">alexmalvtk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Attempt to upgrade to vtk-6-2-0 did not fix the problem</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 10, 2015 at 10:26 PM, Alex Malyushytskyy <span dir="ltr"><<a href="mailto:alexmalvtk@gmail.com" target="_blank">alexmalvtk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr"><div>Using vtkHardwareSelector with <font face="Consolas">vtkMultiBlockDataSet and </font>vtkCompositePolyDataMapper2 sometimes is producing wrong results.</div><div>I have a <font face="Consolas">vtkMultiBlockDataSet with polydata (sometimes NULL) as blocks.</font></div><div>On the screenshot you can see the simplest geometry which I can reproduce the problem on. Each rectangle there is a separate block.</div><div>It also displays window frame which supposed to define selection.</div><div>As you can see results (in red like colors) There is an extra block selected which is totally outside of the frame.</div><div><br></div><div>Relative functions which do selection and extraction are available in the attachment.</div><div>For some reason if I select a single component - basically by clicking without dragging selection frame, result is always correct.</div><div>Result seems also depends on view angle.</div><div>I tracked that wrong results appear after vtkConvertSelection<span style="color:rgb(0,0,0)">::</span>ToSelectionType in converted to vtkSelectionNode<span style="color:rgb(0,0,0)">::</span>BLOCKS</div><div>vtkSelection. </div><div><br></div><div><br></div><div>I would appreciate any help or ideas. </div><div>I am using vtk-6-1-0.</div><div><br></div><div>Regards,</div><div> Alex</div><font face="Consolas"><p><br></p><div><br></div></font></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div>