[vtkusers] Alternative to vtkDelaunay2D for surface reconstruction or how to get rid of "Edge not recovered, polygon fill suspect"
Oleksandr Malyushytsky
omalyushytskyvtkuser at gmail.com
Mon Oct 15 19:33:16 EDT 2018
I can't help you with alternative and afraid that you can't use
vtkDelaunay2D here, since it assumes that all points lie on 2D plan, while
your points are not.
On Sat, Oct 13, 2018 at 9:35 PM Berti Krüger <berti_krueger at hotmail.com>
wrote:
> Hello everyone.
>
> In my project i have a standard 3D triangle mesh surface where i select
> all vertices which lie inside a region (polygon) which is defined by a
> closed polyline created by an user interaction using the vtkContourWidget:
>
>
> I then create a polygon mesh which has the shape of the vtkContourWidget
> polygon selection contour line plus the selected part of the underlying
> mesh and which lies like a sticker or texture on the the given stl mesh
> surface:
>
>
> For the reconstruction of the surface i use the vtkDelaunay2D filter using
> all the points of the vtkContourWidget polygon and the mesh surface points
> as inputs.
>
> This works absolutely great but depending on the used mesh i sometimes get
> the following error message from the vtkDelaunay2D filter:
>
> *"vtkDelaunay2D (0x556183dcfba0): Edge not recovered, polygon fill
> suspect"*
>
>
> *Does anybody know why this happens and what i can do to get rid of this
> error?*
>
> *While nice, but since i don't necessarily need the delaunay properties,
> is there an alternative to the vtkDelaunay2D filter to get a polygon
> surface mesh given a bunch of points as an input? (points -> surface)*
>
>
> Thank you very much in advance.
>
> Regards,
> Berti
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181015/481a7966/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtk_delaunay.jpg
Type: image/jpeg
Size: 259659 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181015/481a7966/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: selection1.png
Type: image/png
Size: 968853 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181015/481a7966/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtk_delaunay.jpg
Type: image/jpeg
Size: 259659 bytes
Desc: not available
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181015/481a7966/attachment-0003.jpg>
More information about the vtkusers
mailing list