Commit Graph

3693 Commits

Author SHA1 Message Date
Andreas Fabri b777ad3e8d Change the color of the constructed mesh
Scale space and Advacing front reconstruction produced a mesh in magenta.
2016-09-29 15:58:49 +02:00
Laurent Rineau b085f1e7a0 Merge pull request #1442 from sloriot/Polyhedron_demo-add_remove_self_intersections
Add an action to remove self-intersections in a mesh
2016-09-28 18:00:41 +02:00
Laurent Rineau 82695344d9 Merge pull request #1503 from afabri/Polyhedron_demo-fix_UI_Parameter-GF
Polyhedron demo Shape Detection plugin: Increase max value for spinbox
2016-09-28 12:01:09 +02:00
Andreas Fabri 0de8754094 increase max value for spinbox 2016-09-28 11:48:48 +02:00
Laurent Rineau 5bbcc7c96f Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch'
> 8b95f0d Merge pull request #1482 from janetournois/Polyhedron_demo-fix_colors_isotropic_remeshing_plugin-jtournois
> 46b2402 Merge pull request #1480 from afabri/Kernel_d-auto-GF
2016-09-27 17:57:32 +02:00
Laurent Rineau 710ad26335 Merge pull request #1481 from maxGimeno/Polyhedron_demo-Fix_the_transparency_in_windows_snapshots-GF
Polyhedron_demo : fix the transparency in snapshots taken with Ctrl+C on Windows
2016-09-27 17:54:48 +02:00
Laurent Rineau 6e5fca2d8c Merge pull request #1472 from maxGimeno/Polyhedron_demo-Point_with_normal_item_performances-GF
Polyhedron_demo : Optimize the point_set visualization
2016-09-27 17:51:50 +02:00
Laurent Rineau 83667e743e Merge pull request #1468 from lrineau/Polyhedron-Demo_better_display_c3t3_item-lrineau
Polyhedron demo: better display of c3t3 item
2016-09-27 17:51:28 +02:00
Laurent Rineau c40835d5cb Merge pull request #1324 from maxGimeno/Polyhedron_demo-Normals_for_detected_planes-GF
Polyhedron_demo : Set the points normals after a planar shape detection
2016-09-23 16:43:15 +02:00
Jane Tournois 24b17c9efd add missing includes 2016-09-22 14:17:48 +02:00
Jane Tournois 47c6d1ae99 fix colors or the remeshed polyhedron 2016-09-22 14:05:58 +02:00
Laurent Rineau 4f0ea28069 Fix the indentation (cont.) 2016-09-22 13:28:07 +02:00
Laurent Rineau 83eff08e47 Fix the indentation 2016-09-22 13:27:20 +02:00
Maxime Gimeno e82a888680 Fix
- fix the transparancy of the snapshots taken with Ctrl+C.
The solutions for Linux and Windows are not compatible, so use a #if defined.
2016-09-22 13:08:01 +02:00
Maxime Gimeno b51f064a55 Make the 300 000 a const std::size_t define in the beginning of Scene_point_with_normal_item.cpp 2016-09-21 14:55:50 +02:00
Maxime Gimeno 3bd7e95d87 Optimize
- Makes the resizing of the points real fast
- Makes the resizing of the normals applied on slider released instead of every tick when the point set size is bigger than 300 000
- sets the initial value of the point size to 2 instead of 5
2016-09-20 10:57:38 +02:00
Laurent Rineau 7114117d83 Fix the iso-value spin box
The chosen min and max are the min/max for unsigned short.
2016-09-16 17:10:45 +02:00
Laurent Rineau 84d557e1a7 Draw the grid after the rest
By essence, the cut plane (grid) is always seen. If we want the
anti-aliasing to draw correctly, the grid must always be drawn at the
end.
2016-09-16 17:08:47 +02:00
Clement Jamin c94c517013 Use BOOST_FOREACH instead of Q_FOREACH when not a Qt container
Was not compiling with MSVC 2015 and Qt5
2016-09-16 11:31:01 +02:00
Laurent Rineau c4ca7800d2 Merge pull request #1441 from maxGimeno/Polyhedron_demo-Fix_menus_with_unity-GF
Polyhedron_demo : Fix the menu bug with Unity
2016-09-13 18:18:30 +02:00
Laurent Rineau 85da76b97f Merge pull request #1369 from sloriot/Polyhedron_demo-fix_mesh_2_plugin
Fix mesh 2 plugin
2016-09-13 18:09:44 +02:00
Sébastien Loriot b7db87ab40 add a plugin to remove self-intersection in a mesh 2016-09-08 15:01:44 +02:00
Maxime Gimeno 3f40a60395 Fix
- Removes an action from the Operations root menu before adding it to a submenu.
This way, it is not "already tracked" and unity does not discard it.
2016-09-08 14:47:04 +02:00
Sébastien Loriot b29aba70ff also mark the domain when only calling CDT 2016-08-26 14:43:58 +02:00
Sébastien Loriot 1f7a617ab5 translate the 2D-mesh at the correct position in space 2016-08-26 14:18:06 +02:00
Sébastien Loriot d486e04c74 call deleteLater only if the object if not NULL 2016-08-26 09:02:29 +02:00
Sebastien Loriot 6776246089 Merge pull request #1321 from maxGimeno/Polyhedron_demo-Fix_WaitCursor-GF
Polyhedron_demo : fix the WaitCursor in the Mesh_3 script
2016-08-23 14:57:51 +02:00
Maxime Gimeno f3b15e3026 Fix the Clibboard typo. 2016-08-23 11:32:52 +02:00
Maxime Gimeno 141517fbc8 Set the 'Recenter Scene' shortcut to Ctrl+R. 2016-08-12 14:40:15 +02:00
Maxime Gimeno d9e7a4c46a Fix the shortcuts for saveSnapshot() and sendSnapshotToClipBoard. 2016-08-11 15:46:27 +02:00
Maxime Gimeno 8af1edec81 Implement a snapshot to clipboard. Bind it to Ctrl+Print Screen. 2016-08-11 15:45:31 +02:00
Simon Giraudot 061dd8ce08 Merge pull request #1334 from maxGimeno/Polyhedron_demo-Edit_point_size-GF
Polyhedron_demo : make the point size of a point set editable.
2016-08-11 14:47:33 +02:00
Simon Giraudot 8c1571a494 Merge pull request #1338 from maxGimeno/Polyhedron_demo-Transparent_background_for_snapshots-GF
Polyhedron_demo: Transparent background for snapshots
2016-08-11 14:46:42 +02:00
Maxime Gimeno b6d71b47f1 Fix the fastDraw. 2016-08-10 14:24:31 +02:00
Maxime Gimeno dfd29640b8 Fixes the decay in case the original point set is not centered on (0,0,0). 2016-08-10 14:14:16 +02:00
Maxime Gimeno 9f7a30ba36 Implement transparent background. 2016-08-10 12:57:07 +02:00
Maxime Gimeno 971b259c26 Change the option "use white background" into a Combox proposing use current background color, use transparent background and choose background color.
Implement choose background color.
2016-08-10 12:27:28 +02:00
Maxime Gimeno 6240e76a46 Make the transform_polyhedron_plugin able to transform point_sets too and rename it. 2016-08-10 12:10:15 +02:00
Maxime Gimeno 2a2c350520 Add a slider for the point size (between 1 and 25). 2016-08-09 15:38:05 +02:00
Maxime Gimeno 8d79689fd3 Set the normals of the corresponding points to the plane's normal in shape_detection. 2016-08-02 12:10:08 +02:00
Maxime Gimeno 78398a1055 Fix waitcursor when executing mesh_3 script. 2016-08-01 17:57:36 +02:00
Laurent Rineau e7c52f3b82 Merge pull request #1301 from maxGimeno/Polyhedron_demo-Fix_image_item-GF
Polyhedron_demo: Fix the image item
2016-07-26 16:26:04 +02:00
Laurent Rineau 762f22961f Merge pull request #1299 from maxGimeno/Polyhedron_demo-Light_for_point_sets-GF
Polyhedron_demo: Light for Point_set_items
2016-07-26 16:25:42 +02:00
Laurent Rineau 8a58bbe6d3 Merge pull request #1298 from maxGimeno/Polyhedron_demo-Fix_cut_plugin-GF
Polyhedron_demo: Fix cut plugin
2016-07-25 10:37:37 +02:00
Laurent Rineau de22b8d3ca Merge pull request #1296 from maxGimeno/Polyhedron_demo-Fix_for_some_plugins-GF
Polyhedron_demo: Fix for some plugins
2016-07-25 10:37:09 +02:00
Laurent Rineau 92c43080c8 Merge pull request #1292 from sloriot/Operations_on_polyhedra-cmap_new_api
use the latest CMap API
2016-07-25 10:36:13 +02:00
Laurent Rineau 6a57e0e96e Merge pull request #1283 from sgiraudot/Polyhedron_demo-Point_set_algorithms_on_selection-GF
Polyhedron demo: apply PSP algorithms to selection only
2016-07-22 18:38:17 +02:00
Maxime Gimeno e212202027 Fix
- Resizes the image to the right size by shrinking every border pixel.
2016-07-22 16:39:51 +02:00
Maxime Gimeno 02ea93d8e4 Add light to the point set items if they have normals. 2016-07-22 13:53:15 +02:00
Maxime Gimeno c7a1cdabca Do not display the Signed function for open polyhedra. 2016-07-22 12:23:10 +02:00