Commit Graph

68164 Commits

Author SHA1 Message Date
Jane Tournois 1f0a11191d do not project back constrained vertices 2016-04-21 15:30:59 +02:00
Jane Tournois 2fb5fa4a26 ecmap_ will be updated at the end of the remeshing process
this "put" is useless
2016-04-21 15:29:56 +02:00
Jane Tournois f777c53b61 add stuff to verbose mode 2016-04-21 15:29:53 +02:00
Jane Tournois fdb663685a fix mesh deformation plugin
now the ROI vertices are properly re-selected after remeshing
2016-04-21 15:29:52 +02:00
Maxime Gimeno 9be465aad9 Adds the possibility to choose the name of the point_sets and polylines created on the fly, but keeps the same counter. 2016-04-21 15:28:58 +02:00
Jane Tournois ba91119696 make sure an edge between two patches is considered a constraint 2016-04-21 15:28:33 +02:00
Jane Tournois a391f5eb36 use face_patch_map also when remeshing the whole polyhedron 2016-04-21 15:28:32 +02:00
Jane Tournois 51d3b22e69 set polyhedron_item multicolor 2016-04-21 15:26:56 +02:00
Sébastien Loriot ded29c7304 correct definition of Self 2016-04-21 15:26:55 +02:00
Jane Tournois c1e5d67f7c use face_patch_map in isotropic remeshing 2016-04-21 15:26:54 +02:00
Jane Tournois 296bcdb04b back to previous version of Patch_id_property_map 2016-04-21 15:26:53 +02:00
Jane Tournois 14e906d51b add default constructor 2016-04-21 15:26:52 +02:00
Jane Tournois badfb8f2b8 remove default values. Values are given by every call to this constructor 2016-04-21 15:26:51 +02:00
Sébastien Loriot cfe32713d7 add default constructor for pmap 2016-04-21 15:26:50 +02:00
Jane Tournois 5f5397a5d3 parameters pmesh and ecmap can't be used here 2016-04-21 15:25:29 +02:00
Jane Tournois f0bb4febb5 improve remeshing test and get() in pmap 2016-04-21 15:25:28 +02:00
Jane Tournois ee89276102 isotropic remeshing : introduce surface_patch ids as an input read write pmap 2016-04-21 15:23:20 +02:00
Jane Tournois c0f30e18a8 add constrained vertices to isotropic remeshing
those vertices cannot be modified
2016-04-21 15:21:29 +02:00
Jane Tournois c522c6a2a8 restore ROI after deformation 2016-04-21 15:17:24 +02:00
Jane Tournois 253d4f28a6 update the constraints property map after the end of remeshing 2016-04-21 15:10:02 +02:00
Maxime Gimeno c7894cb680 Changed the c3t3_item to use an intersection_item 2016-04-21 15:03:57 +02:00
Jane Tournois 1a33081f79 transform EdgeIsConstrainedMap into a member variable 2016-04-21 15:00:46 +02:00
Maxime Gimeno de524bfecf 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-04-21 14:46:57 +02:00
Maxime Gimeno 3c388c94a6 Fix for the polyhedorn_item's colors
- The color calculation when the item is not monochrome was not done correctly.
2016-04-21 14:45:29 +02:00
Sébastien Loriot cbd27d6793 allow reading of unstructuredGrid from non-XML files 2016-04-21 14:34:36 +02:00
Sébastien Loriot 7bf1db3f39 plug error handler to the reader 2016-04-21 14:32:21 +02:00
Jane Tournois 205e3afe0a add error observer to vtk Plugin
as suggested here
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/ObserveError

does not work yet
2016-04-21 14:25:58 +02:00
Jane Tournois 84634a48ea deal with xml and discriminate with a template parameter 2016-04-21 14:21:29 +02:00
Maxime Gimeno 32f92f1445 Adding a spheres_item to the edit_polyhedron_item and fixing some problems 2016-04-21 10:40:04 +02:00
Simon Giraudot d04378bc7a Update doc with latest review 2016-04-21 09:57:16 +02:00
Simon Giraudot 629571b8cb Test symmetry regularization 2016-04-21 09:42:07 +02:00
Simon Giraudot 5d5778f58e Fix symmetry regularization 2016-04-21 09:41:03 +02:00
Maxime Gimeno f39865ce7c clean up 2016-04-21 08:34:52 +02:00
Simon Giraudot abf2070f77 Clean up code 2016-04-21 07:56:03 +02:00
Guillaume Damiand 8d5743ba24 Do not use template for function calls outside template class. 2016-04-21 07:20:08 +02:00
Maxime Gimeno c5cea064cb Fix for Scene_polyhedron_item::setColor, that corrupted the vector colors_. 2016-04-20 17:31:51 +02:00
Laurent Rineau f97d5b7bd5 Restore the assertion 2016-04-20 15:59:04 +02:00
Simon Giraudot b101e9bc4c New test for plane_regularization 2016-04-20 15:35:25 +02:00
Simon Giraudot 18a3db0014 Use plane.d() to update m_d in Plane_shape 2016-04-20 15:34:58 +02:00
Simon Giraudot f28b7adc7b Some additional fixes 2016-04-20 15:34:39 +02:00
Laurent Rineau 62d1cfecbe Fix compilation errors (in the Polyhedron Demo) 2016-04-20 15:26:49 +02:00
Laurent Rineau f63605355a Bug-fix in Image_3::labellized_trilinear_interpolation
The 'value_outside` was not correctly used.
2016-04-20 15:25:06 +02:00
Laurent Rineau 89129b362f Fix a bug with Null_subdomain_index 2016-04-20 15:24:26 +02:00
Laurent Rineau 5cf76255f8 Revert a decision made two years ago
I have decided to revert this commit:

> commit 874e96a553
> Author: Laurent Rineau <laurent.rineau@cgal.org>
> Date:   Tue Feb 4 12:33:59 2014 +0100
>
>     Fix a bug of the bissection oracle (Labeled_mesh_domain_3)
>
>     In CGAL-4.2 and previous, when a facet f was between finite cells c1,
>     and c2, with different subdomain indices, the surface patch index of f
>     was the pair { c1->subdomain_index(), c2->subdomain_index() }, say the
>     pair (1, 2). Since CGAL-4.3, with
>     CGAL_MESH_3_NO_LONGER_CALLS_DO_INTERSECT_3, the Do_intersect functor of
>     the domain is no longer called, and only Construct_intersection. If the
>     bissection eventually found out that the bissection ended up between the
>     volumes labeled 1 and 3, then the returned surface patch index was
>     {1,3}, instead of {1,2}. That commit fixes that "bug", and restores
>     the behavior of CGAL-4.2.

I have "fixed" the test as well.
2016-04-20 15:22:53 +02:00
Laurent Rineau 55e0df7556 Fix a comment 2016-04-20 15:17:42 +02:00
Laurent Rineau 36ee6cc30b Renaming: Target_word_type->Target_type
The target type may be a floating point type. Strange to call it a "word".
2016-04-20 15:16:04 +02:00
Simon Giraudot fc7d47e8d7 Add condition for subgraphing mutually orthogonal clusters 2016-04-20 12:57:13 +02:00
Laurent Rineau 731a80c6cb Merge pull request #1022 from afabri/patch-2
Dual has been added in 4.9, not in 4.8
2016-04-20 12:51:46 +02:00
Simon Giraudot 5252b4ef36 Bugfix: bad index copy-paste 2016-04-20 12:35:30 +02:00
Maxime Gimeno 176770fa00 - Addition of a reference to the scene in the group_item so it can add its own children
- Modification of the Scene_polylines_item to use a child spheres_item
- fixes about the groups
2016-04-20 12:18:20 +02:00