Add CGAL::IO::read_OM()
Summary of Changes
Add a function to read an OpenMesh file ( *.om ) in CGALlab. This file format stores also edges and vertices marked as features.
For the moment the function itself is not documented.
Release Management
- License and copyright ownership: GeometryFactory
- depends on PR #8332
In the demo, loading a .om file containing a surface mesh that has no feature vertices and no feature edges should not create a selection item. This PR should be modified to have this behaviour
Cannot open include file: 'CXGAL/IO/OM.h'
Failed in 6.0-Ic-327 and must be tested again. Fix is committed.
/mnt/testsuite/test/Lab_Demo/Plugins/IO/OM_io_plugin.cpp:208:10: fatal error: om_io_plugin.moc: No such file or directory
208 | #include "om_io_plugin.moc"
I guess you are missing something in the cmake list of the plugin
/mnt/testsuite/test/Lab_Demo/Plugins/IO/OM_io_plugin.cpp:208:10: fatal error: om_io_plugin.moc: No such file or directory
208 | #include "om_io_plugin.moc"
in https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-6.0.1-Ic-342/Lab_Demo/TestReport_lrineau_Debian-Testing.gz
ICE on MSVC 2022. See here
Actually there is also an ICE here so maybe it has nothing to do with this PR
Successfully tested in CGAL-6.0.1-Ic-351
This pull-request was previously marked with the label Tested, but has been modified with new commits. That label has been removed.
/home/cgal-testsuite/cgal_doc_build/CGAL-6.1-Ic-3/include/CGAL/IO/polygon_mesh_io.h:84: warning: unable to resolve reference to 'IOStreamOM' for \ref command
Do we have to say that this needs OM installed as third party library? Because we have not written functions for writing ourselves.
Indeed it needs OpenMesh and it should be documented
it is already documented
\note This function is only available if OpenMesh is available (CGAL_USE_OPENMESHis defined or CMake target is linked withCGAL::OpenMesh_support).
Successfully tested in 6.1-Ic-18/19