Commit Graph

130 Commits

Author SHA1 Message Date
Laurent Rineau 010adccdec fix the mentions of CGAL_USE_BASIC_VIEWER_QT (with the Qt suffix) 2025-05-02 09:22:38 +02:00
Guillaume Damiand cb42067263 update draw voronoi 2 2025-04-18 11:16:28 +02:00
Guillaume Damiand b9efd6983c replace macro CGAL_USE_BASIC_VIEWER by CGAL_USE_BASIC_VIEWER_QT 2025-04-17 17:45:10 +02:00
Guillaume Damiand 219ea871d7 copy the parts of gsoc2024-basic_viewer_glfw-tgrillon that concern only the qt basic viewer 2025-04-17 15:55:54 +02:00
Laurent Rineau 2b0c79e85a update reuse to v5 2024-11-26 10:14:17 +01:00
Guillaume Damiand 489317b6f2 doc: draw p2t2 and voronoi2 2023-12-08 14:38:45 +01:00
Guillaume Damiand 91ecafd004 draw voronoi 2 2023-12-04 08:40:28 +01:00
Guillaume Damiand 12e7492f33 update draw 2023-11-20 10:19:19 +01:00
Guillaume Damiand d2d114cf24 Update code to follow last api 2023-11-20 09:33:28 +01:00
Andreas Fabri 4e5082b6b5 remove _qt 2023-11-14 09:25:00 +00:00
Guillaume Damiand 761fde02be add_in_graphics_scene -> add_to_graphics_scene; plus remove template parameter NumberType 2023-10-23 01:52:38 +02:00
Guillaume Damiand 1c6b1e4a12 Basic_viewer_qt is no more templated 2023-10-23 01:35:11 +02:00
Guillaume Damiand 6daa2a0c3b Graphics_scene is no more templated 2023-10-23 01:30:57 +02:00
Guillaume Damiand 9f22d67ed0 Rename Graphic_storage in Graphics_scene (Andreas and Sebastien review) 2023-09-28 12:49:00 +02:00
Guillaume Damiand fd115bd321 Rename Graphic_storare into Graphics_scene (Andreas and Sebastien review) 2023-09-28 11:06:53 +02:00
Guillaume Damiand 5cf89dadd9 Rename Drawing_functor in Graphics_scene_options (following Andreas and Sebastien review) 2023-09-28 09:51:12 +02:00
Guillaume Damiand 467e55f10d Merge branch 'master' into gsoc2022-EBVs-Mostafa-ashraf19 2023-08-28 14:38:58 +02:00
Guillaume Damiand 7da9812bda Rename graphic_buffer into graphic_storage. 2023-06-22 15:18:34 +02:00
Sébastien Loriot 9a0bdb5d96 boost::variant ---> std::variant 2023-06-15 10:57:10 +02:00
Guillaume Damiand 519c7cc1a5 rename add_in_graphic_buffer into add_in_graphic_storage 2023-04-28 15:25:40 +02:00
Guillaume Damiand 4df2edd9c1 Replace draw_buffer by draw_graphic_storage 2023-04-28 12:26:31 +02:00
Guillaume Damiand 8f29e4d323 Rename class graphic buffer 2023-04-27 15:48:42 +02:00
Guillaume Damiand 534e7894b4 replace use of get_local_point 2022-10-19 16:34:08 +02:00
Guillaume Damiand 4377f527bc add missing include 2022-10-19 16:27:11 +02:00
Guillaume Damiand 09eaba2945 move functor for voronoi 2022-10-19 14:10:48 +02:00
Guillaume Damiand 2f07ea2a16 review draw voronoi 2 2022-10-19 13:46:10 +02:00
Guillaume Damiand 09ce35d9ba Correct template specialisation for add_in_graphic_buffer functions, lcc and voronoi 2 2022-10-13 11:18:32 +02:00
Mostafa-ashraf19 f1274c637c Solved custom KeyPressEvent callback. 2022-10-11 18:28:46 +02:00
Mostafa-ashraf19 8141fab21c Initial commit to adding custom KeyPressEvent. 2022-10-09 01:49:45 +02:00
Mostafa-ashraf19 7e1e6d5266 Added custom drawing functor for Voronoi diagram. 2022-10-08 12:33:24 +02:00
Mostafa-ashraf19 cc4aa7cd9d Applied new APIs version in Voronoi 2, with modifications in Basic_viewer_qt. 2022-10-06 17:48:58 +02:00
Laurent Rineau 7b6855d5c3 Merge pull request #6117 from gdamiand/Polyhedron3-draw_bugfix-gdamiand
Remove -old option for Polyhedron_3 draw
2021-11-18 12:27:14 +01:00
Laurent Rineau a463b904f6 Merge pull request #6118 from lrineau/Voronoi_diagram_2-fix_cpp20_warning-GF
Voronoi_diagram_2: fix C++20 warnings [-Wambiguous-reversed-operator]
2021-11-18 12:27:11 +01:00
Guillaume Damiand 2bbcabe71b The size of argv array is now 2, ending with nullptr. 2021-11-11 17:23:37 +01:00
Guillaume Damiand ee11c858b5 The size of argv array is changed to 1 in all basic viewers. 2021-11-10 09:59:48 +01:00
Laurent Rineau 2e476304ed Fix warnings
> CGAL/Voronoi_diagram_2/Connected_components.h:103:19: warning: ISO C++20 considers use of overloaded operator '!=' (with operand types 'CGAL::VoronoiDiagram_2::Internal::Connected_components<...>::HAVC') to be ambiguous despite there being a unique best viable function with non-reversed arguments [-Wambiguous-reversed-operator]

I changed `operator==` into friend functions.
2021-11-10 09:35:10 +01:00
Laurent Rineau e2194d9f72 Merge pull request #5981 from lrineau/Voronoi_diagram_2-fix_Handle_adaptor-issue_5961-GF
VD_2: Make Handle_adaptor a model of Handle
2021-09-20 17:07:04 +02:00
Laurent Rineau aea0bdd07c Make Handle_adaptor a model of Handle
Fix issue #5961.
2021-09-13 09:33:35 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Mael Rouxel-Labbé 326a05590f Restore some typedefs to please tests 2021-07-06 10:11:49 +02:00
Mael Rouxel-Labbé d5a306b817 Add VD2's removal policy for ToS2 (+ caching) 2021-06-11 17:30:15 +02:00
Laurent Rineau 8dbcd0ec8b Merge pull request #5659 from MaelRL/ToS2-Adapt_ToS2_for_Voronoi_adapter-GF
Make `ToS2` compatible with `Voronoi_diagram_2`
2021-05-18 18:14:04 +02:00
Mael Rouxel-Labbé 942d461e4c Pass a copy of the GT to the VD2 adaptation traits (and not the DTOS)
That's because the previous formulation is awkward:
- VD2 that takes a copy (or a swap) of DT_0 yielding a DT_1;
- adaptation traits requiring a const& to a DT_0, which might then
  go out of scope.

In theory, we want to have the triangulation to get the nice "dt.point(v)",
but it's too heavy to copy the full triangulation just for the adaptations
traits, so just copy the GT and use old school v->point().
2021-05-05 18:24:54 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Mael Rouxel-Labbé e94127c23c Add adaptation traits for ToS2 2021-04-30 15:11:41 +02:00
Mael Rouxel-Labbé 3816336a02 Avoid compilation error in Identity_edge_rejector
Some triangulation classes use the same type for all_ and finite_ edges
2021-04-29 23:24:40 +02:00
Maxime Gimeno a85cf6ed52 Move the include in the ifdef 2021-01-26 09:45:18 +01:00
Maxime Gimeno 04753381e5 Rename file and add ::Qt 2021-01-12 13:22:34 +01:00
Maxime Gimeno 95192d6d4b factorize context initialization 2021-01-12 13:08:58 +01:00
Maxime Gimeno 2a212bb2a8 Upgrade non-compatibility sahders in Basic_viewer to glsl 150 and add a context creation before the creation of the QApp in draw_xxx examples 2021-01-07 13:06:40 +01:00