Commit Graph

843 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 81972df60e Add a convenience IO header 2023-12-12 09:39:35 +01:00
Laurent Rineau 275c175f15 Merge pull request #5895 from sloriot/PMP-refine_mesh_along_isolevel
add function to refine a mesh along an isocurve
2023-12-11 14:00:49 +01:00
Laurent Rineau 721487fded Merge pull request #7873 from sloriot/PMP-improve_sizing_concept_and_new_ex
Isotropic remeshing: add example with custom dummy sizing
2023-12-11 13:56:13 +01:00
Sébastien Loriot 93a1549c65 used typedef 2023-12-11 11:34:42 +01:00
Sébastien Loriot d75e4f2f54 Merge remote-tracking branch 'cgal/master' into PMP-BF_autorefine 2023-12-08 13:26:06 +01:00
Sébastien Loriot bcdc0f9f92 remove non needed include 2023-12-08 11:45:25 +01:00
Andreas Fabri dac83a5717 PMP examples: unify type names 2023-11-22 15:11:11 +00:00
Sébastien Loriot 37fb95b5cd improve concept 2023-11-20 11:28:50 +01:00
Sébastien Loriot 730bbba98b add an example with a dummy custom sizing field 2023-11-20 10:03:16 +01:00
Sébastien Loriot 4d834098b8 Merge remote-tracking branch 'cgal/master' into HEAD 2023-11-16 10:39:31 +01:00
Jane Tournois 1e138a011b fix compilation 2023-11-16 09:37:41 +01:00
Sébastien Loriot e4f9a57914 do not use deprecated API 2023-11-16 09:37:41 +01:00
Ivan Pađen 959311048b Fix Adaptive_sizing_field template issue 2023-11-16 09:37:40 +01:00
Ivan Paden 0481c624e2 Cleanup the example 2023-11-16 09:37:40 +01:00
hoskillua 8d15e0cb8a wip: qem incomplete 2023-11-08 17:30:23 +03:00
hoskillua 8ea673dec9 linux build fixes 2023-11-08 14:34:52 +03:00
hoskillua 7aa5b66450 fixed isolated vertices + clean up 2023-11-07 09:59:13 +03:00
hoskillua c4d02d1996 update example file 2023-11-07 05:20:52 +03:00
hoskillua 0868dcc009 minor changes 2023-10-31 09:00:25 +01:00
hoskillua bbc5a345b8 adaptive clustering first version 2023-10-31 09:00:25 +01:00
hoskillua d2e4f36c8f Polyhedron demo (incomplete) 2023-10-31 09:00:24 +01:00
hoskillua d4cb18f123 disconnection check + using subdivision 2023-10-31 09:00:24 +01:00
hoskillua 190ac09dc3 some fixes (now clusters look very clean)
need to clean up code
2023-10-31 09:00:24 +01:00
hoskillua c9e4db0d63 weight (dual area computation) 2023-10-31 09:00:24 +01:00
hoskillua 6625e100b5 energy minimzaition (not stable yet) 2023-10-31 09:00:24 +01:00
hoskillua 3230628abf ACVD initial cluster expansion 2023-10-31 09:00:24 +01:00
Sébastien Loriot df0e0ee9bb implement comments from review 2023-10-09 08:50:17 +02:00
Sébastien Loriot 584771e6a7 rename 2023-10-09 05:34:55 +02:00
Sébastien Loriot 7d12160e18 update doc 2023-10-03 11:52:04 +02:00
Mael Rouxel-Labbé 5425d089da Merge remote-tracking branch 'cgal/master' into PMP-Remove_degen_faces-no-clear-GF 2023-09-05 14:52:16 +02:00
Sébastien Loriot a528464f31 Merge branch 'cgal/master' into PMP-BF_autorefine 2023-08-28 13:44:44 +02:00
hoskillua a94a7337c2 Merge remote-tracking branch 'upstream/master' into gsoc2022 2023-08-25 14:51:46 +03:00
Ivan Paden 613b0a8914 Merge branch 'master' into PMP-add_sizing_in_isotropic_remeshing-GF 2023-08-21 22:18:37 +02:00
Ivan Paden 4a8974d256 Move sizing classes to 'public' headers 2023-11-16 09:31:19 +01:00
Ivan Paden 00b4b93d1c Remove the adaptive sizing field dependency in remesh.h 2023-11-16 09:30:10 +01:00
Ivan Paden 15ad1f78eb Change example input to be analogous to uniform sizing 2023-11-16 09:30:10 +01:00
Ivan Paden 1c597a07cf Move sizing map calculation to constructor 2023-11-16 09:16:00 +01:00
Ivan Paden c8a96328bd Use C++17 CTAD in example 2023-11-16 09:16:00 +01:00
Ivan Paden 947ab8f125 Make a (temp) property map for curvature calculation 2023-11-16 09:13:31 +01:00
Ivan Paden 92a434018a Add sizing field calculation from curvature
WIP: isotropic remeshing default overload is now broken
2023-11-16 09:12:17 +01:00
Sébastien Loriot fdb6b799a9 add doc + do the autorefine inplace for the soup 2023-07-21 13:32:25 +02:00
Sébastien Loriot b86a1fed32 Merge remote-tracking branch 'sloriot/PMP-BF_autorefine' into PMP-BF_autorefine 2023-07-05 17:59:29 +02:00
Sébastien Loriot 9cdfe70abb Merge remote-tracking branch 'sloriot/CGAL-toward_6.0' 2023-06-15 11:34:09 +02:00
Sébastien Loriot 604dcdc435 boost::optional => std::optional 2023-06-15 10:57:09 +02:00
Sébastien Loriot 45c7b0015f add stop 2023-06-12 10:55:56 +02:00
Sébastien Loriot 4b2f3e6ec7 take np into account for concurrency 2023-05-30 16:01:05 +02:00
Andreas Fabri 2695834873 Rename lambdas 2023-05-30 08:10:06 +01:00
Andreas Fabri 278e1867aa parallize #1 2023-05-26 17:12:28 +01:00
Sébastien Loriot 5d73a7addd add TODOs for parallelism 2023-05-25 10:06:51 +02:00
Ivan Paden eb2a023c31 Merge PR #6760 into gsoc2023-adaptive_remesh-ipadjen 2023-05-21 08:50:10 +02:00
Ivan Paden 5c4e6ed7b5 Create a vertex property map that will contain sizing info (WIP)
Also, update target length checks
2023-05-19 23:48:30 +02:00
Ivan Paden 7326fb52ce Add initial preparations for adaptive sizing field
Add Adaptive_sizing_field header with edge min and max limits, and tolerance
Adjust the example
2023-05-19 23:47:41 +02:00
Mael Rouxel-Labbé 34a9756836 Use BGL API instead of assuming graph.clear() exists 2023-05-15 12:42:13 +02:00
Jane Tournois 0ee9406235 add possibility to provide a variable sizing field to PMP::isotropic_remeshing
# Conflicts:
#	Polygon_mesh_processing/examples/Polygon_mesh_processing/CMakeLists.txt
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h
2023-05-11 16:05:48 +02:00
Laurent Rineau d2bc415a15 Merge pull request #6950 from lrineau/CGAL-allow_Epick_with_float-GF
Simple_precision_epick: an Epick-like kernel with float as FT
2023-05-04 16:37:17 +02:00
Laurent Rineau 4d76e06383 Merge pull request #7392 from MaelRL/CGAL_IO-Obj_fixes-GF
Fix issues in OBJ I/O
2023-04-24 14:08:22 +02:00
Laurent Rineau 4fe208bdd3 Merge pull request #7392 from MaelRL/CGAL_IO-Obj_fixes-GF
Fix issues in OBJ I/O
2023-04-24 14:06:34 +02:00
Mael Rouxel-Labbé b8e82b9c05 Merge remote-tracking branch 'cgal/master' into PMP-Triangulate_PS-GF 2023-04-18 12:16:27 +02:00
Mael Rouxel-Labbé 82e130d951 Minor example improvements 2023-04-18 12:14:10 +02:00
Laurent Rineau 1dce90ee79 Merge remote-tracking branch 'cgal/master' into CGAL-allow_Epick_with_float-GF 2023-04-07 10:59:51 +02:00
Sébastien Loriot 2bae23a2d5 triangulate soup 2023-04-06 19:26:58 +02:00
Sébastien Loriot d3bcae07c6 Merge pull request #7353 from MaelRL/PMP-Triangulate_PS-GF
Add triangulate Polygon Soup
2023-04-06 19:26:25 +02:00
Sébastien Loriot 85b3f7ed57 working around non-triangular polygons 2023-04-06 19:25:46 +02:00
Sébastien Loriot d979121cd2 repair soup is still recommanded 2023-04-06 19:25:45 +02:00
Sébastien Loriot b4887272e8 use soup as input/output in example 2023-04-06 19:25:45 +02:00
Sébastien Loriot 944475f169 triangulate input faces 2023-04-06 17:54:48 +02:00
Sébastien Loriot 6df9926f9b add another example with soup as input 2023-04-06 17:54:48 +02:00
Sébastien Loriot a1ff847b6a add "brute-force" version of autorefine() 2023-04-06 17:54:44 +02:00
Andreas Fabri e816f17ef4 Derive Visitor in example to have default implementations of some callbacks 2023-04-04 08:47:07 +01:00
Sebastien Loriot a34ada1cfe Apply suggestions from code review
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
2023-03-31 14:39:33 +02:00
Sébastien Loriot 36e309e677 add example for almost coplanar remeshing 2023-03-31 14:39:33 +02:00
hoskillua 33c7f5c03a traillling spaces 2023-03-27 19:37:31 +02:00
hoskillua 4279a734bf minor linting changing 2023-03-27 19:35:31 +02:00
hoskillua 057b6fc2dd gaussian -> Gaussian in example files 2023-03-27 17:20:26 +02:00
hoskillua 556218bf15 gaussian -> Gaussian in docs and comments 2023-03-25 11:57:22 +02:00
Sébastien Loriot 661513b16e gaussian -> Gaussian 2023-03-22 19:12:28 +01:00
Sébastien Loriot 664aa7c162 Merge remote-tracking branch 'cgal/master' into HEAD 2023-03-22 18:16:01 +01:00
Sébastien Loriot a601cbc5e7 first pass on the API 2023-03-22 18:13:27 +01:00
Sébastien Loriot b1d2744821 Merge branch 'master' into PMP-decimation 2023-03-02 14:24:27 +01:00
Laurent Rineau a5052f4cd8 Merge pull request #6835 from MaelRL/CGAL-Clean_CMakeLists.txt-GF
Some CMakeLists.txts cleaning
2023-02-16 10:52:29 +01:00
Sébastien Loriot fbe559adc9 Merge 'cgal/master' into PMP-decimation 2023-02-14 08:33:24 +01:00
Sébastien Loriot 88bb9570c0 implement API update 2023-02-10 16:09:44 +01:00
Laurent Rineau d33d71a4e0 Merge pull request #7125 from MaelRL/PMP-flip_criterion-GF
Modify flipping criteria in PMP::isotropic_remeshing and PMP::refine
2023-02-10 15:40:49 +01:00
Sébastien Loriot 9e137bca24 Merge 'cgal/master' 2023-01-31 12:26:55 +01:00
hoskillua 4f4eeea292 removing _example suffix (renaming) 2023-01-31 11:55:15 +02:00
hoskillua 2ccabc9289 renaming files 2023-01-29 09:39:39 +02:00
hoskillua 8d2043d0aa renaming
mostly to pass the max path error
2023-01-28 15:54:35 +02:00
Mael 153c603209
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2023-01-27 22:09:02 +01:00
hoskillua 00cf0970e5 changed the mesh file used in examples 2023-01-26 12:04:51 +02:00
hoskillua 864eb9be4e Merge remote-tracking branch 'cgal-fork/gsoc2022' into gsoc2022-ICC-hoskillua 2023-01-24 14:38:02 +02:00
Sébastien Loriot 69c21bccc3 Merge 'master' 2023-01-24 11:29:48 +01:00
hoskillua a7cd6a275e trailling whitespaces 2023-01-24 09:00:24 +02:00
hoskillua 483e8b8e50 User manual + add example file for 1 vertex curvature 2023-01-24 08:44:09 +02:00
Mael 4d22c90474
Merge branch 'master' into feature/bug_documentation_spell_20221113 2023-01-04 10:06:45 +01:00
Mael Rouxel-Labbé a798fb6803 Minor example improvements 2022-12-16 16:20:25 +01:00
Mael 6538b22e06
Merge branch 'master' into CGAL-Clean_CMakeLists.txt-GF 2022-12-05 16:03:41 +01:00
Andreas Fabri 2b26b8dd31 Don't use deprecated code in examples 2022-11-30 07:58:02 +00:00
hoskillua f35faf60e1 minor doc fixes and renaming 2022-11-19 11:54:20 +02:00
hoskillua e302b02f76 Docs: adding bibtex, ack of DGtal, Authors + Renaming vars + minor fix
+ removing last commit's approach
2022-11-19 11:02:26 +02:00
hoskillua b56500d0fc 4-space -> 2-space indents 2022-11-16 12:51:14 +02:00
albert-github eed54a0ae5 spelling corrections
Some spelling corrections (Directories starting with `O`-`S` , first part),
some backward work
some forward work
2022-11-15 18:45:39 +01:00
hoskillua 6ca7331549 fixes, doc, examples, general cleanup 2022-11-14 11:26:13 +02:00
hoskillua 2dcb2939b9 compute multiple curvatures at same time + no radius handled 2022-11-13 13:32:38 +02:00
hoskillua aff46b6162 incomplete (integrating class for combined curvature computations) 2022-11-09 17:32:42 +02:00
Mael 8ff15b25a0
reparation -> repairing 2022-11-09 15:44:10 +01:00
Jane Tournois aab981e74f use CGAL::to_double because cast-to-double may not be available for all number types 2022-11-08 17:39:53 +01:00
Laurent Rineau 92d8d1c805 Merge remote-tracking branch 'cgal/master' into CGAL-allow_Epick_with_float-GF
# Conflicts:
#	Mesh_3/test/Mesh_3/test_meshing_3D_image.cpp
2022-11-08 12:11:06 +01:00
hoskillua 38c66a61e3 typo fixes 2022-11-06 18:23:51 +02:00
Laurent Rineau 2f9e031da7 Fix parts of PMP with Simple_precision_epick 2022-10-28 12:08:11 +02:00
Sébastien Loriot 0cac6a9da8 Merge remote-tracking branch 'sloriot/PMP-decimation' into PMP-decimation 2022-10-25 14:55:57 +02:00
Sébastien Loriot c4f6912e47 use correct API 2022-10-19 13:55:19 +02:00
Sébastien Loriot 36c16eeedf fix function names in the visitor 2022-10-17 15:39:01 +02:00
hoskillua 2cb8906639 principle -> principal typo fixed 2022-10-07 21:36:30 +02:00
hoskillua 4f76f267d5 mostly docs and examples, moved utils to internal 2022-10-05 00:38:23 +02:00
hoskillua e0c596d29e principal curvatures and directions visualization 2022-09-25 22:03:50 +02:00
Mael Rouxel-Labbé 7a136f7116 Update repair_PS example 2022-09-13 11:14:59 +02:00
Mael Rouxel-Labbé 9b265fddf8 Uniformize REQUIRED / QUIET usage:
Following this:
- CGAL: always REQUIRED
- CGAL component: COMPONENT / OPTIONAL_COMPONENT (never QUIET)
- required 3rd party: (not QUIET) + message(NOTICE "") on NOT_FOUND
- optional 3rd party: QUIET + message(STATUS "") except for Polyhedron/demo
- 3rd party components: COMPONENT / OPTIONAL_COMPONENT
                        (QUIET depending on required or optional 3rd party)
2022-09-06 16:24:27 +02:00
Mael Rouxel-Labbé 7cb21c24b0 Uniformize message() for missing 3rd party libraries
STATUS for non-essential, NOTICE for important stuff
2022-09-06 16:07:31 +02:00
hoskillua 48262af424 fixing eigenvector definitions 2022-08-27 19:46:33 +02:00
hoskillua 36d0fd4e5b using internal property (SurfMesh) in example 2022-08-08 05:41:34 +02:00
hoskillua 85332fed6d according to some of the review comments on the pull 2022-08-05 13:58:52 +02:00
hoskillua 24551e2cbb principal curvatures completed (but not properly tested) 2022-08-04 10:51:45 +02:00
hoskillua 24edaa24b5 principal curvatures (yet to decompose MuXY Matrix) 2022-08-03 18:59:08 +02:00
hoskillua 83093295f5 Principal Curvatures wip 2022-08-03 14:30:52 +02:00
hoskillua db753ee6b5 Demo improvements + minor fixes
- Fixed some typos in example file and in comment in display prop plugin
- Added an option in random perturbation plugin to compute normals before hand
- added slider for expanding radius with an exponential range and with max val dependant on max edge length
2022-07-31 00:21:55 +02:00
hoskillua 12a627e23f expanding from and evaluating on vertices instead of faces 2022-07-27 15:40:06 +02:00
hoskillua 41be3688ae Mean and Gaussian Curvatures + Visualizer (Still wip) 2022-07-26 19:32:17 +02:00
hoskillua 063e058988 minor changes regarding the pull review
reordering includes, splitting too long lines, minor addition to doc
regarding review on the pull req
2022-07-22 15:29:19 +02:00
hoskillua 8fea1a94a2 minor fix 2022-07-18 22:40:38 +02:00
hoskillua 5cc75c0bc4 Updated Demo Display property plugin, added to license list, 2022-07-18 21:57:42 +02:00
hoskillua a5f99699e2 used a face property map for computing measures, added license
will update docs to match
void
    interpolated_corrected_measure_mesh(
        const PolygonMesh& pmesh,
        FaceMeasureMap fmm,
        const Measure_index mu_i,
        NamedParameters& np = parameters::default_values())
{
later if it works
2022-07-18 16:17:03 +02:00
hoskillua 4b0577a2cf added doc (yet to build), used generic GT instead of Epic, made VNM a named parameter (WIP) 2022-07-17 18:46:04 +02:00
hoskillua 2eeb88ac96 moved my main program to a new example file in PMP 2022-07-15 13:18:56 +02:00
Sébastien Loriot e7b9e48d76 do not use deprecated API 2022-06-08 17:49:08 +02:00
Jane Tournois 2159aea79a add missing link with Eigen 2022-06-07 10:10:55 +02:00
Jane Tournois 86c9a35c15 Merge remote-tracking branch 'cgal/master' into PMP-add_surface_mesher-jtournois 2022-06-02 08:25:30 +01:00
Sebastien Loriot 709f123256
Merge pull request #6461 from afabri/Box_intersection-progress-GF
Fast Box Intersection:  Add progress tracking
2022-05-13 17:22:43 +02:00
Sébastien Loriot 7bf54e9de1 Merge pull request #6450 from afabri/PMP-hole_filling_progress-GF
PMP::triangulate_hole(): Add Visitor
2022-05-13 17:20:26 +02:00
Sébastien Loriot 64979f79fa use non-deprecated np 2022-05-13 15:36:24 +02:00
Sébastien Loriot 51d525778a fixes after review 2022-05-11 17:48:24 +02:00
Andreas Fabri eaa70a7520 int -> std::size_t (only catched with /W3) 2022-05-11 07:06:41 +01:00
Sébastien Loriot f966d9b0b9 more uniform naming scheme 2022-05-10 17:58:54 +02:00
Sébastien Loriot 7fdc5da83d add doc + renaming 2022-05-10 17:41:42 +02:00
Sébastien Loriot a8621f370a clean up and add more visitor calls 2022-05-10 15:07:10 +02:00
Jane Tournois 3fe4c316a7 remove extra empty lines 2022-05-10 09:47:09 +02:00
Andreas Fabri aef14430b6 typos 2022-05-06 14:55:37 +01:00
Sébastien Loriot c18c3af6ac fix conversion warnings 2022-05-06 09:47:17 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Sébastien Loriot 531ab922b4 add visitor calls for refine and fair phases 2022-05-05 14:16:53 +02:00
Sébastien Loriot 78e638b748 restore example and create a one dedicated to the visitor 2022-05-05 13:34:38 +02:00