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
0711b40335
fix verbose level
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
a771e0903b
fix todo: convert from soup to polyhedron mesh
2018-11-30 15:30:51 +08:00
Lingjie Zhu
2eff2a965d
deal with degeneracy in examples
2018-11-30 15:30:51 +08:00
Lingjie Zhu
41ea383829
fix todo of segments iteration
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
Pierre Alliez
5b951d030e
VSA: Minor changes on doc
...
Lingjie: one todo for you in example
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
6f928384e8
add all_default named parameter
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
97372be65f
l21 metric plane proxy to l21 metric vector proxy
2018-11-30 15:30:51 +08:00
Lingjie Zhu
73608d2510
extract_mesh with named parameters
2018-11-30 15:30:51 +08:00
Pierre Alliez
c83079ac5a
examples (simpler)
2018-11-30 15:30:51 +08:00
Pierre Alliez
c50bb0593a
named params
2018-11-30 15:30:51 +08:00
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