[vtkusers] vtkSelectEnclosedPoints filter inconsistent output of IsInside method
santosh
scbiradar at gmail.com
Thu Sep 11 08:49:36 EDT 2014
Bill,
Thanks a lot. I get consistent output by setting tolerance to 0.000001.
Thanks for your time and help.
-Santosh
On Thu, Sep 11, 2014 at 5:08 PM, Bill Lorensen [via VTK] <
ml-node+s1045678n5728671h59 at n5.nabble.com> wrote:
> Santosh,
>
> The default tolerance for ray-cell intersection is too large for your
> dataset. The selection algorithm shoots random rays from the test
> point through the surface. Since each call to Update generates
> different random rays, you see varying results. Decrease the tolearce
> and you will get consistent results.
>
> The default tolerate is .001. Try .00001 with your data:
> filter.SetTolerance(.00001)
>
> Bill
>
> On Wed, Sep 10, 2014 at 11:50 AM, santosh <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=5728671&i=0>> wrote:
>
> > Hi Bill,
> > Thanks for trying out my code. As you notice, there is inconsistency in
> the
> > output. Eagerly waiting for your fix to this issue.
> > Santosh
> >
> > On Wed, Sep 10, 2014 at 8:20 PM, Bill Lorensen [via VTK] <[hidden
> email]>
> > wrote:
> >>
> >> I can reproduce the problem with your script. There is something funny
> >> about the repeated calls to getPolydata. If you move that call outside
> >> the loop, it works. However, if you do
> >> filter.Modified() in the loop the error returns. Looks like a bug.
> >> I'll try to track it down.
> >>
> >> Bill
> >>
> >> On Wed, Sep 10, 2014 at 8:29 AM, santosh <[hidden email]> wrote:
> >>
> >> > Hi Bill,
> >> > I have uploaded my Python code.
> >> > check_point_loc.py
> >> > <http://vtk.1045678.n5.nabble.com/file/n5728654/check_point_loc.py>
> >>
> >> > Thanks,
> >> > Santosh
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> http://vtk.1045678.n5.nabble.com/vtkSelectEnclosedPoints-filter-inconsistent-output-of-IsInside-method-tp5728587p5728654.html
> >> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >> > _______________________________________________
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Please keep messages on-topic and check the VTK FAQ at:
> >> > http://www.vtk.org/Wiki/VTK_FAQ
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://public.kitware.com/mailman/listinfo/vtkusers
> >>
> >>
> >> --
> >> Unpaid intern in BillsBasement at noware dot com
> >> _______________________________________________
> >> Powered by www.kitware.com
> >>
> >> Visit other Kitware open-source projects at
> >> http://www.kitware.com/opensource/opensource.html
> >>
> >> Please keep messages on-topic and check the VTK FAQ at:
> >> http://www.vtk.org/Wiki/VTK_FAQ
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://public.kitware.com/mailman/listinfo/vtkusers
> >>
> >>
> >> ________________________________
> >> If you reply to this email, your message will be added to the
> discussion
> >> below:
> >>
> >>
> http://vtk.1045678.n5.nabble.com/vtkSelectEnclosedPoints-filter-inconsistent-output-of-IsInside-method-tp5728587p5728661.html
> >> To unsubscribe from vtkSelectEnclosedPoints filter inconsistent output
> of
> >> IsInside method, click here.
> >> NAML
> >
> >
> >
> > ________________________________
> > View this message in context: Re: vtkSelectEnclosedPoints filter
> > inconsistent output of IsInside method
> > Sent from the VTK - Users mailing list archive at Nabble.com.
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/vtkusers
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://vtk.1045678.n5.nabble.com/vtkSelectEnclosedPoints-filter-inconsistent-output-of-IsInside-method-tp5728587p5728671.html
> To unsubscribe from vtkSelectEnclosedPoints filter inconsistent output of
> IsInside method, click here
> <http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5728587&code=c2NiaXJhZGFyQGdtYWlsLmNvbXw1NzI4NTg3fC01MjQwNjg4MDQ=>
> .
> NAML
> <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>
>
--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkSelectEnclosedPoints-filter-inconsistent-output-of-IsInside-method-tp5728587p5728673.html
Sent from the VTK - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140911/ce8270b4/attachment-0001.html>
More information about the vtkusers
mailing list