Commit Graph

2841 Commits

Author SHA1 Message Date
Sebastien Loriot 717ec22664 Merge pull request #874 from janetournois/PMP-isotropic_remeshing_improvements-jtournois
PMP::isotropic_remeshing() - improve management of constraints
2016-03-03 17:00:34 +01:00
Sebastien Loriot 26c17db3e8 Merge pull request #865 from lrineau/Polyhedron-demo_fix_c3t3_item-lrineau
Fix the c3t3 item
2016-03-03 16:56:35 +01:00
Sébastien Loriot 81d1603ce7 Merge pull request #844 from maxGimeno/Polyhedron_demo-Mesh_3-Fixes-GF
Polyhedron demo: Fixes for Mesh_3 plugin
2016-03-03 14:31:22 +01:00
Sebastien Loriot 8a55728cae Merge pull request #787 from maxGimeno/Polyhedron_demo-Fix_for_773-GF
Polyhedron_demo : Fix for 773
2016-03-03 14:19:44 +01:00
Jane Tournois 2536c17655 fix "colors_only'
when colors_only is false, it does not mean that colors are not computed!

this commit fixes commit 0661c21ac0
2016-03-03 12:57:24 +01:00
Maxime Gimeno cc5f50605e Fix for the intersection that wasn't cleared when the color changed. 2016-03-03 11:38:20 +01:00
Maxime Gimeno 892dee0a99 Fix for the colors 2016-03-03 10:41:24 +01:00
Maxime Gimeno fe20de7ef3 Statistics fix
- An item must overload has_stats to return true if it has statistics, or else the action will not be displayed in the menu.
2016-03-03 09:19:04 +01:00
Sébastien Loriot d7e9261d58 hide the filtered projection traits behind the projection traits
the selection of the base class is done using Kernel::Has_filtered_predicates
2016-03-02 21:57:54 +01:00
Sébastien Loriot 03f86b3673 handle seeds and other domain definition options 2016-03-02 20:46:15 +01:00
Sébastien Loriot a045576b45 add a plugin to run mesh_2 on polylines in the xy, yz or xz plane 2016-03-02 20:46:15 +01:00
Sebastien Loriot 6c85bc17d0 Merge pull request #845 from maxGimeno/Polyhedron_demo-Fix_reload_item-GF
Polyhedron demo :  Fix reload item
2016-03-02 20:20:44 +01:00
Sebastien Loriot 823a65a4ae Merge pull request #848 from maxGimeno/Polyhedron_demo-Fix_segmentation_plugin-GF
Polyhedron_demo : Fix for the polyhedron_item's colors
2016-03-02 20:20:07 +01:00
Sebastien Loriot 9fa7cc3d00 Merge pull request #763 from janetournois/Polyhedron_demo-improve_vtk_plugin-GF
Polyhedron demo : vtk_io_plugin can save
2016-03-02 17:20:29 +01:00
Sebastien Loriot d51b9cbb27 Merge pull request #840 from afabri/Polyhedon-isolated-vertices-GF
Deal with isolated vertices when turning a polygon soup in a polyedral surface
2016-03-02 17:19:22 +01:00
Sebastien Loriot 3019854153 Merge pull request #850 from sgiraudot/Polyhedron_demo-Bugfix_polygon_soup_segfault-GF
Bugfix: check if polygon soup is not empty before attempting BBox computation
2016-03-02 17:16:31 +01:00
Jane Tournois bf63963830 add constrained vertices to isotropic remeshing
those vertices cannot be modified
2016-03-02 17:08:38 +01:00
Jane Tournois 906f6360ea restore ROI after deformation 2016-03-02 13:24:12 +01:00
Laurent Rineau 7814cb20c7 Fix the c3t3 item
- The `isEmpty()` function was wrong: if the domain contains 2D surfaces
  it cannot be considered as empty, even if the 3D volume is empty.

- The computation of the bbox was wrong too.
2016-03-02 12:35:09 +01:00
Jane Tournois dc0090e9b8 remove duplicate function split_long_edges
by exploiting the edge_is_constrained_map as read-write pmap
this is not documented, and only for demo purposes (at least for now)
2016-03-01 16:28:06 +01:00
Jane Tournois 63884d0033 update the constraints property map after the end of remeshing 2016-03-01 15:30:52 +01:00
Maxime Gimeno 5403ae1f37 Addition of a call to c3t3_changed() in the end of the loading function, so the c3t3 is updated before the computation of the colors. 2016-03-01 09:03:29 +01:00
Simon Giraudot 181b9325b1 Fix max precision for ofstream: digits10 + 2 instead of digits10 + 1 2016-02-29 17:46:25 +01:00
Simon Giraudot cc9890a308 Check if polygon soup is not empty before attempting bbox computation 2016-02-29 11:13:35 +01:00
Maxime Gimeno ac862e37a9 Fix a bug when reloadking an item
the item was disappearing from the object list
2016-02-29 11:11:57 +01:00
Maxime Gimeno d1e8741675 fix functions signature 2016-02-29 11:11:13 +01:00
Andreas Fabri 8663b3ccbe deal with isolated vertices when turning a polygon soup in a polyedral surface 2016-02-29 11:04:33 +01:00
Sebastien Loriot 7e48843690 Merge pull request #841 from afabri/patch-4
Capitalize words
2016-02-29 10:50:43 +01:00
Maxime Gimeno 67fa51de62 Fix for the polyhedorn_item's colors
- The color calculation when the item is not monochrome was not done correctly.
2016-02-29 10:23:59 +01:00
Sebastien Loriot cf3c372b57 Merge pull request #823 from sgiraudot/Polyhedron_demo-Increase_precision_ofstream-GF
Polyhedron demo : Use maximum precision when writing files
2016-02-29 10:15:26 +01:00
Sebastien Loriot e4dd2dd002 Merge pull request #816 from maxGimeno/Polyhedorn_demo-Fix_applicable-GF
Polyhedron_demo : Fix applicable
2016-02-29 10:14:21 +01:00
Maxime Gimeno 12a819bb79 Fix the waitcursor
- Removed the waitcursor in the dialog for selecting the precision when loading an segmented image.
2016-02-29 08:37:09 +01:00
Maxime Gimeno 91b7f7c3a7 Renaming the Mesh_3 plugin directory 2016-02-29 08:36:26 +01:00
Andreas Fabri 01a1deebd5 Capitalize words 2016-02-27 10:56:10 +01:00
Sébastien Loriot 542d6cf9fb fix applicable 2016-02-26 15:55:00 +01:00
Sebastien Loriot 27fe675b08 Merge pull request #812 from sloriot/Mesh_3-fix_default_behavior
Mesh_3: do not enable manifold by default
2016-02-26 15:41:59 +01:00
Sébastien Loriot 4e2ea7295a vtk plugin can now load segments 2016-02-26 15:39:55 +01:00
Sébastien Loriot e4f1f2f9b4 allow reading of unstructuredGrid from non-XML files 2016-02-26 13:22:33 +01:00
Sébastien Loriot 0f39879ced allow reading vtu
simplify the conversion function as well
2016-02-26 12:47:03 +01:00
Sébastien Loriot c574c78e66 plug error handler to the reader 2016-02-26 11:02:42 +01:00
Sebastien Loriot 80654639c2 Merge pull request #824 from afabri/Polyhedron-fix_drawing_of_non_triangle_face-GF
Fix drawing a polyhedron with non-triangular faces
2016-02-25 10:47:18 +01:00
Andreas Fabri b592865752 3 -> 2 2016-02-25 08:55:38 +01:00
Simon Giraudot 4728805f31 Use maximum precision when writing files to avoid loss of information 2016-02-25 08:47:12 +01:00
Sebastien Loriot cb650d896d Merge pull request #809 from afabri/Polyhedron-complete_basename-GF
Use completeBaseName() as name of items (for some file name extensions)
2016-02-24 18:39:47 +01:00
Maxime Gimeno bd5d1646d7 Fix applicable
- For create_bbox
- For triangulate_facets
2016-02-23 16:04:17 +01:00
Jane Tournois b6cd6ea5c1 activate protection of feature polylines in labeled images
when needed or requested
2016-02-23 16:00:06 +01:00
Laurent Rineau 154ad4c29f Do not enable manifold by default!!
(cherry picked from commit 2a0b90cff1cd0abb5cde7182f7c57a21ee19a23b)
2016-02-22 19:20:48 +01:00
Andreas Fabri 8982373981 Use completeBaseName() as name of items (for some file name extensions) 2016-02-22 15:19:37 +01:00
Sebastien Loriot c1b3b784a7 Merge pull request #777 from janetournois/Polyhedron_demo-polyhedron_item_for_quads-GF
Polyhedron item : improve computation of normals
2016-02-22 08:24:11 +01:00
Sebastien Loriot 95a03739c4 Merge pull request #798 from afabri/Polyhedron-Unify_capital_letters-GF
Capitalize words in the menus
2016-02-19 09:22:58 +01:00
Sebastien Loriot bc927b5af0 Merge pull request #792 from maxGimeno/Polyhedron_demo-Slicer_plugin-Fix_for_783-GF
Polyhedron_demo : Fix for 783
2016-02-19 09:10:54 +01:00
Andreas Fabri 9cc245d470 More capitalized 2016-02-18 17:20:44 +01:00
Sébastien Loriot bdb1848ab9 fix unused type warning 2016-02-18 17:03:42 +01:00
Andreas Fabri 9956c2963b More capitalization 2016-02-18 10:56:07 +01:00
Andreas Fabri 864a429d79 Select the affine transformation item 2016-02-18 10:05:00 +01:00
Andreas Fabri 69a1c5fe18 3D Mesh Generation --> Tetrahedral Mesh Generation 2016-02-18 10:03:55 +01:00
Andreas Fabri 8985711115 Capitalize words in the menus 2016-02-17 17:38:19 +01:00
Andreas Fabri 51920f6b86 Unify chapter names 2016-02-17 16:35:48 +01:00
Maxime Gimeno 4fcc58d954 Fix
- Changed Scene_item into CGAL::Three::Scene_item to connect the item_about_to_be_destroyed signal correctly.
2016-02-17 08:32:09 +01:00
Sébastien Loriot 0888f5ebeb update include directive 2016-02-16 17:12:31 +01:00
Sebastien Loriot b1b5bcd4f1 Merge pull request #772 from maxGimeno/Polyhedron_demo-Fix_for_770
Polyhedron_demo : Fix for #770
2016-02-16 16:30:48 +01:00
Maxime Gimeno 1adc45b2fc Makes the facets color editable. 2016-02-16 12:16:53 +01:00
Sébastien Loriot cf916bafb6 add missing call to invalidate OpenGL buffer after refinement and fairing 2016-02-15 13:27:50 +01:00
Sébastien Loriot 5d4725db39 rename plugin title and menu name 2016-02-15 11:29:01 +01:00
Jane Tournois a0f0ab84b2 replace unordered_map with flat_map 2016-02-12 16:34:45 +01:00
Jane Tournois 0661c21ac0 avoid computing twice the same CDT for non-triangle non-quad facets
it is still possible to recompute only colors, and not all vectors
(positions and normals) by using the colors_only parameter introduced
in triangulate_facet
2016-02-12 16:26:28 +01:00
Jane Tournois 1ff1f566a0 factorize the code when push_back is called for p.x(), p.y(), and p.z() 2016-02-12 15:21:48 +01:00
Maxime Gimeno a443cb4c06 clean-up 2016-02-12 15:07:18 +01:00
Maxime Gimeno 37b7a4a145 Fixed Scene_plane_item::setNormal 2016-02-12 14:54:23 +01:00
Jane Tournois a8d7c8fc5e add error observer to vtk Plugin
as suggested here
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/ObserveError

does not work yet
2016-02-12 11:47:35 +01:00
Jane Tournois afc33545c8 introduce normals at vertices for Gouraud shading on non-triangulated polyhedra 2016-02-12 10:45:00 +01:00
Jane Tournois 6a3c0557d3 use the face_normals property map in triangulate_facet 2016-02-12 10:30:24 +01:00
Jane Tournois 9c238279f9 for quads, we use only one normal per face, not one normal per triangle 2016-02-11 19:21:02 +01:00
Jane Tournois 40c02113b5 use PMP::compute_normals to avoid computing normals multiple times 2016-02-11 19:08:51 +01:00
Jane Tournois 7b9589387d simplify code 2016-02-11 16:05:31 +01:00
Jane Tournois a43cdd8e8d avoid computing the same face normal for each vertex of a face 2016-02-11 15:40:45 +01:00
Laurent Rineau 0770e68485 Merge pull request #755 from maxGimeno/Polyhedron_demo-Fix_for_753-GF
Polyhedron_demo : Fix for 753
2016-02-11 15:11:33 +01:00
Jane Tournois 011b6cd473 save as vtkPolyData, consistently with load() function 2016-02-11 10:56:13 +01:00
Sebastien Loriot ed557b907d Merge pull request #735 from maxGimeno/Surface_mesher_demo-Glu_removal-GF
Surface_mesher : Glu removal
2016-02-10 10:40:51 +01:00
Sebastien Loriot ef10f19b41 Merge pull request #737 from maxGimeno/Polyhedron_demo-Volume_plane_fix-GF
Polyhedron_demo Volume_plane fix
2016-02-10 10:40:23 +01:00
Sebastien Loriot 1c6748be6c Merge pull request #757 from maxGimeno/Three-Fix_for_756-GF
Three : Fix for 756
2016-02-10 10:40:05 +01:00
Jane Tournois b456446e08 deal with xml and discriminate with a template parameter 2016-02-10 10:32:33 +01:00
Jane Tournois 906a88b2a4 VTK_io_plugin : first version of the "save" function 2016-02-09 16:58:46 +01:00
Maxime Gimeno e02ecbf884 Fix for the VAOs 2016-02-09 14:59:14 +01:00
Maxime Gimeno 01ed789c02 Fix for the 2nd bug
- The feature edges are always drawn, only the color changes with the option.
2016-02-09 09:31:30 +01:00
Maxime Gimeno 14810b078f Fix for the 1st bug
- The checkboxes status updates everytime the menu is open, not only when it is created.
2016-02-09 09:06:53 +01:00
Sébastien Loriot eb2ba8cefe rename Surface_modeling package to Surface_mesh_deformation for consistency 2016-02-08 12:25:49 +01:00
Maxime Gimeno b99c616c23 Re-implementation of opengl_check_errors 2016-02-05 08:36:54 +01:00
Sebastien Loriot f1572ac999 Merge pull request #720 from maxGimeno/Fix_for_539
Fix for 539
2016-02-04 16:46:14 +01:00
Sebastien Loriot 26066c543b Merge pull request #722 from maxGimeno/Polyhedron_demo-Fix_for_mesh_deformation-GF
Polyhedron_demo : Fix for the mesh deformation
2016-02-04 15:43:42 +01:00
Maxime Gimeno 73bd2025eb Fix
- Moved the item creation out of the threads so that the context is valid when their VAOs and VBOs are created.
2016-02-04 15:30:49 +01:00
Laurent Rineau c7367211d8 Better layout: follow the `sizeHint()` 2016-02-04 12:31:08 +01:00
Maxime Gimeno 94e6249969 Comment correction 2016-02-03 15:16:09 +01:00
Sébastien Loriot e211843b4f Merge pull request #654 from maxGimeno/FixForMac-GF
Demo fix for OS X (fix for #437)
2016-02-03 14:39:48 +01:00
Maxime Gimeno 2f34704270 Fix for the frame plane
- Added a function to updtae the plane's data, called when the plane constrained option is set,
  so that the plane is always where it should be.
2016-02-03 13:00:52 +01:00
Maxime Gimeno 0181633bd5 Fix for 539
- Adds the requested flags from the CMakeLists only if the compiler is CLang or gcc
2016-02-03 12:05:39 +01:00
Sébastien Loriot 8cee2ef1dd Merge pull request #686 from afabri/Kernel_fix-warnings-GF
Fix warnings concerning indentation and unused parameter
2016-02-03 09:49:54 +01:00
Sebastien Loriot ebf66069c3 Merge pull request #706 from afabri/PMP_include_graph_traits-GF
Deal with deprecated code
2016-02-03 09:44:11 +01:00
Sebastien Loriot 5c53581d50 Merge pull request #694 from maxGimeno/Trivial_fixes-GF
Trivial fixes
2016-02-03 09:37:31 +01:00
Andreas Fabri 201e23a503 include graph_traits file 2016-02-01 17:16:45 +01:00
Sébastien Loriot aa94453c1e fix submenu name 2016-02-01 16:14:58 +01:00
Maxime Gimeno 9abf38bfce warning fix
- replaced gluErrorString by its source code in Mesh_3
- replaced gluProject by its modified source code in P3T3
- deleted volume_planes files in Polyhedron/demo/Polyhedron, as the real ones are in Plugins/Mesh_3_plugin
2016-02-01 09:02:36 +01:00
Sebastien Loriot 2a22135a95 Merge pull request #690 from lrineau/Polyhedron-demo_Create_bbox_mesh_plugin-lrineau
Add the Create_bbox_mesh_plugin
2016-01-28 14:20:57 +01:00
Laurent Rineau 2692410dfe add `create_bbox_mesh_plugin` in the list 2016-01-28 14:19:56 +01:00
Maxime Gimeno 5ffc01f1a1 indentation warnings fix 2016-01-28 14:17:11 +01:00
Sébastien Loriot 8da745534f fix indentation issues 2016-01-28 13:54:57 +01:00
Sebastien Loriot d702d31d95 Merge pull request #683 from maxGimeno/Hierarchy_fix-GF
Fixes for the Polyhedron_demo
2016-01-28 13:49:16 +01:00
Sebastien Loriot 14508b9d70 Merge pull request #685 from afabri/PSP-binary_read_ply-GF
When opening a binary ply file  we have to use std::ios_base::binary
2016-01-28 13:47:41 +01:00
Sebastien Loriot 21eaffd9e5 Merge pull request #691 from maxGimeno/Viewer_fixes-GF
Viewer fixes gf
2016-01-28 13:47:21 +01:00
Maxime Gimeno da8ca763b8 Removed the call to gluErrorString 2016-01-28 12:41:45 +01:00
Laurent Rineau b829e6b8ca Remove commented code 2016-01-27 14:41:31 +01:00
Maxime Gimeno d67ea21644 Fixes the QGLViewer warning for a deprecated function in version 2.6 2016-01-27 14:22:49 +01:00
Sébastien Loriot 80c30fb5e8 Revert "Merge pull request #658 from maxGimeno/Axis_enhancement-GF"
This reverts commit 3024e4f913, reversing
changes made to a02ea7ad9b.
2016-01-27 14:22:45 +01:00
Sébastien Loriot 75e98f0a08 Merge pull request #656 from maxGimeno/Clean_up_Functions-GF
Clean up scene item API
2016-01-27 13:45:15 +01:00
Sebastien Loriot 388d80d8df Merge pull request #670 from janetournois/Polyhedron_demo-minor_improvements-jtournois
Polyhedron demo - statistics - do not compute angles for null_faces
2016-01-27 13:39:36 +01:00
Laurent Rineau 1179371045 Add the Create_bbox_mesh_plugin 2016-01-27 10:46:52 +01:00
Andreas Fabri 4d605ff2e9 when opening a binary ply file we have to usestd::ios_base::binary 2016-01-26 15:57:44 +01:00
Maxime Gimeno b1d6a324a1 Fixes
- Fixes the segfault occuring when destroying a selection_item's poly_item
- Fixes the recurseExpand behavior
- Fixes the Segfault occuring when adding a group to a selected group.
2016-01-26 12:00:51 +01: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
Maxime Gimeno 271cc81413 contextual_changed removal + textured_polyhedron fix 2016-01-26 11:20:21 +01:00
Maxime Gimeno 33120d84ad Clean-up 2016-01-25 12:25:07 +01:00
Laurent Rineau 797c4a7395 Merge branch 'Polyhedron-demo_add_c3t3_item-lrineau'
The only useful patch was:
> diff --git a/Polyhedron/demo/Polyhedron/MainWindow.cpp b/Polyhedron/demo/Polyhedron/MainWindow.cpp
> index aae5f45..dfef492 100644
> --- a/Polyhedron/demo/Polyhedron/MainWindow.cpp
> +++ b/Polyhedron/demo/Polyhedron/MainWindow.cpp
> @@ -1596,4 +1596,5 @@ void MainWindow::on_action_Look_at_triggered()
>  {
>    Show_point_dialog dialog(this);
> +  dialog.setWindowTitle(tr("Look at..."));
>    int i = dialog.exec();
>    if( i == QDialog::Accepted &&
>
2016-01-25 10:27:40 +01:00
Jane Tournois d3d8ba6f83 Merge branch 'Polyhedron_demo-minor_improvements-jtournois' of github.com:janetournois/cgal into Polyhedron_demo-minor_improvements-jtournois 2016-01-25 10:11:49 +01:00
Jane Tournois 4f084c8a3c the dialog is not deleted anymore, so no need to restore its geometry 2016-01-25 10:06:11 +01:00
Sébastien Loriot 84ae1352e0 fix warnings 2016-01-25 08:23:55 +01:00
Sebastien Loriot 58e8b026a5 Merge pull request #673 from lrineau/Polyhedron-demo_add_load_obj-GF
Polyhedron demo: add load_obj
2016-01-25 08:16:56 +01:00
Sebastien Loriot be7e0388a3 Merge pull request #675 from lrineau/Polyhedron-demo_fix_clip_plugin-lrineau
Polyhedron demo: fix clip plugin
2016-01-25 08:14:14 +01:00
Sebastien Loriot 3024e4f913 Merge pull request #658 from maxGimeno/Axis_enhancement-GF
Enhancement of the axis system of the viewer
2016-01-22 17:14:22 +01:00
Jane Tournois fc3e2e91e0 remove useless function 2016-01-22 17:10:35 +01:00
Jane Tournois f89a8c87fc avoid successive delete and new of statistics_dialog 2016-01-22 17:08:44 +01:00
Jane Tournois 1fa1a07647 border edges need border to be normalized to be counted 2016-01-22 17:07:59 +01:00
Jane Tournois eece1f6d74 keep statistics dialog geometry (location and size) through the use of demo 2016-01-22 16:43:13 +01:00
Jane Tournois d3c04f9847 keep position and size after "update" 2016-01-22 16:29:31 +01:00
Jane Tournois 000c92cc9c fix namespace issues 2016-01-22 16:04:24 +01:00
Laurent Rineau 4b36a072b9 UI improvements
- add a real title to the dock widget,
- add shortcuts to the checkbox and the buttons,
- and add a text explaining which side of the plane actually clip out.

Cc: @maxGimeno
2016-01-22 15:52:09 +01:00
Laurent Rineau 2518e94f55 Create the clipping plugin at the center of the scene
cc: @maxGimeno
2016-01-22 15:52:09 +01:00
Jane Tournois 31c971d1a0 avoid multiple computing of statistics for polyhedron item 2016-01-22 15:35:34 +01:00
Jane Tournois 769f98c2a1 remove statistics code from rendering code 2016-01-22 14:56:53 +01:00
Laurent Rineau d7d5fe9f33 Better nameFilters 2016-01-22 14:34:22 +01:00
Andreas Fabri 58c4f45760 add the dispatching to the obj reading in the off-plugin 2016-01-22 14:34:22 +01:00
Andreas Fabri 0137af3845 Add the capability to read 2-manifolds in simplest .obj file format 2016-01-22 14:34:21 +01:00
Jane Tournois 2d1d21b84e remove useless vector 2016-01-22 14:26:12 +01:00
Jane Tournois e9c34c502b avoid duplicating code 2016-01-22 13:36:12 +01:00
Jane Tournois bb98d5a560 activate "wait" cursor while statistics are computed 2016-01-22 13:14:51 +01:00
Jane Tournois e653796029 do not compute angles for null_faces 2016-01-22 10:21:18 +01:00
Jane Tournois 878baa5fdf wrong polyhedron used!
selection_item is NULL in this statement
2016-01-21 12:47:31 +01:00
Sebastien Loriot efde6e3dc5 Merge pull request #606 from janetournois/PMP-improve_isotropic_remeshing-jtournois
PMP - Improve isotropic remeshing
2016-01-21 09:21:00 +01:00
Sébastien Loriot cf08261299 Merge pull request #652 from sloriot/BGL-document_selection_functions
BGL: document selection functions
2016-01-20 17:13:21 +01:00
Sebastien Loriot 901a4c17e4 Merge pull request #650 from sloriot/BGL-document_split_in_polylines
BGL: document split in polylines
2016-01-20 16:50:36 +01:00
Sebastien Loriot 0cadb193ed Merge pull request #647 from sloriot/Polyhedron_corefinement-self_intersection_checking-sloriot
Polyhedron demo: robustify corefinement and intersection plugins
2016-01-20 16:49:33 +01:00
Sebastien Loriot 6058f05cea Merge pull request #651 from maxGimeno/Move_Shortest_path_plugin
Fix for #646
2016-01-20 16:47:29 +01:00
Maxime Gimeno f08b34ff5b Enhancement of the axis system of the viewer
- The axis system will no longer be clipped when dezooming, nor will it be hidden by an item, and the lighting of the axis will no longer change when moving the camera.
2016-01-20 14:12:43 +01:00
Sébastien Loriot 533f7ec117 update after namespace change 2016-01-19 13:32:14 +01:00
Sebastien Loriot 13943432b5 Merge pull request #580 from sgiraudot/Advancing_front-Generalize_filter-GF
Advancing front: generalize filter
2016-01-19 11:39:49 +01:00
Sébastien Loriot c1459d3f20 rename dilate/erode function after review 2016-01-19 11:32:49 +01:00
Maxime Gimeno d01b4f75c1 Moved Shortest-path-plugin in Surface-mesh 2016-01-19 11:18:49 +01:00
Maxime Gimeno 8837f1a8ca This time it seems to work perfectly. 2016-01-19 10:28:11 +01:00
Maxime Gimeno 6fb63d4f74 The splatting works but there is still aa problem with the context when using th
e dialog to load an item.
2016-01-19 10:28:09 +01:00
Maxime Gimeno 0547f19d58 WIP A fix for mac
- repared the demo
- Disabled the splatting.
2016-01-19 10:28:05 +01:00
Sébastien Loriot d39abe5804 allow default construction of the map (needed by the named parameters) 2016-01-18 14:28:01 +01:00
Jane Tournois 130f0a927a use 1d smoothing in Polyhedron demo 2016-01-18 14:27:56 +01:00
Sébastien Loriot f6622786de intersection and corefinement plugin first check for self-intersections 2016-01-18 12:46:52 +01:00
Sebastien Loriot 8849ef54b9 Merge pull request #636 from janetournois/Polyhedron_demo-remesh_several_items-jtournois
Polyhedron demo : isotropic remeshing of several items
2016-01-18 09:51:16 +01:00
Sebastien Loriot dad9670647 Merge pull request #637 from maxGimeno/Polyhedron_statistics-GF
Moving the self-intersecting test
2016-01-18 09:50:50 +01:00
Jane Tournois fcdcd1268b add plugin for better testing 2016-01-15 15:25:23 +01:00
Sebastien Loriot 1df32a4bd2 Merge pull request #622 from sloriot/Operations_on_polyhedra-plane_clipping_with_corefinement-sloriot
Polyhedron demo: Plugin to clip polyhedra using a plane
2016-01-15 15:25:21 +01:00
Sebastien Loriot 6bf4ac1b61 Merge pull request #630 from lrineau/Polyhedron-demo_minor_improvements-lrineau
Polyhedron demo: minor improvements
2016-01-15 15:24:13 +01:00
Sebastien Loriot d1ce9be851 Merge pull request #632 from maxGimeno/Feature_edge_display_fix-GF
Fix for #603
2016-01-15 15:22:29 +01:00
Jane Tournois a060396d75 make sure statistics_dlg is "properly" initialized to NULL
when MainWindow is created
2016-01-15 15:05:50 +01:00
Jane Tournois 09701f2c98 make the use of "n/a" uniform 2016-01-15 14:57:05 +01:00
Jane Tournois 302fb86098 when area and volume are not computed, simply display "n/a" 2016-01-15 14:52:18 +01:00
Jane Tournois a02cf01275 does_self_intersect is not applicable to a non triangulated polyhedron 2016-01-15 14:33:04 +01:00
Jane Tournois 57b5883d59 avoid duplicate loop 2016-01-15 10:33:28 +01:00
Jane Tournois 3fa8f60025 fix "variable may be used uninitialized" warning 2016-01-15 10:21:00 +01:00
Jane Tournois 54b6d9e548 fix code when TBB is not available 2016-01-15 10:11:26 +01:00
Sébastien Loriot be486f321f Eigen 3.2 or later is required 2016-01-14 17:22:52 +01:00
Maxime Gimeno 2fb7b5955a Merge branch 'Polyhedron_statistics-GF' of github.com:CGAL/cgal-dev into Polyhedron_statistics-GF
Conflicts:
	Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp
2016-01-14 15:26:58 +01:00
Jane Tournois 6dfe36a0f9 avoid copy of QList 2016-01-14 15:23:12 +01:00
Jane Tournois 363120eb52 improve display of error message 2016-01-14 15:21:35 +01:00
Maxime Gimeno 2eb0c92f24 Merge branch 'Feature_edge_display_fix-GF-old' into Feature_edge_display_fix-GF
Conflicts:
	Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp
2016-01-14 15:14:43 +01:00
Jane Tournois 78d808e296 Merge branch 'Polyhedron_demo-remesh_several_items-jtournois-old' into Polyhedron_demo-remesh_several_items-jtournois 2016-01-14 15:05:56 +01:00
Jane Tournois 79b8a4d35e use parallel_for to run remeshing of several polyhedron items in parallel 2016-01-14 14:21:02 +01:00
Sébastien Loriot 9635dbeeb6 Merge pull request #586 from maxGimeno/Polyhedron_statistics-GF
Polyhedron: add statistics
2016-01-14 14:12:05 +01:00
Sebastien Loriot 7adbf4b5de Merge pull request #627 from sgiraudot/Polyhedron_demo-Bugfix_erasing_items_context_menu-GF
Polyhedron demo: bugfix erasing items context menu
2016-01-14 14:07:32 +01:00
Sebastien Loriot 734c1227c1 Merge pull request #628 from maxGimeno/Cut_plugin_fix-GF
Fixes for the cut_plugin :
2016-01-14 14:06:15 +01:00
Maxime Gimeno d458bbaa8f Merge branch 'Operations_on_polyhedra-plane_clipping_with_corefinement-sloriot' of github.com:CGAL/cgal-dev into Operations_on_polyhedra-plane_clipping_with_corefinement-sloriot 2016-01-14 12:34:38 +01:00
Maxime Gimeno 9ec087362d Segfault fix 2016-01-14 12:33:07 +01:00
Maxime Gimeno 11801c0692 Fix the dll error 2016-01-14 11:41:52 +01:00
Maxime Gimeno 4f94ddffaa Fix the display of the feature edges
- Store the feature_edges vertices in a specific vector
- Use a specific VAO for the display
- Call invalidate_buffers from the Detect_sharp_edges plugin
2016-01-14 10:37:02 +01:00
Laurent Rineau 8eb545904d Use the WaitCursor cursor while opening a file
or while evaluating a script.
2016-01-13 16:48:08 +01:00
Laurent Rineau f9cac3bbb5 Add Polyhedron_demo_config.h to define POLYHEDRON_DEMO_EXPORT 2016-01-13 16:46:30 +01:00
Maxime Gimeno 5f0f0b7b45 Fix for the size_t warning 2016-01-13 14:56:04 +01:00
Sebastien Loriot e3b4e78fe9 Merge pull request #623 from maxGimeno/CMakeLists_clean_up-GF
CMakeLists clean up
2016-01-13 14:52:01 +01:00
Sebastien Loriot f8c09c9c1e Merge pull request #619 from lrineau/Polyhedron-demo_fix_CMakeLists_when_Eigen_is_not_found-lrineau
Polyhedron demo: fix PMP/CMakeLists.txt when Eigen is not found
2016-01-13 14:48:59 +01:00
Sébastien Loriot 3bbe6e068b Merge pull request #607 from afabri/Mesh_3-avizo_output-GF
Add output to Avizo file format
2016-01-13 14:45:09 +01:00
Maxime Gimeno 9239f84f38 Fixes for the cut_plugin :
- The AABB_Tree is displayed again
- The edges of the AABB_Tree and the cut_object are in the right color
- The Scene is not decentered by the creation of the cutting plane.
2016-01-13 12:56:37 +01:00
Simon Giraudot 70a7ced73a Bugfix: getSelectedSceneItemIndex returns first one if several selected (instead of -1) 2016-01-13 10:58:50 +01:00
Simon Giraudot 0c2d2380af Bugfix: keep selected item instead of first one 2016-01-13 10:56:25 +01:00
Simon Giraudot 30c30309a1 Bugfix: keep current selected item instead of first one 2016-01-13 10:51:10 +01:00
Simon Giraudot 0b582e54ca Keep track of selected index when opening context menu 2016-01-13 10:50:53 +01:00
Andreas Fabri b02a7ed31a no need to funnel io routines through Mesh_complex_3_in_triangulation_3_base 2016-01-13 10:35:59 +01:00
Maxime Gimeno b30f06f225 Removed the commented parts in the CMakelists of the Polyhedron_demo 2016-01-13 10:32:17 +01:00
Maxime Gimeno bae76bc5d8 Renaming the dialog and associated function to remove "polyhedron" from the name 2016-01-13 08:34:10 +01:00
Sebastien Loriot 2a4d8e5c9f Merge pull request #590 from lrineau/Mesh_3-manifold_criterion-lrineau
Mesh_3: add the manifold criterion
2016-01-12 16:02:00 +01:00
Sebastien Loriot f9f86d75fe Merge pull request #613 from janetournois/PMP-improve_api_consistency-jtournois
PMP : reorder variables for API consistency
2016-01-12 15:55:44 +01:00
Sébastien Loriot 72850d1560 add plugin in test script 2016-01-12 15:47:51 +01:00
Maxime Gimeno 7c49ab9473 Some clean-up
- Changed the color of the plane
- Aligned all the ui elements on the same row.
2016-01-12 15:11:12 +01:00
Maxime Gimeno 63a4bdb252 Replace qDebug() with Message_interface. 2016-01-12 14:31:35 +01:00
Jane Tournois 9c5552ff48 add ability to remesh several polyhedron items at once 2016-01-12 14:12:09 +01:00
Maxime Gimeno 02517773ef WIP Option for closing a clipped polyhedron
- There is a memory corruption that we need to find and eradicate before merging.
2016-01-12 13:24:24 +01:00
Maxime Gimeno 73b94bbb5f The clipping plane has 2 different colors, one for each face 2016-01-12 12:30:53 +01:00
Laurent Rineau 1adfacfad2 Fix the fix 2016-01-12 10:38:53 +01:00
Andreas Fabri 9b6af96536 int -> std::size_t 2016-01-12 10:34:38 +01:00
Laurent Rineau dea74f6cc0 Fix a syntax error when Eigen3 is not found 2016-01-12 10:32:32 +01:00
Maxime Gimeno 97ba0f33f4 Fix for the header() function
- I forgot half the work on that one.
2016-01-12 10:30:06 +01:00
Maxime Gimeno fa895f3333 Clean-up, link fix and doc 2016-01-12 10:18:52 +01:00
Maxime Gimeno 8133cee925 Missing update added. 2016-01-12 09:23:45 +01:00
Jane Tournois 5f31573adb reorder parameters 2016-01-11 16:06:16 +01:00
Maxime Gimeno d64b9f9323 Addition of a plugin for plane_clipping polyhedra 2016-01-11 15:37:25 +01:00
Sebastien Loriot 81ca25b1df move ui files into the correct group
This was breaking the parallel build of plugins because dependency were incorrectly encoded
2016-01-11 14:52:19 +01:00
Jane Tournois ae1ea30d45 reorder parameters for consistency in PMP package 2016-01-11 12:20:45 +01:00
Jane Tournois 0ab047eb37 reorder variables for API consistency in PMP package 2016-01-11 12:12:59 +01:00
Sebastien Loriot 8245efd76b Merge pull request #601 from lrineau/Polyhedron-Mesh_3_plugin__add_Meshing_thread-lrineau
Polyhedron, Mesh 3 plugin: add the meshing threads
2016-01-11 11:20:26 +01:00
Sébastien Loriot 6f4bb73ee0 fix warning
warning: 'Mesh_3_plugin::init' hides overloaded virtual function
2016-01-11 11:19:24 +01:00
Sebastien Loriot f046d2cd11 Merge pull request #599 from afabri/Mesh_3-raw_image-GF
Add reading a raw image to the io_image_plugin
2016-01-11 11:04:12 +01:00
Jane Tournois 74355818b1 reorder parameters for border_halfedges() 2016-01-11 10:19:41 +01:00
Laurent Rineau 60189a3c98 Fix a compilation error 2016-01-08 18:31:31 +01:00
Laurent Rineau c97564a81a Fix a warning
.. and a logic error!
2016-01-08 18:29:21 +01:00
Laurent Rineau bd315dc0a5 Merge remote-tracking branch 'lrineau/Polyhedron-Mesh_3_plugin__add_Meshing_thread-lrineau' into Mesh_3-merge-manifold-meshing-thread
Conflicts:
	Polyhedron/demo/Polyhedron/Plugins/Mesh_3_plugin/Mesh_3_plugin.cpp
	Polyhedron/demo/Polyhedron/Plugins/Mesh_3_plugin/Mesh_3_plugin_cgal_code.cpp
2016-01-08 17:55:21 +01:00
Laurent Rineau 4638645a01 Merge PR #597 into Mesh_3-manifold_criterion-lrineau
Conflicts:
	Polyhedron/demo/Polyhedron/Plugins/Mesh_3_plugin/Mesh_3_plugin.cpp
	Polyhedron/demo/Polyhedron/Plugins/Mesh_3_plugin/Mesh_3_plugin_cgal_code.cpp
2016-01-08 17:41:02 +01:00
Andreas Fabri 7fa7db80d4 Add output to Avizo file format 2016-01-08 16:30:07 +01:00
Laurent Rineau ccb31e40ff Re-enable the meshing thread
The Mesh_3 plugin is also renamed to Mesh_3_plugin, like the same of its
file.
2016-01-08 15:10:09 +01:00
Simon Giraudot 268f50d84a Merge point sets: keep track of the names 2016-01-08 15:03:17 +01:00
Simon Giraudot 204a294ba8 Merge only available if at least two point sets are selected 2016-01-08 14:59:35 +01:00
Laurent Rineau dd9af877c7 better use of 'using CGAL::Three' 2016-01-08 14:34:44 +01:00
Simon Giraudot 49d6311de3 New plugin for merging point sets 2016-01-08 14:31:54 +01:00
Maxime Gimeno 1c8d2d573f Some fixes
- Put Nb null edges in the right place
- Made the dialog scrollable
- Made the dialog unique
- Replaced Nb. by # in the line titles
- Made the dialog a child of the main window so that it is closed along with the main window
2016-01-08 11:22:10 +01:00
Andreas Fabri 8125915f62 Add reading a raw image to the io_image_plugin 2016-01-08 10:14:06 +01:00
Andreas Fabri 778d1acb14 no need for wrapper Mesh_domain_with_polyline_features_3 2016-01-07 17:28:41 +01:00
Andreas Fabri 96ab2e4181 enable protection of polylines from a polyline item for segmented image and polyhedral domains 2016-01-07 17:00:20 +01:00
Sebastien Loriot f3bc10ef81 Merge pull request #549 from afabri/Polyhedron-clipping_in_shader-GF
Improve C3T3 item and meshing of a segmented image
2016-01-07 13:49:16 +01:00
Sebastien Loriot 9fc1810ab7 Merge pull request #577 from maxGimeno/Selection_tool_fix-GF
Selection tool fix
2016-01-07 13:34:09 +01:00
Laurent Rineau dbbca6cfe8 Fix: the manifold criterion was activated when the checkbox was *not* checked! 2016-01-06 17:30:53 +01:00
Laurent Rineau 02d3248535 Fix permissions 2016-01-06 16:05:23 +01:00
Sebastien Loriot d782bc4da8 Merge pull request #556 from sgiraudot/Polyhedron_demo-Quick_moving_display-GF
Polyhedron demo: quick moving display of point sets
2016-01-06 14:55:32 +01:00
Sebastien Loriot e6308db001 Merge pull request #543 from sloriot/PMP-unify_weight
Pmp unify weight
2016-01-06 14:54:26 +01:00
Sebastien Loriot 0b306b6e02 Merge pull request #575 from maxGimeno/IO_Plugins_names_unification
Unification of the names of the IO plugins
2016-01-06 14:51:46 +01:00
Laurent Rineau 6dd9321fb0 Fix: do not remove CGAL::FACET_VERTICES_ON_SAME_SURFACE_PATCH 2016-01-06 14:35:50 +01:00
Laurent Rineau 5ca23a105a Add the manifold criterion to the Mesh_3 plugin 2016-01-06 13:54:44 +01:00