#ifndef __MESHLABDOC_XML_H #define __MESHLABDOC_XML_H #include #include "ml_shared_data_context.h" #include "meshmodel.h" #include QDomDocument MeshDocumentToXML(MeshDocument &md, bool onlyVisibleLayers, bool saveViewState, bool binary, const std::map& rendOpt = std::map()); bool MeshDocumentToXMLFile(MeshDocument &md, QString filename, bool onlyVisibleLayers, bool saveViewState, bool binary, const std::map& rendOpt = std::map()); bool MeshDocumentFromXML(MeshDocument &md, QString filename, bool binary, std::map& rendOpt); QDomElement RasterModelToXML(RasterModel *mp,QDomDocument &doc, bool binary); QDomElement PlaneToXML(Plane* pl,const QString& basePath,QDomDocument& doc); #endif // __MESHLABDOC_XML_H