33 #ifndef __H__UG_PROMESH__file_io_tools__
34 #define __H__UG_PROMESH__file_io_tools__
43 #define TOOLTIP_LOAD_MESH "Loads a Mesh from File. The format is automatically recognized by the filname's suffix. Supported formats are: (ugx, vtu (ascii), obj, stl (ascii and binary), lgm, ng, ele, msh, asc, net, art)."
44 #define TOOLTIP_SAVE_MESH "Saves a Mesh to File. The format is automatically recognized by the filname's suffix. Supported formats are: (ugx, vtu (ascii), obj, stl (ascii), ncdf, smesh, ele, tikz/tex, asc, net, art)."
45 #define TOOLTIP_EXPORT_TO_UG3 "Writes a mesh to the UG3 legacy format (.lgm and .ng)"
52 bool LoadMesh(Mesh* obj,
const char* filename);
54 bool SaveMesh(Mesh* obj,
const char* filename);
57 const char* filenamePrefix,
59 const char* problemName);
bool LoadMesh(Mesh *obj, const char *filename)
Definition: file_io_tools.cpp:38
bool ExportToUG3(Mesh *obj, const char *filenamePrefix, const char *lgmName, const char *problemName)
Definition: file_io_tools.cpp:105
bool SaveMesh(Mesh *obj, const char *filename)
Definition: file_io_tools.cpp:84