Commit Graph

130 Commits

Author SHA1 Message Date
Laurent Rineau 01fc5c3b33 Merge branch 'releases/CGAL-4.10-branch' 2017-06-16 11:45:45 +02:00
Maxime Gimeno 134a3050c9 Fix vaos feeding to programs in case there are normals in the point set. 2017-06-01 13:07:29 +02:00
Maxime Gimeno cc3a635047 Don't compute points data but use lines instead. 2017-06-01 13:07:29 +02:00
Maxime Gimeno 5b9ace5c3b Add a zoomToPosition() function to the Scene_points_with_normal_item. 2017-05-12 09:24:18 +02:00
Laurent Rineau f56c77f7e5 Merge pull request #1951 from sgiraudot/Polyhedron_demo-Fix_duplicated_points_selection-GF
Polyhedron demo: fix duplicated points selection
2017-04-05 17:02:32 +02:00
Simon Giraudot a29c9a8d60 Fix identation 2017-03-27 07:45:14 +02:00
Maxime Gimeno f0424b49bd clean up 2017-03-24 14:14:49 +01:00
Maxime Gimeno a732bb3c66 Don't use signals/slots system but override itemAboutToBeDestroyed 2017-03-24 12:10:22 +01:00
Maxime Gimeno d5fc592135 clean the surface_mesh_item, point-set_item and c3t3_item as well 2017-03-24 12:10:01 +01:00
Simon Giraudot aab1cfade3 Fix duplicated points selection 2017-03-06 14:04:05 +01:00
Maxime Gimeno a0f40dc0b6 Copies properties to keep points and normals size when reloading. 2017-02-09 16:58:25 +01:00
Maxime Gimeno 2ce60ec127 Change the sizeof<double> into sizeof<CGAL_data_type>, which is float by default. 2017-01-23 10:20:51 +01:00
Laurent Rineau a5e254f0d8 Merge pull request #1737 from maxGimeno/Polyhedron_demo-Fix_large_coordinates_bug-GF
Polyhedron_demo: Fix display bugs when the scene is greatly offsetted
2017-01-12 11:10:11 +01:00
Maxime Gimeno 6e261d7d76 Restore the <double> for the property "radius". 2016-12-14 12:57:13 +01:00
Maxime Gimeno 2bd795b6be Use floats instead of doubles 2016-12-13 17:17:23 +01:00
Maxime Gimeno 31df2d8d45 Add offset support for splatting. 2016-12-02 12:04:34 +01:00
Maxime Gimeno bc61c28028 Add offset support to the Affine_transformation_plugin and the Points_with_normal_item. 2016-12-02 12:04:33 +01:00
Laurent Rineau 897e1bdd3e Merge pull request #1691 from sgiraudot/Polyhedron_demo-Bugfix_duplicate_point_set-GF
Several bug fixes for point set in Polyhedron Demo
2016-11-25 14:56:39 +01:00
Simon Giraudot 5cbd0a6d32 Possibility to open PLY with floating colors 2016-11-23 08:12:37 +01:00
Simon Giraudot 0470530a63 Bugfix: do not offer to display normals if they are not available 2016-11-16 12:19:55 +01:00
Simon Giraudot 160f07b2cc Bugfix: add normal map before creating point set from vertices 2016-11-16 07:42:14 +01:00
Simon Giraudot 9592dd2017 Update file with latest review of Point_set_3 2016-10-21 14:40:22 +02:00
Simon Giraudot 245473d0b5 Bugfix: read_xyz_point_set takes care of normal map 2016-10-21 10:28:41 +02:00
Simon Giraudot f46a4a1c06 Bugfix: write PLY content of point (not pointer) 2016-10-21 10:28:41 +02:00
Simon Giraudot 03ab2219bc Fix warnings/errors from testsuite 2016-10-21 10:28:40 +02:00
Simon Giraudot 577988cc28 Update polyhedron demo plugins with new Point_set_3 API 2016-10-21 10:28:34 +02:00
Laurent Rineau df77ac7812 Merge pull request #1323 from maxGimeno/Polyhedron_demo-Add_shaded_points-GF
Polyhedron_demo : Add a new RenderingMode for ShadedPoints
2016-10-17 10:01:44 +02:00
Maxime Gimeno 0f36186509 Update supportsRenderingMode for affected items. 2016-10-05 09:48:19 +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
Sébastien Loriot d486e04c74 call deleteLater only if the object if not NULL 2016-08-26 09:02:29 +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 e99655ab87 Add a renderingMode to distinguish between ShadedPoints and regular Points. 2016-08-02 11:52:27 +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
Maxime Gimeno 02ea93d8e4 Add light to the point set items if they have normals. 2016-07-22 13:53:15 +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 bdabd310d7 Use valueChanged for the normals slider. 2016-07-21 15:10:18 +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
Laurent Rineau 6f15e738b6 Merge pull request #1227 from maxGimeno/Multiple_fix-GF
Polyhedron_demo : Rework UIs and add waitcursors to items
2016-07-12 11:16:57 +02:00
Maxime Gimeno 51d08adce0 Set a maximum for the normal lengths. 2016-07-04 11:17:31 +02:00
Maxime Gimeno 272d3278be Add WaitCursors to items. 2016-06-30 15:34:21 +02:00
Maxime Gimeno f549b62a6a Fix the are_buffers_filled
- Using d->are_buffers_filled made useless the initialization made in the Scene_item constructor.
 Instead of re-initializing it in the private structs, I decided to use the one from the item again, as the
 cleaning of the Scene_item seems to be put aside.
2016-06-16 09:18:33 +02:00
Maxime Gimeno f7e1c2bd66 D-pointer for the Scene_points_with_normal_item 2016-05-09 09:54:15 +02:00
Maxime Gimeno 3f0f27a5ac Plugin API made in CamelCase 2016-05-06 11:12:09 +02:00
Sébastien Loriot e3dc7183f8 rename function 2016-01-26 11:43:01 +01:00
Maxime Gimeno ce9aed08f5 Renaming invalidate_buffers in invalidate_OpenGLBuffers 2016-01-26 11:20:30 +01:00
Simon Giraudot 8e9f9dd3d6 Use inFastDrawing instead of quick_camera and provide direct access to fast drawing state 2015-12-29 11:40:19 +01:00
Simon Giraudot 53c3f40bdc Bugfix: shuffle selected and unselected points separately 2015-12-15 10:49:21 +01:00
Simon Giraudot 7a63e01295 Quick display of point sets: only display small subset when moving large point sets 2015-12-15 10:00:06 +01:00
Maxime Gimeno 66815745b7 Selection color fix 2015-12-14 11:25:59 +01:00