[vtkusers] vtkpolydata - get boundary for points

Alex Malyushytskyy alexmalvtk at gmail.com
Wed Mar 20 19:29:36 EDT 2013


Keep in mind that recommended vtkHull will create a convex shape which
is not always what you want.
Simple example would be running such algorithm over vertexes of the
star. Result would be pentagon, you will lose some boundary points. To
deal with such cases you need to know more about of the nature of how
points are created,
I such knowledge allows you to determine which points are belong to
one surface you might
reconstruct surface yourself . For example if you know that such
points belongs to building and all walls are vertical, you can fairly
precise reconstruct shape of the building.

Regards,
           Alex

On Wed, Mar 20, 2013 at 9:29 AM, Ricardo A Corredor
<ra.corredor at gmail.com> wrote:
> Hi,
>
> Is the convex hull (http://en.wikipedia.org/wiki/Convex_hull) of the points
> what you want? Maybe this example of vtkHull
> (http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ConvexHull_vtkHull) can
> help you to obtain the boundary points. Then you just put the points into
> the polyline.
>
> Good luck!
>
> RaC
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/vtkpolydata-get-boundary-for-points-tp5719462p5719466.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://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list