Commit Graph

3666 Commits

Author SHA1 Message Date
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 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
Sébastien Loriot 4d0734f7ac use new API also in assertion 2016-07-22 10:37:26 +02:00
Simon Giraudot e907273492 Fix typo in VCM Feature Estimation plugin 2016-07-22 10:32:47 +02:00
Maxime Gimeno 368a8d7828 Fix the segfaults when item->replace() was called from the contextMenu. 2016-07-22 10:00:30 +02:00
Maxime Gimeno cd6151a428 Fix segfault
- Fix the segfault that happened when the action estimate normals was called from the contextMenu.
2016-07-22 09:53:26 +02:00
Maxime Gimeno 003efff87e Add the missing connect for Convex_decomposition 2016-07-21 15:23:43 +02:00
Maxime Gimeno 44650996c5 Removed .xyz from the namefilters of the GOCAD plugin 2016-07-21 15:20:04 +02:00
Maxime Gimeno 2e97fae99e Made the error message in the upsampling plugin a message_interface error instead of a std::cerr 2016-07-21 15:18:07 +02:00
Maxime Gimeno bdabd310d7 Use valueChanged for the normals slider. 2016-07-21 15:10:18 +02:00
Simon Giraudot 1e27f99866 Remove extra space 2016-07-21 14:55:03 +02:00
Simon Giraudot d291f1bfd4 Add method to point set to get either begin() or first_selected() if != end() 2016-07-21 14:49:00 +02:00
Maxime Gimeno fff3551e67 Fix Waitcursors bugs in point_set plugins and revert fix for Convex_decomposition (will be done in a separated PR). 2016-07-21 14:07:21 +02:00
Maxime Gimeno 5fca8d02d3 Add waitcursors to plugins and fix convex_decomposition 2016-07-21 14:07:04 +02:00
Laurent Rineau 2cfb1f05cf Merge pull request #1284 from maxGimeno/Polyhedron_demo-Fix_cut_plugin-GF
Polyhedron_demo: Fix the Cut_plugin
2016-07-21 12:09:51 +02:00
Laurent Rineau a769830809 Merge pull request #1290 from sloriot/Polyhedron_demo-remove_local_are_buffers_filled
use the boolean are_buffers_filled from Scene_item
2016-07-21 12:08:48 +02:00
Laurent Rineau e2a0aef1a5 Merge pull request #1281 from maxGimeno/Polyhedron_demo-Groups_for_shape_detection-GF
Polyhedron_demo: sub-groups for shape detection
2016-07-20 18:10:41 +02:00
Laurent Rineau 4c72771fba Merge pull request #1279 from maxGimeno/Polyhedron_demo-Editable_normals_length-GF
Polyhedron_demo: Editable normals length
2016-07-20 18:09:57 +02:00
Laurent Rineau 5e5622a7c2 Merge pull request #1277 from maxGimeno/Polyhedron_demo-Fix_MCF_Skeleton_plugin-GF
Polyhedron_demo: Fix MFC_Skeleton_plugin
2016-07-20 18:05:39 +02:00
Laurent Rineau b50900b718 Merge pull request #1270 from maxGimeno/Polyhedron_demo-Fix_image_bbox-GF
Polyhedron_demo : Fix the image_item's Bbox
2016-07-20 18:02:07 +02:00
Laurent Rineau 0b1195c533 Merge pull request #1269 from maxGimeno/Polyhedron_demo-Remove_untriangulate_facets-GF
Polyhedron_demo : Remove Untriangulate facets
2016-07-20 18:01:00 +02:00
Sébastien Loriot 6a23794466 use the boolean are_buffers_filled from Scene_item
this was preventing the buffer to be marked as initialized
(in Scene_combinatorial_map_item and Scene_polyhedron_shortest_path_item)
2016-07-20 15:00:24 +02:00
Maxime Gimeno 181c432e15 Clean up
- Refrase the warning
- remove commented code
- realigned long code
- use CGAL::collinear instead of the Polyhedron traits.
2016-07-20 09:36:01 +02:00
Maxime Gimeno f27b08cf78 Plugin ignores non pure triangle polyhedrons. 2016-07-19 15:38:42 +02:00
Maxime Gimeno 4682f8d6b8 Filters the facets of the polyhedrons to only keep the non-degenerated ones. 2016-07-19 15:27:06 +02:00
Maxime Gimeno 4acb82210f Points sets and planes alpha-shapes are put in sub-groups. 2016-07-19 14:32:09 +02:00
Maxime Gimeno e5a31a922b Hides the original point set when the WLOP action is performed. 2016-07-19 12:31:22 +02:00
Maxime Gimeno 0bb1a6406e Use a slider in the item's context menu to edit the normals length. 2016-07-19 12:15:56 +02:00
Maxime Gimeno 5e932915cd Fix Points color 2016-07-19 10:31:46 +02:00