Commit Graph

68196 Commits

Author SHA1 Message Date
Maxime Gimeno b8ecd34eb5 Fix facet color reading 2016-05-12 17:11:28 +02:00
Maxime Gimeno b923641321 Clean-up 2016-05-12 17:11:28 +02:00
Maxime Gimeno 31b9e81e6d Fix for the polyhedron readOFF with colors 2016-05-12 17:11:28 +02:00
Maxime Gimeno 2f780958d8 Use an array instead of a switch for the color-map 2016-05-12 17:11:28 +02:00
Maxime Gimeno 26721fa626 add test for colored OFF
# Veuillez saisir le message de validation pour vos modifications. Les lignes
2016-05-12 17:11:28 +02:00
Maxime Gimeno 6761dcae8e Fix tellg/seekg errors 2016-05-12 17:11:28 +02:00
Maxime Gimeno 1c0a8e3f4e warning fix 2016-05-12 17:11:28 +02:00
Maxime Gimeno c14c5b9129 Clean up 2016-05-12 17:11:27 +02:00
Maxime Gimeno f3de4dfe01 Clean up 2016-05-12 17:11:27 +02:00
Maxime Gimeno 827adf63b8 Small fixes
- Fix the reload item
- Prints the warning about not oriented facets in the console, and explains how to convert a polygon_soup into a surface_mesh or a polyhedron.
2016-05-12 17:11:27 +02:00
Maxime Gimeno 4cb4c56658 Fix for context_menu 2016-05-12 17:11:27 +02:00
Maxime Gimeno 1911aeb9d9 Change the actions of Orient_soup_plugin
- The first one will create a polyhedorn
- The second one will create a Surface_mesh
2016-05-12 17:11:26 +02:00
Maxime Gimeno a12b5b7bf1 Modification of orient_soup_plugin
- If the soup_item has colors, a Surface_mesh_item is created instead of a polyhedron and the colors are passed to it
2016-05-12 17:11:26 +02:00
Maxime Gimeno 30a12a8dca Fix for the smooth normals 2016-05-12 17:11:26 +02:00
Maxime Gimeno 128adc4c32 Addition of a color management of the not oriented OFF with colors 2016-05-12 17:11:26 +02:00
Maxime Gimeno 28cd4a8c23 Add a name to the loaded Surface_mesh_item 2016-05-12 17:09:45 +02:00
Maxime Gimeno 59790e6e3c Fix #if problem 2016-05-12 17:09:45 +02:00
Maxime Gimeno 48cfccf41c Adds a triangulation for the not-triangle not-quad facets. 2016-05-12 17:09:45 +02:00
Maxime Gimeno 5efb857c09 Add triangulation for quad faces. 2016-05-12 17:09:44 +02:00
Maxime Gimeno 511f3f187f Code optimization and parser fix 2016-05-12 17:09:44 +02:00
Maxime Gimeno 3fdff7e831 Addition of the facet colors. 2016-05-12 17:09:44 +02:00
Maxime Gimeno f04a6f98ce Finished the management of the per-vertex color 2016-05-12 17:09:44 +02:00
Maxime Gimeno a1dbe23e7d Replaced color_index management by RGBcolor (float and int) management 2016-05-12 17:09:44 +02:00
Maxime Gimeno 3f5b9db863 Addition of the selection_color 2016-05-12 17:09:44 +02:00
Andreas Fabri 4b7373d301 u_char -> unsigned char ; Do not qualify get() with boost:: 2016-05-12 17:09:44 +02:00
Maxime Gimeno fe612feb9b Addition of a test colormap 2016-05-12 17:09:43 +02:00
Maxime Gimeno 775732dcf9 Surface_mesh_item drawing functions 2016-05-12 17:09:43 +02:00
Maxime Gimeno 442c6454e6 Addition of a Surface_mesh_item 2016-05-12 17:09:14 +02:00
Maxime Gimeno 92abf686b3 WIP : add color to IO_OFF 2016-05-12 17:09:14 +02:00
Sebastien Loriot 20bd3d7f10 Merge pull request #1076 from maxGimeno/Polyhedron_demo-Group_items_fix-GF
Polyhedron demo : Multiple bug fixes
2016-05-12 16:53:56 +02:00
Sebastien Loriot ef13f66767 Merge pull request #1044 from maxGimeno/Euler_operations-rebase-GF
Polyhedron demo : Euler operations in selection_plugin
2016-05-12 16:47:48 +02:00
Sebastien Loriot 3309e2a533 Merge pull request #1073 from afabri/Stream_support-parse_plus_in_exponent-GF
fix reading of doubles. There may be a + after the e
2016-05-12 16:33:30 +02:00
Sébastien Loriot 1015d1f191 remove non-needed keywords outside of a template 2016-05-12 09:16:03 +02:00
Sébastien Loriot 925d178865 reunse the face normal 2016-05-11 18:12:40 +02:00
Maxime Gimeno 5c2ce8fecb Fix after merge 2016-05-11 17:51:09 +02:00
Maxime Gimeno ff2cc2562e Merge branch 'Euler_operations-rebase-GF-old' into Euler_operations-rebase-GF
Conflicts:
	Polyhedron/demo/Polyhedron/Plugins/PMP/Selection_plugin.cpp
	Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.cpp
	Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.h
2016-05-11 17:41:07 +02:00
Sebastien Loriot 16532b2670 Merge pull request #1069 from lrineau/CGAL-CMake_scripts_determinism-GF
Sort results of file(GLOB ...) to make build deterministic
2016-05-11 17:34:31 +02:00
Maxime Gimeno 5ea3909c47 Fix Multiselection
- The tag I changed was used since 2009, so I am expecting other problems, as I still don't know where the bug came from...
2016-05-11 17:26:37 +02:00
Sébastien Loriot 8767142527 rename test file 2016-05-11 17:19:10 +02:00
Sebastien Loriot c3d1602b7d Merge pull request #1040 from maxGimeno/Three_doc_for_review_rebase-GF
Update and correction of the Three API
2016-05-11 17:07:01 +02:00
Sébastien Loriot c988360a3b remove a warning 2016-05-11 17:02:14 +02:00
Maxime Gimeno c780651945 Fix bug with contextMenu 2016-05-11 16:41:18 +02:00
Maxime Gimeno f294d4cade Update example plugins init() functions 2016-05-11 10:55:58 +02:00
Maxime Gimeno fa1f052707 More clean-up 2016-05-11 09:51:03 +02:00
Maxime Gimeno 473c92c00c Remove the init() function without Messages_interface from the plugins API 2016-05-10 17:10:59 +02:00
Maxime Gimeno 7bfeb5fccb Simplifies the AABB_Tree requests. 2016-05-10 16:29:12 +02:00
Maxime Gimeno f39632021a Clean-up 2016-05-10 15:50:04 +02:00
Sebastien Loriot d8719581c5 Merge pull request #1070 from sgiraudot/Point_set_processing_3-Bilateral_smoothing_pmap_use_put-GF
Bilateral smoothing: use put() operator instead of using ref of get()
2016-05-10 14:11:43 +02:00
Maxime Gimeno 7eb1ecbfee Fix deprecated header 2016-05-10 12:28:36 +02:00
Maxime Gimeno d02415f180 Checks sooner if the facet is valid for the split face operation 2016-05-10 12:28:36 +02:00