<div dir="ltr"><div><div>Hi Bill,<br></div>Thanks for trying out my code. As you notice, there is inconsistency in the output. Eagerly waiting for your fix to this issue.<br></div>Santosh<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 10, 2014 at 8:20 PM, Bill Lorensen [via VTK] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5728663&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I can reproduce the problem with your script. There is something funny
<br>about the repeated calls to getPolydata. If you move that call outside
<br>the loop, it works. However, if you do
<br>filter.Modified() in the loop the error returns. Looks like a bug.
<br>I'll try to track it down.
<br><br>Bill
<br><br></span><span class="">On Wed, Sep 10, 2014 at 8:29 AM, santosh <<a href="http://user/SendEmail.jtp?type=node&node=5728661&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:
</span><div><span class=""><br>> Hi Bill,
<br>> I have uploaded my Python code.
<br>> check_point_loc.py
<br></span>> <<a href="http://vtk.1045678.n5.nabble.com/file/n5728654/check_point_loc.py" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.com/file/n5728654/check_point_loc.py</a>>
<div class='shrinkable-quote'><br>> Thanks,
<br>> Santosh
<br>>
<br>>
<br>>
<br>> --
<br>> View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkSelectEnclosedPoints-filter-inconsistent-output-of-IsInside-method-tp5728587p5728654.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.com/vtkSelectEnclosedPoints-filter-inconsistent-output-of-IsInside-method-tp5728587p5728654.html</a><span class=""><br>> Sent from the VTK - Users mailing list archive at Nabble.com.
<br>> _______________________________________________
<br>> Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br>>
<br>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" 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="nofollow" link="external" 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" rel="nofollow" link="external" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a></span></div><span class=""></div><br><br>--
<br>Unpaid intern in BillsBasement at noware dot com
<br>_______________________________________________
<br>Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" 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="nofollow" link="external" 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" rel="nofollow" link="external" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br>
<br>
</span><hr noshade color="#cccccc" size="1">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><span class="">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
</span><a href="http://vtk.1045678.n5.nabble.com/vtkSelectEnclosedPoints-filter-inconsistent-output-of-IsInside-method-tp5728587p5728661.html" target="_blank" rel="nofollow" link="external">http://vtk.1045678.n5.nabble.com/vtkSelectEnclosedPoints-filter-inconsistent-output-of-IsInside-method-tp5728587p5728661.html</a>
</div><div class="HOEnZb"><div class="h5">
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from vtkSelectEnclosedPoints filter inconsistent output of IsInside method, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></div></div></blockquote></div><br></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkSelectEnclosedPoints-filter-inconsistent-output-of-IsInside-method-tp5728587p5728663.html">Re: vtkSelectEnclosedPoints filter inconsistent output of IsInside method</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>