Commit Graph

258 Commits

Author SHA1 Message Date
Lingjie Zhu 43dbe443aa delegate init_by_ to unified init 2018-11-30 15:24:16 +08:00
Lingjie Zhu eb0725afa1 use unified init in free function API 2018-11-30 15:24:16 +08:00
Lingjie Zhu b815906e14 unified init with two stop criteria
either/both/neither max_nb_proxies and/or min_error_drop specified
parameter check
implicit max number of proxies allowed num_faces/3
2018-11-30 15:24:16 +08:00
Andreas Fabri 82f429ee30 Replace std::map by boost::unordered_map to speed up. We can even do better with Dynamic_property_map 2018-11-30 15:24:16 +08:00
Lingjie Zhu 408bd0c1bd add private utility functions
surface facets shuffling
init from first facet
2018-11-30 15:24:16 +08:00
Lingjie Zhu 54a8a88e5d class API init
with max_nb_proxies and min_error_drop
better init_random
TODO: needs general init when both specified
2018-11-30 15:24:16 +08:00
Lingjie Zhu 7b6e1d2020 named parameter: both stop criteria can apply 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 2e6818e08c named parameter chord_subdivide to mesh_chord_error 2018-11-30 15:24:16 +08:00
Lingjie Zhu e42a120c8c add get_proxy_region 2018-11-30 15:24:16 +08:00
Lingjie Zhu 4e81f58d84 fix demo
cgal class naming convention
coherent if/for block style
new API
2018-11-30 15:24:16 +08:00
Lingjie Zhu 8f578ebd54 fix demo and test
to the new class/free function interface
scoped class/function/enum name
CGAL class naming convention
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
Lingjie Zhu 362d61da87 ignore non-manifold in output polyhedron 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 915adc5060 VSA
horse mesh deleted
uniformize capitalization of file names
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 30340e9b74 update doc 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 523f2035a1 add run_to_converge with average interval 2018-11-30 15:24:16 +08:00
Lingjie Zhu f28ee88b70 add num_iterations parameter to teleportation 2018-11-30 15:24:16 +08:00
Lingjie Zhu 7f3e3818fd teleport by replacing instead of 'push and merge' 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 a4ef69a631 add package license 2018-11-30 15:24:16 +08:00
Lingjie Zhu f64968de0c fix warnings 2018-11-30 15:24:16 +08:00
Lingjie Zhu cbacf07fe6 improve named parameters 2018-11-30 15:24:16 +08:00
Lingjie Zhu 5db214812d uniform get functions 2018-11-30 15:24:16 +08:00
Lingjie Zhu 9270e88bb9 demo set metric and rebuild 2018-11-30 15:24:16 +08:00
Lingjie Zhu b1673ae350 add with area weighing template parameter to l21 metric 2018-11-30 15:24:16 +08:00
Lingjie Zhu 62bf713a35 demo with proxy debug 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 1c2da84e8c fix add proxies with zero error diffusion 2018-11-30 15:24:16 +08:00
Lingjie Zhu 3fd408f437 typo 2018-11-30 15:24:16 +08:00
Lingjie Zhu 9fd77a904f fix compute fitting error 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 c0313150c8 rename seeding by error 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 e4428e2dd7 cleanup seeding by target error drop 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 8a923bcc8b rename facet proxy index map 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 1247d7dd86 add ProxyWrapper with seed and error, bundled ProxyPlane 2018-11-30 15:24:16 +08:00
Lingjie Zhu ce2db9860a fix demo meshing crash caused by duplicate insertion 2018-11-30 15:24:16 +08:00
Lingjie Zhu 2765827c5f add default and VertexPointMap type parameter 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 2f15e2fc13 fix named parameters doc 2018-11-30 15:24:16 +08:00
Lingjie Zhu a8b86837fb update doc 2018-11-30 15:24:16 +08:00
Lingjie Zhu 0c493de7fb fix MSVS warning 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 dd46cf820f fix initializer list order warning 2018-11-30 15:24:16 +08:00
Lingjie Zhu b749a57a40 fix teleport 2018-11-30 15:24:16 +08:00
Lingjie Zhu 77a7ba0b94 fix missing header 2018-11-30 15:24:16 +08:00
Lingjie Zhu 5348557e74 fix merge return 2018-11-30 15:24:16 +08:00
Lingjie Zhu cbcac2c8d8 fix split test 2018-11-30 15:24:16 +08:00
Lingjie Zhu 47fdf5e3e3 ouput polyhedron mesh 2018-11-30 15:24:16 +08:00
Lingjie Zhu 8665e5d830 rename file 2018-11-30 15:24:16 +08:00
Lingjie Zhu 480a254889 fix free function to new metrics 2018-11-30 15:24:16 +08:00
Lingjie Zhu 24bf94f576 add VertexPointMap parameter to built in metrics 2018-11-30 15:24:16 +08:00
Lingjie Zhu 45fae1b300 reduce build-in metric template parameters 2018-11-30 15:24:16 +08:00
Lingjie Zhu 9cef351b45 partition candidate with constructor 2018-11-30 15:24:16 +08:00
Lingjie Zhu 6556f504a2 move plane fitting into main class 2018-11-30 15:24:16 +08:00
Lingjie Zhu aef32f37a4 fix compile issues 2018-11-30 15:24:16 +08:00
Lingjie Zhu 85a026f0a7 fix init_proxies_error proxies clear 2018-11-30 15:24:16 +08:00
Lingjie Zhu bdd2d19626 make find best merge public 2018-11-30 15:24:16 +08:00
Lingjie Zhu faf86f642e add get proxy size function 2018-11-30 15:24:16 +08:00
Lingjie Zhu 4659c7bb08 add init proxies from target error drop 2018-11-30 15:24:16 +08:00
Lingjie Zhu 0e7918b9b8 fix run until convergence 2018-11-30 15:24:16 +08:00
Lingjie Zhu aaf59f7066 remove VSA.h 2018-11-30 15:24:16 +08:00
Lingjie Zhu 55fff6149d add named parameters 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 0b843c805f use output iterator to get output 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 495683a786 add simple named parameter test 2018-11-30 15:24:16 +08:00
Lingjie Zhu 22f6cc5ea9 add free function api 2018-11-30 15:24:16 +08:00
Lingjie Zhu 68044a6ede add named function parameters 2018-11-30 15:24:16 +08:00
Lingjie Zhu c137f3c832 subdivide_chord cleanup 2018-11-30 15:24:16 +08:00
Lingjie Zhu 27a384ec96 fix compute anchor position 2018-11-30 15:24:16 +08:00
Lingjie Zhu cd44aa6d5a fix trivial circular chord subdivision crash 2018-11-30 15:24:16 +08:00
Lingjie Zhu 703513cef2 main class cleanup 2018-11-30 15:24:16 +08:00
Lingjie Zhu b8f10eaee2 fix class interface meshing clear 2018-11-30 15:24:16 +08:00
Lingjie Zhu 456a46fbb1 main class default constructor and functer pointer member 2018-11-30 15:24:16 +08:00
Lingjie Zhu 963a91c00c ErrorMetric/ProxyFitting default constructable and mesh pointer member 2018-11-30 15:24:16 +08:00
Lingjie Zhu 67bd91e81d demo algorithm instance member 2018-11-30 15:24:16 +08:00
Lingjie Zhu 11af8197a2 class interface add inner iteration 2018-11-30 15:24:16 +08:00
Lingjie Zhu b965ad45ca class interface keeps a pointer to const mesh 2018-11-30 15:24:16 +08:00
Lingjie Zhu b7870fb39c add class interface get functions 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 64fe7ceec8 class interface mesh extraction 2018-11-30 15:24:16 +08:00
Lingjie Zhu 6e35c861fd class interface insert_proxy_furthest 2018-11-30 15:24:16 +08:00