[vtkusers] Triangulate UnstructuredGrid

kenichiro yoshimi rccm.kyoshimi at gmail.com
Mon Mar 13 22:22:50 EDT 2017


Hi,

If you want to smooth the voxel-like surface meshes, how about using
vtkSmoothPolyDataFilter after calling vtkTriangleFilter?
This example should help:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/SmoothPolyDataFilter

I tried vtkSmoothPolyDataFilter with voxel-like surface, and this
worked well (attached code).

Thanks,
yoshimi

2017-03-11 15:55 GMT+09:00 kilop1989 via vtkusers <vtkusers at vtk.org>:
> Hello, i work with UnstructuredGrid and i want to triangulate it like in
> Paraview (when i clicked for model).
> <http://vtk.1045678.n5.nabble.com/file/n5742431/paraview.png>
> <http://vtk.1045678.n5.nabble.com/file/n5742431/paraview-triangulate.png>
> How I can do it?
> I tried vtkDelaunay3D, vtkDelaunay2D and vtkTriangleFilter.
> 1) vtkDelaunay3D
> I transformed UnstructuredGrid to vtkPolyData, after used vtkCleanPolyData
> and vtkDelaunay3D like in
> http://www.paraview.org/Wiki/VTK/Examples/Cxx/Modelling/Delaunay3D. It's not
> worked. It's crushed with warning "vtkMath.cxx: Unable to factor linear
> system".
> 2) vtkDelaunay2D
> Similarry i used vtkDelaunay2D, but result not good for me.
> <http://vtk.1045678.n5.nabble.com/file/n5742431/vtk-delone2d.png>
> 3) Also i use vtkTriangleFilter, it's result not good for me too.
> <http://vtk.1045678.n5.nabble.com/file/n5742431/vtk-triangulate-filter.png>
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Triangulate-UnstructuredGrid-tp5742431.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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smoothing_sample.tar.gz
Type: application/x-gzip
Size: 8809 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170314/c7295a8e/attachment.bin>


More information about the vtkusers mailing list