[Gmsh] VTK Format Reader

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Sep 25 21:17:29 CEST 2008


Dominique Belhachemi wrote:
> 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 ?

Sure, but someone needs to implement the reader first :-)


> 
> Thanks for working on Gmsh!
> 
> Cheers
> Dominique
> 
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
> 
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine