[Paraview] How to determine that some points are inside some closed surfaces or not ?

hengxing pan pmopanhx at gmail.com
Thu Feb 25 22:52:23 EST 2016


Hi, Cory
I have tried to take out the points inside a tube to lines in the same
programmable filter as you, but it turns out that there are always some
points outside the tube which the filter can not get rid of. I have made a
small example for you. Do you have any idea about this situation ?
Hengxing

2016-02-23 22:57 GMT+08:00 Cory Quammen <cory.quammen at kitware.com>:

> Hi,
>
> Please load the attached state file that shows how to find the points
> inside an object. In this case, I use a Point Source to generate the
> points and a Sphere Source to generate the object. The Programmable
> Filter shows how to find the signed distance of points to the nearest
> surface, then threshold those points to select all whose signed
> distance is less than 0.
>
> HTH,
> Cory
>
> On Tue, Feb 23, 2016 at 6:15 AM, hengxing pan <pmopanhx at gmail.com> wrote:
> > Hi,all
> >
> > I wrote the lines.vtk in binary format and the points.vtk in ASCII format
> > according to www.vtk.org/VTK/img/file-formats.pdf.
> > The attached pictures show the process how I get the tubes(closed
> surfaces
> > which I thought the tubes are) ,then I want to find out the points which
> are
> > inside the tubes (blue area in the view3), but I don't know how to work
> it
> > out.
> > Now I'm desperate for achieving my aim, so please help me if you know
> how to
> > do it !
> > Thank you in advance !
> > pan hengxing
> >
> >
> >
> > _______________________________________________
> > 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 ParaView Wiki at:
> > http://paraview.org/Wiki/ParaView
> >
> > Search the list archives at: http://markmail.org/search/?q=ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/paraview
> >
>
>
>
> --
> Cory Quammen
> R&D Engineer
> Kitware, Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160226/c3644c89/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PointsInsideTubes.pvsm
Type: application/octet-stream
Size: 436467 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160226/c3644c89/attachment-0001.obj>


More information about the ParaView mailing list