Commit Graph

8503 Commits

Author SHA1 Message Date
Laurent Rineau a70e9202f2 Merge pull request #7970 from MaelRL/CGAL-Demo_bugs-GF
Fix some demo bugs
2024-01-24 16:01:52 +01:00
Sebastien Loriot 2e4139cbb3
Try to fix link issues with qt6 resources (#7915) 2024-01-19 11:42:11 +01:00
Laurent Rineau 1491b754f7 If CGAL_TEST_SUITE, then plugins do not depend on Polyhedron_3 2024-01-11 15:32:20 +01:00
Laurent Rineau 2ccb65f6ea Revert "plugins should not depend on `Polyhedron_3`"
This reverts commit 1f26c03e3b.
2024-01-11 15:17:26 +01:00
Laurent Rineau 61800d1be7
CGAL Lab: Rendering polygons with ghost edges (#7898)
Polygons and meshes with non-triangular faces that have ghost edges,
i.e., holes connected via two identical edges to the outer border of the
polygon, are now correctly rendered.

The FacetTriangulator now uses mark_domain_in_triangulation to set
is_external property.

## Release Management

* Affected package(s): Polyhedron/demo
2024-01-11 14:01:52 +01:00
Laurent Rineau 1f26c03e3b plugins should not depend on `Polyhedron_3` 2024-01-10 16:23:44 +01:00
Mael Rouxel-Labbé af3608335b Misc indentation fixes 2024-01-10 11:20:29 +01:00
Mael Rouxel-Labbé 53567bd20a Handle non triangulated inputs in the repair plugin 2024-01-10 11:19:43 +01:00
Mael Rouxel-Labbé 83fd1fe2b3 Disable the area smoothing box if Ceres is not available 2024-01-10 11:19:12 +01:00
Mael Rouxel-Labbé a0638f6e0a Use file's completeBaseName for item names 2024-01-10 11:18:50 +01:00
Laurent Rineau aeda27f405 "compilation of demo_framework" should be in the Installation package and Polyhedron 2024-01-09 13:58:03 +01:00
Sven Oesau de17922ca4 removed warnings 2024-01-09 10:26:19 +01:00
Sébastien Loriot 182b2c7792 fix warning 2024-01-08 16:53:52 +01:00
Sébastien Loriot 4a2d0704fc fix warnings 2024-01-04 17:27:10 +01:00
Sebastien Loriot c6eed472fd
fix warning 2024-01-04 17:19:47 +01:00
Sébastien Loriot 6f1b34fa6e restore LGPL for file from another institute than the package owner 2024-01-04 14:05:52 +01:00
Sébastien Loriot c99b69a0e7 add missing license headers 2024-01-04 13:50:15 +01:00
Sébastien Loriot e7c26349f2 move header in a package to GPL 2024-01-04 13:36:34 +01:00
Sebastien Loriot 1a934524ba
CGAL Lab: Transformation of point normals (#7935)
## Summary of Changes

Affine transformation transforms points, but didn't transform their
normals. This PR takes care of normal transformation of point sets.

## Release Management

* Affected package(s): Polyhedron Demo
2023-12-26 17:30:00 +01:00
Sébastien Loriot 6eff89bbc8 Merge pull request #7614 from sloriot/PMP-BF_autorefine
Add autorefine for triangle soup
2023-12-26 12:11:04 +01:00
Sven Oesau 4fe88f8b49 added transformation of normals 2023-12-18 15:35:25 +01:00
Sebastien Loriot a578b40b42
Tetrahedral remeshing - deal with c3t3 complex edges (#7909)
## Summary of Changes

For a mesh generated by Mesh_3, that has complex edges that do not lie
at the intersection of surface patches, automatic detection of these
features is impossible from the input triangulation.
This PR introduces a new named parameter `edge_is_constrained_map` to
`convert_to_triangulation_3()` that sets the edges constrained status
corresponding to their `is_in_complex()` status.

This pmap can then be used straight away in
`tetrahedral_isotropic_remeshing()`.

## Release Management

* Affected package(s): Tetrahedral_remeshing
* License and copyright ownership: unchanged
2023-12-18 13:29:21 +01:00
Sebastien Loriot b9696c2f86
Polyhedron Demo: Add sampling plugin (#7910)
## Summary of Changes

Add a plugin that samples meshes and polygon soups

### Todo

- [x] Add dialog for the various parameters of the sampling function
- [x] Check that the input is triangular.

## Release Management

* Affected package(s): Polyhedron
* License and copyright ownership: unchanged
2023-12-18 13:21:01 +01:00
Sebastien Loriot 1787da400b
Stream_support: Add read_VTK() (#7826)
## Summary of Changes

Add `read_VTK()` so that we can also read non-xml   *.vtk files.

- [x] Document it correctly

## Release Management

* Affected package(s): Stream_support 
* Feature/Small Feature (if any):
* Link to compiled documentation:
[overview](https://cgal.github.io/7826/v0/Stream_support/IOStreamSupportedFileFormats.html#IOStreamVTK)
and
[function](https://cgal.github.io/7826/v0/Stream_support/group__PkgStreamSupportIoFuncsVTK.html#gaad7f1c5c10e8700a4a6de88294c5a620)

* License and copyright ownership:
2023-12-18 13:15:31 +01:00
Laurent Rineau 9a944e563c Merge remote-tracking branch 'cgal/master' into PMP-BF_autorefine
# Conflicts:
#	Installation/CHANGES.md
#	Polygon_mesh_processing/examples/Polygon_mesh_processing/CMakeLists.txt
2023-12-13 15:57:30 +01:00
Andreas Fabri 0f9e446219 static_cast<int> 2023-12-13 08:57:24 +00:00
Andreas Fabri 62a64ae870 Add check that it faces are triangles 2023-12-12 09:28:01 +00:00
Andreas Fabri 796188e351 avoid intermediate vector 2023-12-12 08:52:01 +00:00
Laurent Rineau 222fafc411 Merge pull request #7805 from MaelRL/AW3-Resume_aw3-GF
Alpha wrapping: re-use and resume functionalities
2023-12-11 13:56:29 +01:00
Laurent Rineau 1150d5a01c Merge pull request #7900 from janetournois/Polyhedron_demo-fix_double_edit-jtournois
Polyhedron demo - fix `DoubleEdit`
2023-12-11 13:55:53 +01:00
Andreas Fabri acd03b166c write() operates on const& data 2023-12-08 17:09:00 +00:00
Sébastien Loriot d75e4f2f54 Merge remote-tracking branch 'cgal/master' into PMP-BF_autorefine 2023-12-08 13:26:06 +01:00
Andreas Fabri 43213ee0e8
Update Polyhedron/demo/Polyhedron/Plugins/Operations_on_polyhedra/Point_set_from_sampling_plugin.cpp
Co-authored-by: Laurent Rineau <Laurent.Rineau@cgal.org>
2023-12-06 16:13:58 +01:00
Jane Tournois d98a6233f0 collect features and use edge_is_constrained_map in demo code 2023-12-05 17:32:26 +01:00
Andreas Fabri bc1f43433e Polyhedron demo: Add sampling plugin 2023-12-05 14:17:38 +00:00
Jane Tournois ac3f6e6892 improve the Mesh_3 log in demo 2023-12-04 13:09:22 +01:00
Sébastien Loriot a8c58f8747 copy the buffer to allow modifications during iteration 2023-12-01 11:52:20 +01:00
Jane Tournois 3fc14d8d56 use QDoubleValidator::fixup() in DoubleEdit::fixup()
with this version the user can write with scientific notation or
standard notation, using . or ,

Note that when input is invalid, value() returns 0
2023-12-01 11:22:39 +01:00
Jane Tournois 1ca77d32af fix DoubleEdit with Qt6
- let the user add as many digits as wanted (using -1 in setRange)
- use standard notation, not scientific (which was the default)
- comment QDoubleValidator::fixup that for some reason blocks the edition of the field
2023-12-01 10:23:44 +01:00
Jane Tournois 642ea59de7 add tooltip for bounds of approximation value 2023-12-01 10:21:57 +01:00
Sven Oesau afc5382c8c removed left-overs from debugging
bugfixes
2023-12-01 08:31:50 +01:00
Sven Oesau 9115847ed4 added handling for rendering of non-triangular faces with ghost edges
ghost edges are not added to cdt in FacetTriangulator
mark_domain_in_triangulation is used to mark holes as external
2023-11-30 16:03:28 +01:00
Laurent Rineau 0744eba4bf Merge pull request #7754 from janetournois/Mesh_3-manifold_and_min_size-jtournois
Mesh_3 - use `manifold()` and `facet_min_size` together
2023-11-29 17:23:25 +01:00
Laurent Rineau 95b83b1214 Merge pull request #7845 from puneetmatharu/patch-cgal-dont-override-build-testing
Patch usage of BUILD_TESTING to handle the case that CGAL is a subproject
2023-11-29 17:22:54 +01:00
Mael Rouxel-Labbé 7b7918947a Fix bbox initialization 2023-11-29 16:54:43 +01:00
Mael Rouxel-Labbé 1dc0ba2c3a Merge remote-tracking branch 'cgal/master' into AW3-Resume_aw3-GF 2023-11-29 16:53:37 +01:00
Sven Oesau 566149c0cc FacetTriangulator: removing ghost edges from cdt and using mark_domain_in_triangulation 2023-11-29 08:22:24 +01:00
Mael Rouxel-Labbé f36693c48e Fix warning 2023-11-28 10:29:46 +01:00
Laurent Rineau eb59cc6105 Merge remote-tracking branch 'cgal/master' into Installation-ITK-jtournois 2023-11-24 10:50:26 +01:00
Sébastien Loriot 05e6889e45 Merge pull request #7397 from afabri/CGAL-Qt6-GF
CGAL:  Qt5 -> Qt6   [ WIP]
2023-11-24 09:36:38 +01:00