Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CGAL::IO::read_OM() #8427

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open

Conversation

afabri
Copy link
Member

@afabri afabri commented Aug 22, 2024

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

@afabri afabri self-assigned this Aug 22, 2024
@afabri afabri added this to the 6.1-beta milestone Aug 22, 2024
Lab/demo/Lab/Plugins/IO/OM_io_plugin.cpp Outdated Show resolved Hide resolved
Lab/demo/Lab/Plugins/IO/OM_io_plugin.cpp Show resolved Hide resolved
Lab/demo/Lab/Plugins/IO/OM_io_plugin.cpp Outdated Show resolved Hide resolved
STL_Extension/include/CGAL/hash_openmesh.h Outdated Show resolved Hide resolved
Stream_support/include/CGAL/IO/OM.h Outdated Show resolved Hide resolved
Stream_support/include/CGAL/IO/OM.h Show resolved Hide resolved
@MaelRL MaelRL added the Not yet approved The feature or pull-request has not yet been approved. label Aug 27, 2024
@janetournois janetournois added the depends on another PR This pull-request should only be merged after other ones. label Sep 5, 2024
@janetournois
Copy link
Member

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

@janetournois janetournois removed the depends on another PR This pull-request should only be merged after other ones. label Sep 10, 2024
@sloriot
Copy link
Member

sloriot commented Sep 17, 2024

Cannot open include file: 'CXGAL/IO/OM.h'

@afabri
Copy link
Member Author

afabri commented Sep 20, 2024

Failed in 6.0-Ic-327 and must be tested again. Fix is committed.

@sloriot
Copy link
Member

sloriot commented Sep 25, 2024

/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

janetournois and others added 3 commits September 26, 2024 11:58
Co-authored-by: Sebastien Loriot <[email protected]>
Co-authored-by: Sebastien Loriot <[email protected]>
@sloriot
Copy link
Member

sloriot commented Oct 8, 2024

/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

Co-authored-by: Sebastien Loriot <[email protected]>
@sloriot
Copy link
Member

sloriot commented Oct 14, 2024

ICE on MSVC 2022. See here

@sloriot
Copy link
Member

sloriot commented Oct 14, 2024

Actually there is also an ICE here so maybe it has nothing to do with this PR

@sloriot
Copy link
Member

sloriot commented Oct 18, 2024

Successfully tested in CGAL-6.0.1-Ic-351

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not yet approved The feature or pull-request has not yet been approved. Tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants