Commit Graph

633 Commits

Author SHA1 Message Date
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 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 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 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 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 1918e86be2 fix benchmarks/examples/tests to new metrics 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 733480251f add init_proxies_error timing benchmark 2018-11-30 15:24:16 +08:00
Lingjie Zhu b19fa698dc add timing benchmark 2018-11-30 15:24:16 +08:00
Lingjie Zhu b8e4909f49 add error decrease test 2018-11-30 15:24:16 +08:00
Lingjie Zhu 7a62a43f06 add correctness test 2018-11-30 15:24:16 +08:00
Lingjie Zhu 8ad6bc3eb9 add user defined metric test 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 9501cdca46 fix API test 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 ae414828e6 add tests 2018-11-30 15:24:16 +08:00
Lingjie Zhu aaf59f7066 remove VSA.h 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 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 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 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
Lingjie Zhu 1c6493e0d9 class interface teleport_proxies 2018-11-30 15:24:16 +08:00
Lingjie Zhu 21cbdfacaf add initial class interface 2018-11-30 15:24:16 +08:00
Lingjie Zhu b5525e73cb work on documentation 2018-11-30 15:24:16 +08:00
Lingjie Zhu 86e5adeb0a work on documentation 2018-11-30 15:24:16 +08:00
Lingjie Zhu 96180101ac fix concepts 2018-11-30 15:24:16 +08:00
Lingjie Zhu f031ae3800 fix examples 2018-11-30 15:24:16 +08:00
Lingjie Zhu 4cf7bf4e4b fix local class as template parameter 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 2fb094809e remove redundtant template parameter 2018-11-30 15:24:16 +08:00
Lingjie Zhu 7f3bd4ee60 add default VertexPointMap 2018-11-30 15:24:16 +08:00
Lingjie Zhu 3bf0bdf07f remove explicit proxy template parameter 2018-11-30 15:24:16 +08:00
Lingjie Zhu 1cc9c4ab8b change metric and fitting template parameters 2018-11-30 15:24:16 +08:00
Lingjie Zhu 475b329b70 remove ApproximationTraits 2018-11-30 15:24:16 +08:00
Lingjie Zhu 07ce5d46dd remove ApproximationTraits in API 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 5036a77e85 add Proxy typename in ErrorMetric and ProxyFitting 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 b2ce689f7f remove approximation traits from main class 2018-11-30 15:24:16 +08:00
Lingjie Zhu 86a8970d83 add teleport to random initialization 2018-11-30 15:24:16 +08:00
Lingjie Zhu d7e0aca3a3 add overload of fit_new_proxy function 2018-11-30 15:24:16 +08:00
Lingjie Zhu 5cd4066bb9 fix missing typename 2018-11-30 15:24:16 +08:00
Lingjie Zhu 15d3e9d6eb add defaults to VSA_mesh_extraction 2018-11-30 15:24:16 +08:00
Lingjie Zhu 6a95dce604 remove point map in L21 approximation traits 2018-11-30 15:24:16 +08:00
Lingjie Zhu 2bd26c93fe remove redundant template parameters 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 f958f5616b simplify PCAPlaneFitting 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 92c479921b add default L21 metric API 2018-11-30 15:24:16 +08:00
Lingjie Zhu e07db9f714 rename API 2018-11-30 15:24:16 +08:00
Lingjie Zhu cd4cb878c8 use dependent overload 2018-11-30 15:24:16 +08:00
Lingjie Zhu b456bd596f fix indent 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 0342f1ec5b add overload simplified API 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 46c1b5e520 remove proxy dependency of mesh extraction 2018-11-30 15:24:16 +08:00
Lingjie Zhu 7ddfeb5c72 remove irrelevant typedefs 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 e0317d4678 rename 2018-11-30 15:24:16 +08:00
Lingjie Zhu f708fe81c1 separate approximation and mesh extraction class 2018-11-30 15:24:16 +08:00
Lingjie Zhu 75d0b80288 add VSA_mesh_extraction class 2018-11-30 15:24:16 +08:00
Lingjie Zhu 559b3a3d64 rename _3 suffix 2018-11-30 15:24:16 +08:00
Lingjie Zhu 3a67c0081c cleanup main class VSA header 2018-11-30 15:24:16 +08:00
Lingjie Zhu e4bc0c1df6 cleanup traits header 2018-11-30 15:24:16 +08:00
Lingjie Zhu 5222e80f01 separate L2ProxyFitting and PCAPlaneFitting concept 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 7c9b3974e4 add PlaneFitting 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 e260916699 fix l2metric 2018-11-30 15:24:16 +08:00
Lingjie Zhu ea5c68918a add L2 metric 2018-11-30 15:24:16 +08:00
Lingjie Zhu b6b90113fa edit manual doc 2018-11-30 15:24:16 +08:00
Lingjie Zhu b2e79d72b1 add concepts to doc 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 95f7462f25 remove proxy aux-info class member 2018-11-30 15:24:16 +08:00
Lingjie Zhu 1df740cf36 bundled anchor position calculation 2018-11-30 15:24:16 +08:00
Lingjie Zhu 85dee18043 fix number of random init 2018-11-30 15:24:16 +08:00
Lingjie Zhu 004252a398 remove halfedge status map 2018-11-30 15:24:16 +08:00
Lingjie Zhu c71c814c10 fix random interval init 2018-11-30 15:24:16 +08:00
Lingjie Zhu 0b443bb906 remove approximation trait member 2018-11-30 15:24:16 +08:00
Lingjie Zhu f6424e1e9d cleanup comment 2018-11-30 15:24:16 +08:00
Lingjie Zhu f8beacf0f4 remove construct_proxy requirement from ApproximationTrait 2018-11-30 15:24:16 +08:00
Lingjie Zhu d3dd242d2f change ProxyFitting operator to return a new proxy 2018-11-30 15:24:16 +08:00
Lingjie Zhu 4cd702d477 TriangleMesh name convention 2018-11-30 15:24:16 +08:00
Lingjie Zhu e42deca314 add bundled ApproximationTrait 2018-11-30 15:24:16 +08:00
Lingjie Zhu 5ddd7c8eea make Vertex_status enum local 2018-11-30 15:24:16 +08:00
Lingjie Zhu fc3c48db60 remove geomtraits constructor parameter 2018-11-30 15:24:16 +08:00
Lingjie Zhu 7f4f6b9636 add template parameter FacetNormalMap and FacetAreaMap 2018-11-30 15:24:16 +08:00
Lingjie Zhu 9d4959f7b7 model the ProxyFitting concept 2018-11-30 15:24:16 +08:00
Lingjie Zhu f5840e1ba3 model the PlaneProxy and ErrorMetric concept 2018-11-30 15:24:16 +08:00
Lingjie Zhu f3e8c54f1b add init selection in API 2018-11-30 15:24:16 +08:00
Lingjie Zhu 0adcef3afd remove type header 2018-11-30 15:24:16 +08:00
Lingjie Zhu 0c7a3c5666 add API explanation 2018-11-30 15:24:16 +08:00
Lingjie Zhu f618632033 initial API 2018-11-30 15:24:16 +08:00
Lingjie Zhu f8b19da416 remove polyhedron delegate 2018-11-30 15:24:16 +08:00
Lingjie Zhu f38c0cb9ce add approximation surface manifold test 2018-11-30 15:24:16 +08:00
Sébastien Loriot 144411ae82 Add doc template 2018-11-30 15:24:16 +08:00
Lingjie Zhu 762397776e switch to priority_queue 2018-11-30 15:24:16 +08:00
Lingjie Zhu 918bb62140 add hierarchical initialization with demo 2018-11-30 15:24:16 +08:00
Lingjie Zhu 730735c098 fix flooding pqueue initial tag check 2018-11-30 15:24:16 +08:00
Lingjie Zhu c5b5436b91 add hierarchical initialization 2018-11-30 15:24:16 +08:00
Lingjie Zhu aafc6bcced not subdivide trivial chord 2018-11-30 15:24:16 +08:00
Lingjie Zhu 5f7b0da760 fix const qualifier 2018-11-30 15:24:16 +08:00
Lingjie Zhu cb3393ccaa add comment 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 64528e534e rename api file 2018-11-30 15:24:16 +08:00
Lingjie Zhu 135d13f073 rename class 2018-11-30 15:24:16 +08:00
Lingjie Zhu 3d73b0790c rename file 2018-11-30 15:24:16 +08:00
Lingjie Zhu c07bff2ba3 fix invalid initialization of non-const reference 2018-11-30 15:24:16 +08:00
Lingjie Zhu 74bf9d4abc fix no matching function for call to qualified kernel functions 2018-11-30 15:24:16 +08:00
Lingjie Zhu d193a3e80e fix missing 'typename' before dependent scope 2018-11-30 15:24:16 +08:00
Lingjie Zhu b016e55636 overload vertex anchor index check 2018-11-30 15:24:16 +08:00
Lingjie Zhu 4742b95799 rename in pseudo cdt 2018-11-30 15:24:16 +08:00
Lingjie Zhu b8527eb94b fix subgraph vertex tag backtracking 2018-11-30 15:24:16 +08:00
Lingjie Zhu ff6a77b23a fix subgraph supervertex construction 2018-11-30 15:24:16 +08:00
Lingjie Zhu f70bf09b7e extract triangle soup approximation 2018-11-30 15:24:16 +08:00
Lingjie Zhu c1dc2f1f8e add subgraph multi-source shortest path 2018-11-30 15:24:16 +08:00
Lingjie Zhu 12605d2aff fix area_pmap 2018-11-30 15:24:16 +08:00
Lingjie Zhu 64d20fa7d4 FacetToIntegrate operator overload 2018-11-30 15:24:16 +08:00
Lingjie Zhu 2515b0727b boost foreach 2018-11-30 15:24:16 +08:00
Lingjie Zhu 92e00f8236 boost foreach 2018-11-30 15:24:16 +08:00
Lingjie Zhu 59a07f908f run anchor discovery / edge subdivision with visualization 2018-11-30 15:24:16 +08:00
Lingjie Zhu ab66078283 attach anchor to halfedge/vertex 2018-11-30 15:24:16 +08:00
Lingjie Zhu 5ce567f44b fix add_anchors() 2018-11-30 15:24:16 +08:00
Lingjie Zhu 80081f692c add anchors to borders with anchors less than 3 2018-11-30 15:24:16 +08:00
Lingjie Zhu cbb6b3ef76 add find_edges() 2018-11-30 15:24:16 +08:00
Lingjie Zhu 08875dfa20 add find_anchors() 2018-11-30 15:24:16 +08:00
Lingjie Zhu 80dd60bc71 update seed 2018-11-30 15:24:16 +08:00
Lingjie Zhu f8e317265c add incremental 2018-11-30 15:24:16 +08:00
Lingjie Zhu 1cdba4e45c fix squared area and update seed error 2018-11-30 15:24:16 +08:00
Lingjie Zhu ee58edd4e6 add Surface_mesh_approximation package 2018-11-30 15:24:16 +08:00