Commit Graph

145 Commits

Author SHA1 Message Date
Pierre Alliez 64261f0acd shorter named parameters (code to update in accordance!)
namespace VSA for error metrics

file and classes renamed for error metrics (should be named xx_metric_yy_proxy)
2018-11-30 15:30:51 +08:00
Pierre Alliez 07cb9e4c52 cleanup examples 2018-11-30 15:30:51 +08:00
Lingjie Zhu 33913d6664 add_proxy_furthest -> add_to_furthest_proxies
maybe better name
2018-11-30 15:30:08 +08:00
Lingjie Zhu f5b27f3411 indexed triangle switch to CGAL::cpp11::array<std::size_t, 3> 2018-11-30 15:30:08 +08:00
Lingjie Zhu 555c9ed342 ApproximationTraits to ErrorMetric 2018-11-30 15:30:08 +08:00
Lingjie Zhu 247ce2f858 switch demo/example/test/benchmark to Approximation traits 2018-11-30 15:30:08 +08:00
Lingjie Zhu f276cac096 remove Polyhedron output mesh
vsa_mesh_approximation + vsa_mesh_segmentation -> mesh_approximation
2018-11-30 15:30:08 +08:00
Lingjie Zhu 745f87e172 remove VSA namespace
CGAL::VSA::Metrics -> CGAL::Metrics
CGAL::VSA::parameters -> CGAL::Surface_mesh_approximation::parameters
2018-11-30 15:30:08 +08:00
Lingjie Zhu e94ee29de2 remove VSA namespace
CGAL::VSA::Mesh_approximation -> CGAL::VSA_approximation
2018-11-30 15:30:08 +08:00
Lingjie Zhu 74f5357120 remove free function VSA:: namespace 2018-11-30 15:30:08 +08:00
Pierre Alliez bcfd60e918 massaged examples
(one TODO added)
2018-11-30 15:24:16 +08:00
Andreas Fabri 0cb55dfd8d Use dynamic_property_map 2018-11-30 15:24:16 +08:00
Lingjie Zhu 6434be16d5 doc: add another approximation example files 2018-11-30 15:24:16 +08:00
Lingjie Zhu 11f138df8f doc: update examples 2018-11-30 15:24:16 +08:00
Lingjie Zhu 255e107942 remove init from named parameters 2018-11-30 15:24:16 +08:00
Lingjie Zhu af6a8a5df2 replace init with seeding 2018-11-30 15:24:16 +08:00
Lingjie Zhu b11b32e35e remove init_by_ interfaces 2018-11-30 15:24:16 +08:00
Lingjie Zhu fa81af898f named parameter
iterations -> nb_of_iterations
inner_iterations -> nb_of_relaxations
2018-11-30 15:24:16 +08:00
Pierre Alliez a0c2416f47 massaging user manual (seeding) 2018-11-30 15:24:16 +08:00
Lingjie Zhu 8a1c9f9323 add vsa_mesh_segmentation with explicit segment map output 2018-11-30 15:24:16 +08:00
Lingjie Zhu 35f3cc6052 minor fixes 2018-11-30 15:24:16 +08:00
Andreas Fabri 7246d2feb6 Simplify the examples 2018-11-30 15:24:16 +08:00
Pierre Alliez 5d1c3edc52 One global pass on user manual
Examples massaged
2018-11-30 15:24:16 +08:00
Lingjie Zhu e09a512f36 named parameter
init_by_number/refine_until_proxies -> max_nb_proxies
init_by_error -> min_error_drop
2018-11-30 15:24:16 +08:00
Lingjie Zhu 618891c53c fix scoped metric and class naming 2018-11-30 15:24:16 +08:00
Lingjie Zhu 9e4a7a98e2 fix class interface
scoped seeding enum
scoped class name
run_one_step to run
indexed triangle triplet representation
named parameter output_mesh() expects polyhedron pointer
2018-11-30 15:24:16 +08:00
Lingjie Zhu c8f38f2766 add separate mesh segmentation API 2018-11-30 15:24:16 +08:00
Lingjie Zhu e97786a4ea clarify examples of free function interface 2018-11-30 15:24:16 +08:00
Pierre Alliez 1e4e6329ba simplest example 2018-11-30 15:24:16 +08:00
Pierre Alliez 7f515a63d4 massaging the examples as desired (do not compile)
added todo list
2018-11-30 15:24:16 +08:00
Pierre Alliez 86e6a2af7c VSA simplest example (desired) 2018-11-30 15:24:16 +08:00
Lingjie Zhu 950a0f3ca7 rename meshing to extract_mesh 2018-11-30 15:24:16 +08:00
Pierre Alliez a11d1b5bf1 VSA example: simpler naming 2018-11-30 15:24:16 +08:00
Lingjie Zhu 4bcb44f1d9 fix headers, c++11 scoped enum and cgal return 2018-11-30 15:24:16 +08:00
Lingjie Zhu 60ebaf8348 fix typos and headers 2018-11-30 15:24:16 +08:00
Pierre Alliez a57c658ca7 VSA
One pass on examples
2018-11-30 15:24:16 +08:00
Lingjie Zhu dca5d62a26 replace in-class method enum with out-of-class enum 2018-11-30 15:24:16 +08:00
Lingjie Zhu f7ddca3b07 free function API init with explicit method 2018-11-30 15:24:16 +08:00
Lingjie Zhu 7cbf80b02b rename initialization from seeding_by_x to init_by_x 2018-11-30 15:24:16 +08:00
Lingjie Zhu 8ddf98ff93 change indexed triangle type to unsigned 2018-11-30 15:24:16 +08:00
Lingjie Zhu a4df63f391 update doc 2018-11-30 15:24:16 +08:00
Lingjie Zhu 1dabf87cfe fix add proxy furthest 2018-11-30 15:24:16 +08:00
Lingjie Zhu b4eead5e7b rename seeding method enumeration 2018-11-30 15:24:16 +08:00
Lingjie Zhu 27da4147c7 explicit proxy adding API 2018-11-30 15:24:16 +08:00
Lingjie Zhu bcb59d7db4 rearrange seeding by number 2018-11-30 15:24:16 +08:00
Lingjie Zhu 8e1cd3a2df change enumeration swith to explicit seeding API 2018-11-30 15:24:16 +08:00
Lingjie Zhu bd3dcc8ebc simplify self-defined metric 2018-11-30 15:24:16 +08:00
Lingjie Zhu 261a5ca218 rename 2018-11-30 15:24:16 +08:00
Lingjie Zhu 2f6e3be1d8 remove Proxy template parameter in main class 2018-11-30 15:24:16 +08:00
Lingjie Zhu d7bb0e1a68 remove seed requirement from Proxy concept 2018-11-30 15:24:16 +08:00
Lingjie Zhu f718159e21 fix examples accordingly 2018-11-30 15:24:16 +08:00
Lingjie Zhu e17de031de rename file and debug verbose 2018-11-30 15:24:16 +08:00
Lingjie Zhu 605486191c coherent example identifiers 2018-11-30 15:24:16 +08:00
Pierre Alliez d04b2ee4d8 Lighten the examples a bit 2018-11-30 15:24:16 +08:00
Lingjie Zhu f1644829da fix subdivide chord parameter 2018-11-30 15:24:16 +08:00
Lingjie Zhu 0f081cae62 fix examples 2018-11-30 15:24:16 +08:00
Lingjie Zhu d0fb492919 update CMakeLists 2018-11-30 15:24:16 +08:00
Lingjie Zhu 8665e5d830 rename file 2018-11-30 15:24:16 +08:00
Lingjie Zhu 1918e86be2 fix benchmarks/examples/tests to new metrics 2018-11-30 15:24:16 +08:00
Lingjie Zhu d6e79d8785 switch metric example to class interface 2018-11-30 15:24:16 +08:00
Lingjie Zhu 8a9beadc46 combine class interface and l2 metric example 2018-11-30 15:24:16 +08:00
Lingjie Zhu 345d6de1f8 add output named parameters 2018-11-30 15:24:16 +08:00
Lingjie Zhu 099d52d792 add named params helper 2018-11-30 15:24:16 +08:00
Lingjie Zhu 52a92a7101 remove approximate_and_extraction example 2018-11-30 15:24:16 +08:00
Lingjie Zhu 495683a786 add simple named parameter test 2018-11-30 15:24:16 +08:00
Lingjie Zhu 8cdd5ab192 fix class interface example 2018-11-30 15:24:16 +08:00
Lingjie Zhu 48af7be987 add class interface example 2018-11-30 15:24:16 +08:00
Lingjie Zhu f031ae3800 fix examples 2018-11-30 15:24:16 +08:00
Lingjie Zhu 948f436f9a add l2 metric example 2018-11-30 15:24:16 +08:00
Lingjie Zhu 3bdf6528e7 remote ApproximationTraits from vsa_approximate 2018-11-30 15:24:16 +08:00
Lingjie Zhu 6eb9659b83 add const qualifier to functors 2018-11-30 15:24:16 +08:00
Lingjie Zhu 0f604cd58d remove seed update in proxy fitting 2018-11-30 15:24:16 +08:00
Lingjie Zhu afc8fadd33 cleanup compact metric 2018-11-30 15:24:16 +08:00
Lingjie Zhu f4c40b1244 separate plane fitting from approximation traits 2018-11-30 15:24:16 +08:00
Lingjie Zhu c0b84cd0b8 simplify PlaneFitting 2018-11-30 15:24:16 +08:00
Lingjie Zhu 176dfd288b simplify example files 2018-11-30 15:24:16 +08:00
Lingjie Zhu e07db9f714 rename API 2018-11-30 15:24:16 +08:00
Lingjie Zhu f64d38f1cc add approximation and extraction example 2018-11-30 15:24:16 +08:00
Lingjie Zhu 21115f74d0 use overlod API examples 2018-11-30 15:24:16 +08:00
Lingjie Zhu afedf5dd04 remove facet area map in API 2018-11-30 15:24:16 +08:00
Lingjie Zhu cc88b2bc36 remove GeomTraits template parameter 2018-11-30 15:24:16 +08:00
Lingjie Zhu 559b3a3d64 rename _3 suffix 2018-11-30 15:24:16 +08:00
Lingjie Zhu 18442760ed separate ProxyFitting and PlaneFitting concept 2018-11-30 15:24:16 +08:00
Lingjie Zhu e95cd8b010 rename ProxyFitting to L21ProxyFitting 2018-11-30 15:24:16 +08:00
Lingjie Zhu 8e281f0c7b reduce template parameter GeomTraits 2018-11-30 15:24:16 +08:00
Lingjie Zhu 9bd8b2b605 separate approximaiton traits file 2018-11-30 15:24:16 +08:00
Lingjie Zhu 7497cbdb53 renaming 2018-11-30 15:24:16 +08:00
Lingjie Zhu 739141324f fix compact metric example 2018-11-30 15:24:16 +08:00
Lingjie Zhu 8b83e5a6ae fix compact metric example cmake file 2018-11-30 15:24:16 +08:00
Lingjie Zhu cae8625a6f add compact metric example 2018-11-30 15:24:16 +08:00
Lingjie Zhu 33e137f9e2 fix example 2018-11-30 15:24:16 +08:00
Lingjie Zhu 23db965e9a add template parameter to main API 2018-11-30 15:24:16 +08:00
Lingjie Zhu fbc798ea3e setup an example 2018-11-30 15:24:16 +08:00
Lingjie Zhu fb7fd3eb9d fix rename in examples 2018-11-30 15:24:16 +08:00
Lingjie Zhu ee58edd4e6 add Surface_mesh_approximation package 2018-11-30 15:24:16 +08:00