[vtkusers] newbie question on vtkDelaunay3d- writing out the mesh

Ramesh R rameshr at jhu.edu
Wed Oct 1 03:39:25 EDT 2003


Hello,
  I've recently installed VTK on Solaris and am trying the examples. My
question is on the Delaunay3D.tcl example. I gave a bunch of grid points
in 3D and was able to visualize the 3d triangulation. I would like to
write out the mesh in an ASCII format and run a check on tet aspect
ratios.

  How do I write out the mesh? The output of the triangulation is of the
form vtkUnstructuredGrid. I could find only the vtkPolyDataWriter function
to write out the mesh. Do I have to pass the UnstructuredGrid to PolyData
and then write it out? Or is there a ready implementation of writing a
mesh.

Thanks,
Ramesh



More information about the vtkusers mailing list