Commit Graph

147 Commits

Author SHA1 Message Date
Sébastien Loriot fa0577a25a rename subdirectory 2018-11-30 15:32:34 +08:00
Sébastien Loriot c9d4ab26df update signature to be consistent 2018-11-30 15:32:34 +08:00
Sébastien Loriot ad964de61d remove trailing whitespaces 2018-11-30 15:32:34 +08:00
Sébastien Loriot b095d8011d change return type of find_best_merge() and update doc 2018-11-30 15:32:34 +08:00
Sébastien Loriot 79347110d3 cosmetic renaming of parameters 2018-11-30 15:32:34 +08:00
Sébastien Loriot 7bf5cff4cf accomodate update from master 2018-11-30 15:32:34 +08:00
Sébastien Loriot 99e09bba7a use uppercase for enums and rephrasing 2018-11-30 15:32:34 +08:00
Lingjie Zhu 70ad3d2984 initialize seeds with named parameters 2018-11-30 15:32:34 +08:00
Lingjie Zhu 379daa1074 add directories reflecting the namespace 2018-11-30 15:32:34 +08:00
Lingjie Zhu e96a8a6d8e add output to example and test 2018-11-30 15:32:34 +08:00
Lingjie Zhu e1b5252f19 remove setup functions
get rid of set_mesh, set_metric, rebuild functions
2018-11-30 15:32:34 +08:00
Lingjie Zhu e27a6b2b51 remove default constructor 2018-11-30 15:32:34 +08:00
Lingjie Zhu 3fdd1ee45b facet -> face everywhere 2018-11-30 15:32:34 +08:00
Lingjie Zhu 4b03e9de89 seeding -> initialize_seeds 2018-11-30 15:32:34 +08:00
Lingjie Zhu b3c0cf16a5 facet_proxy_map -> face_proxy_map 2018-11-30 15:32:34 +08:00
Lingjie Zhu 851cf8c49a max_nb_proxies -> max_nb_of_proxies 2018-11-30 15:32:34 +08:00
Lingjie Zhu e91b469190 move free function and enumerations in namespace VSA 2018-11-30 15:32:34 +08:00
Lingjie Zhu cfd47020bd switch parameter order in ErrorMetricProxy concept 2018-11-30 15:32:34 +08:00
Lingjie Zhu 3e016af3b5 adjust test file naming 2018-11-30 15:30:51 +08:00
Lingjie Zhu 3bcf533cf5 move named parameters under namespace VSA
both error metrics and parameters are in the same namespace
2018-11-30 15:30:51 +08:00
Lingjie Zhu f5696aca49 fix naming
mesh_approximation to approximate_mesh
2018-11-30 15:30:51 +08:00
Lingjie Zhu 183a092e6b fix naming
class name VSA_approximation to Variational_shape_approximation
2018-11-30 15:30:51 +08:00
Lingjie Zhu c203a3a38f move file VSA_approximation.h to Variational_shape_approximation.h 2018-11-30 15:30:51 +08:00
Lingjie Zhu 6560bab1ee fix unused parameter warning 2018-11-30 15:30:51 +08:00
Lingjie Zhu 5bf415fb31 fix ErrorMetricProxy
member function with face_descriptor and TriangleMesh parameter
FacetIterator to FaceRange template parameter
2018-11-30 15:30:51 +08:00
Lingjie Zhu 6d3abb2405 Compact_metric to precise Compact_metric_point_proxy 2018-11-30 15:30:51 +08:00
Lingjie Zhu 6ce0fe2ab5 tweak meshing named parameters
mesh_chord_error -> subdivision_ratio
is_relative_to_chord -> relative_to_chord
2018-11-30 15:30:51 +08:00
Lingjie Zhu 73608d2510 extract_mesh with named parameters 2018-11-30 15:30:51 +08:00
Lingjie Zhu f679888c7e fix compilation error 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
Lingjie Zhu b66c35aa83 remove get_ in member functions 2018-11-30 15:30:08 +08:00
Lingjie Zhu a693b2d928 compute_fitting_error -> compute_total_error
proxy error has already been computed in fit_proxy_from_patch
2018-11-30 15:28:00 +08:00
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 5bdfd10e3d add surface with disconnected components to correctness test 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 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 5734237ced split in confined area 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 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 fa81af898f named parameter
iterations -> nb_of_iterations
inner_iterations -> nb_of_relaxations
2018-11-30 15:24:16 +08:00
Pierre Alliez 8e39b7ca8c Test updated with anchor_vertices 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 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 950a0f3ca7 rename meshing to extract_mesh 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
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 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 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 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 1dabf87cfe fix add proxy furthest 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 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 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 564d1fefd4 fix test 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 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 cbcac2c8d8 fix split test 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 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 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 9501cdca46 fix API test 2018-11-30 15:24:16 +08:00
Lingjie Zhu ae414828e6 add tests 2018-11-30 15:24:16 +08:00