[Gmsh] VTK Format Reader

Dominique Belhachemi domibel at cs.tu-berlin.de
Sat Sep 20 19:57:34 CEST 2008


Hi,

The FileOpenDialog offers to read a "VTK mesh (*.vtk)" into Gmsh.
I've tried it with different files without success. All I get is a
syntax error.

I took a quick look at the code. Geo/GModelIO_Mesh.cpp offers a readVTK
function.

     int GModel::readVTK(const std::string &name)
     {
       Msg::Error("VTK reader is not implemented yet");
       return 0;
     }

But this function is never called. Is it possible to add a call to the
function "int MergeFile(...)" in Common/OpenFile.cpp ?

Thanks for working on Gmsh!

Cheers
Dominique