Commit Graph

631 Commits

Author SHA1 Message Date
Lingjie Zhu a880ee100d add forced teleportation test
check L2,1 metric, square root can be omitted since we only care about the
relative error. maybe a post-processing is needed to handle sum of error
2018-11-30 15:28:00 +08:00
Lingjie Zhu ba2ef67904 check forced teleportation 2018-11-30 15:28:00 +08:00
Lingjie Zhu 5bdfd10e3d add surface with disconnected components to correctness test 2018-11-30 15:24:16 +08:00
Lingjie Zhu f81c885a69 approximate on geometry with disconnected component
random shuffle on non seed facets
2018-11-30 15:24:16 +08:00
Lingjie Zhu 888ebfd4ea add connected component detection 2018-11-30 15:24:16 +08:00
Lingjie Zhu c07b7daf3a fix naming
fit_error -> m_perror_metric
proxy_fitting -> m_pproxy_fitting
2018-11-30 15:24:16 +08:00
Lingjie Zhu 59e314ce21 fix naming
m_borders -> m_bcycles
2018-11-30 15:24:16 +08:00
Lingjie Zhu 4fc49c26c7 fix naming
Chord_vector -> Boundary_chord
Border -> Boundary_cycle
2018-11-30 15:24:16 +08:00
Lingjie Zhu 97fdfd2965 prefix data member with m_ 2018-11-30 15:24:16 +08:00
Lingjie Zhu 48086ed3f0 fix naming and spacing 2018-11-30 15:24:16 +08:00
Lingjie Zhu e7945764a5 fix manifold test
forgot to compute average_edge_length when algorithm
instance is constructed from (tm, vpmap)
2018-11-30 15:24:16 +08:00
Pierre Alliez 0371c66ca7 TBB 2018-11-30 15:24:16 +08:00
Pierre Alliez bcfd60e918 massaged examples
(one TODO added)
2018-11-30 15:24:16 +08:00
Pierre Alliez ff1244189f added list of fixes
massaging user manual
2018-11-30 15:24:16 +08:00
Lingjie Zhu 66458af0bd consistent naming and spacing 2018-11-30 15:24:16 +08:00
Lingjie Zhu f1a5f76f00 fix dynamic_property_map compiling issue 2018-11-30 15:24:16 +08:00
Pierre Alliez bf5f14d40b user manual (default approach) 2018-11-30 15:24:16 +08:00
Pierre Alliez a0be4c1779 refined description 2018-11-30 15:24:16 +08:00
Pierre Alliez 958477c466 ref manual 2018-11-30 15:24:16 +08:00
Pierre Alliez 53b05ced85 massaging user manual 2018-11-30 15:24:16 +08:00
Pierre Alliez 9045c762dd massaging user manual
Added David CS as co-author.
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 22661170f8 remove unnecessary get_ helper functions 2018-11-30 15:24:16 +08:00
Lingjie Zhu 05bcc6b0c6 rebase: fix named parameter compile error
error c2953: class template has already been defined
after rebase: property_map_selector/get_property_map/get_const_property_map
has already been defined in CGAL/boost/graph/named_function_params.h
2018-11-30 15:24:16 +08:00
Lingjie Zhu a3c5432ad0 doc: add workflow figure
rename relaxation.png to iterations.png
clarify relaxation in seeding
fix typos
2018-11-30 15:24:16 +08:00
Lingjie Zhu 604d124c8f doc: update chord figure 2018-11-30 15:24:16 +08:00
Lingjie Zhu 3901f033be doc: update subdivision 2018-11-30 15:24:16 +08:00
Lingjie Zhu 52da6dbb12 subdivision with relative/absolute error options 2018-11-30 15:24:16 +08:00
Lingjie Zhu 30351b0bbb doc: update named parameters 2018-11-30 15:24:16 +08:00
Lingjie Zhu b85d520c6c test: add mesh_segmentation() test 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 b5156563be doc: add additional anchors 2018-11-30 15:24:16 +08:00
Lingjie Zhu 2540672e3d doc: update operations 2018-11-30 15:24:16 +08:00
Lingjie Zhu 2d939eb2be fix fit
partition always writes to global facet proxy map
fit takes input proxies and write back, maybe not the global proxies(in split)
2018-11-30 15:24:16 +08:00
Lingjie Zhu 5734237ced split in confined area 2018-11-30 15:24:16 +08:00
Lingjie Zhu ca22427e42 partition and fitting tagged area
use tag to stop the partition flooding
partition/fitting range of proxies
2018-11-30 15:24:16 +08:00
Lingjie Zhu 58f5a58eb5 add proxy wrapper with index
mantain the index when addding/refitting/merging/teleporting
2018-11-30 15:24:16 +08:00
Lingjie Zhu 7d06955b2b make partition and fitting private
because they are always used together --> run(nb_iterations)
2018-11-30 15:24:16 +08:00
Lingjie Zhu 1a94e743ad vertex anchor map int -> std::size_t
anchor map value type int to std::size_t
general invalid tag
2018-11-30 15:24:16 +08:00
Lingjie Zhu 521d9566bc no initialization in manual
move initialization under seeding as stop criteria part
update method figure
formulate method
2018-11-30 15:24:16 +08:00
Lingjie Zhu 8bd68fa3ec update seeding method figure 2018-11-30 15:24:16 +08:00
Lingjie Zhu e4ad5e4490 add number of proxies curve
add nb_proxies - error curve
curve description
error debug output
2018-11-30 15:24:16 +08:00
Lingjie Zhu 50c1e11ee9 add error converge curve
add converge curve figure
add converge description
demo error output
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 9c9cfc8f53 pulic compute_fitting_error 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 fb794ec591 add reasonable default number of iterations 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 ed053b5f2c Minor improvement on comments. 2018-11-30 15:24:16 +08:00
Pierre Alliez a146ab46cb two figures added to user manual 2018-11-30 15:24:16 +08:00
Pierre Alliez 8a4525ea05 massaging user manual 2018-11-30 15:24:16 +08:00
Pierre Alliez 88e0d86f30 Extended list of TODOs 2018-11-30 15:24:16 +08:00
Pierre Alliez e2b2498b8d massaging user manual 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
Lingjie Zhu 37b8d0fb0e patch 2018-11-30 15:24:16 +08:00
Lingjie Zhu 12f93c4beb better init 2018-11-30 15:24:16 +08:00
Lingjie Zhu 1880c3b517 better init
init_random with iterations
strict control of max_nb_proxies
2018-11-30 15:24:16 +08:00
Pierre Alliez 8e39b7ca8c Test updated with anchor_vertices 2018-11-30 15:24:16 +08:00
Pierre Alliez a74afd3d2c minor changes in doc
adding TOFIX comments
2018-11-30 15:24:16 +08:00
Pierre Alliez e1f984c3bf named param anchor_vertex -> vertices 2018-11-30 15:24:16 +08:00
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
Pierre Alliez 00d601a31d User manual: new teaser, massaging 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
Pierre Alliez b400f30aed massaging user manual 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
Pierre Alliez d84886bb11 massaging user manual 2018-11-30 15:24:16 +08:00
Pierre Alliez c13d560642 massaging structure of user manual 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 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 1b3c5da425 add doc with new examples 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 f06c302c3a update doc 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
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 9029a1b46e update doc example
showing accessing facet proxy map and proxies
2018-11-30 15:24:16 +08:00
Lingjie Zhu 55b4bded10 update doc overview 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
Pierre Alliez a57c658ca7 VSA
One pass on examples
2018-11-30 15:24:16 +08:00
Pierre Alliez aa695bdf6a VSA
massaging terms of the doc (some TODOs added)
2018-11-30 15:24:16 +08:00
Pierre Alliez 9aba21c774 VSA
Fixes in description
One pass on named parameters (avoid using "you" as too familiar)
2018-11-30 15:24:16 +08:00
Lingjie Zhu ced4b0996b doc: add initialization and update seeding 2018-11-30 15:24:16 +08:00
Lingjie Zhu 2704d0e282 update init comparison pic 2018-11-30 15:24:16 +08:00
Lingjie Zhu 2e4077f245 update doc 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
Pierre Alliez e9c2e55623 VSA description 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 704fab2ef1 add kernel test 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 6a47c1d34a improve doc 2018-11-30 15:24:16 +08:00
Lingjie Zhu a4df63f391 update doc 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 59e725ffbc add placement check to teleportation test 2018-11-30 15:24:16 +08:00
Lingjie Zhu 66b98c66d7 simplify test 2018-11-30 15:24:16 +08:00
Lingjie Zhu 5118f830b3 add meshing manifold test 2018-11-30 15:24:16 +08:00
Lingjie Zhu 36f0a0aa4c add teleportation test 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 261a5ca218 rename 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 564d1fefd4 fix test accordingly 2018-11-30 15:24:16 +08:00
Lingjie Zhu f718159e21 fix examples accordingly 2018-11-30 15:24:16 +08:00
Lingjie Zhu f0ca859100 fix benchmark accordingly 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 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