[vtkusers] Remeshing or: how to get a "better" surface mesh from a vtkCylinderSource
Andrea Borsic
aborsic at ne-scientific.com
Tue May 24 10:45:22 EDT 2016
Hi Norman,
I suggest having a look at ACVD from Creatis
(https://www.creatis.insa-lyon.fr/site/en/acvd.html). This is a
coarsening library for triangulated meshes which is aware of triangle
quality. The package is based on VTK, and it is distributed in the form
of a binary (ACVD.exe for Windows) - which would allow you a quick test
on a vtkPolyData saved to file - and the package is also available in
source form.
I am using it on input surface meshes from medical applications with
success. It might be worth trying it on your own problems. The effort to
get it working should be limited.
Best Regards,
Andrea
P.S. Note that in my experience you can not only coarsen a mesh, but
also increase the original number of nodes ... this might be useful in
the case of the cylinder example.
On 23-May-16 8:40 PM, normanius wrote:
> Hi all
>
> My question is whether it is possible to remesh an existing surface such
> that the original geometry is preserved, but the triangulation has "nice"
> properties.
>
> Let me exemplify my problem with vtkCylinderSource. If you try to extract
> the triangulated surface mesh, you will notice that the triangles of the
> cylinder jacket are very sharp and spread the full height. Have a look at
> the screenshot.
>
> Some filters require a more homogenous triangulation of such a surface. How
> could this be done in VTK?
>
> Thanks!
> Norman
>
> By the way, this is how I extract the triangles of a cylinder source:
>
>
> Screenshot 1: Wireframe of a vtkCylinderSource
> Screenshot 2: Result after remeshing of the cylinder in an external tool
>
> <http://vtk.1045678.n5.nabble.com/file/n5738187/vtkCylinderSource-mesh.png>
> <http://vtk.1045678.n5.nabble.com/file/n5738187/cylinderRemeshedStarCCM%2B.png>
>
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Remeshing-or-how-to-get-a-better-surface-mesh-from-a-vtkCylinderSource-tp5738187.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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
--
++++++++++++++++++++++++++++++++++++
Andrea Borsic Ph.D.
CEO & Founder NE Scientific LLC
Tel: +1 603 676 7450
Web: www.ne-scientific.com
Twitter: https://twitter.com/ne_scientific
More information about the vtkusers
mailing list