[vtkusers] Generate Mesh - Finite Element Analysis
Bryn Lloyd
blloyd at vision.ee.ethz.ch
Sun Jan 4 10:39:59 EST 2009
Hi Paul,
Maybe you could try the vtkClipVolume filter. It will produce
tetrahedra (not just the surface).
http://www.vtk.org/doc/nightly/html/classvtkClipVolume.html
You might want to set Mixed3DCellGenerationOff() in order to avoid any
wedges in your output.
The quality of the mesh at the surface will most likely not be very
good.
As an alternative you could use the MarchinCubes filter. The output
can be smoothed etc in order to improve the triangle quality.
Then run the vtkDelaunay3D filter on the output. This will only work
if your surface is convex!
The third alternative is the best, for simulation purposes:
Generate the surface as you have so far. Run some smoothing filter on
the triangles in order to improve their quality.
Then run the constrained delaunay meshing program by Hang Si (TetGen, http://tetgen.berlios.de/)
to generate tetrahedra.
(or any other mesh generation software you have access to, e.g. Netgen).
--Bryn
On Jan 4, 2009, at 3:22 PM, Paul Jhin wrote:
> vtkMarchingCubes
More information about the vtkusers
mailing list