[vtkusers] creating vtk file out of mesh generator

gebbi1986 at freenet.de gebbi1986 at freenet.de
Fri Nov 12 03:49:25 EST 2010


Hello,

i have to create a legacy vtk file. The data for this i get from an mesh 
generator like gmsh, tetgen or netgen. In these files, there are the the 
points with coordinates, the elements with a list of the corresponding 
points. Now I wrote a file converter in c++ which converts such a file 
into a *.vtk file. So the points and elements are in the same order in 
the files of the mesh generators as in the *.vtk file. Now my problem is 
that when i view these files for example with paraview, I get a 
visualisation, but it is not the correct. I guess that there is probably 
a special order for the points aso. in vtk? I use the unstructured grid 
structure. I have no idea how to solve this problem. It would be great 
if you could help me.

Greets
Gebbi



More information about the vtkusers mailing list