Commit Graph

423 Commits

Author SHA1 Message Date
Sébastien Loriot 0d64f2bb45 add defaults of vertex and edge index maps 2013-09-12 18:51:20 +02:00
Sébastien Loriot f488567171 relax the requirements on the point type by adding a simple point concept 2013-09-12 18:20:45 +02:00
Sébastien Loriot 9ed4c96109 do not use a CGAL function since the point might not come from CGAL 2013-09-12 18:08:54 +02:00
Sébastien Loriot 7ee86f4089 rename map using the hdl (handle) in its name 2013-09-12 17:06:16 +02:00
Sébastien Loriot 74ec167c8a rename erase_roi to erase_roi_vertex 2013-09-12 17:05:22 +02:00
Sébastien Loriot 12add714f1 rename erase_control to erase_control_vertex 2013-09-12 17:03:46 +02:00
Sébastien Loriot 172278b0c6 No need to update the RoS if adding/erasing a control vertex already in the ROI 2013-09-12 17:02:06 +02:00
Sébastien Loriot c6d083048d add function for clearing the roi and the set of control vertices 2013-09-12 16:57:20 +02:00
Sébastien Loriot 59993c3db5 update todos 2013-09-12 14:49:25 +02:00
Sébastien Loriot ffaddc273f rename rotate to rotate_and_translate 2013-09-12 14:43:54 +02:00
Sébastien Loriot 5e5523466d rename assign to set_target_position 2013-09-12 14:25:39 +02:00
Sébastien Loriot 3c47e7e4b6 rename get_tolerance and get_iterations 2013-09-12 14:09:38 +02:00
Sébastien Loriot 2501af773a rename is_control 2013-09-12 12:39:25 +02:00
Sébastien Loriot 1ee47e8d5e rename is_roi 2013-09-12 12:38:14 +02:00
Sébastien Loriot 8b7b06f246 rename insert_roi 2013-09-12 12:34:15 +02:00
Sébastien Loriot 5ec0ea279b rename insert_control 2013-09-12 12:27:05 +02:00
Sébastien Loriot 2792baf37d grouping public types 2013-09-12 12:26:51 +02:00
Sébastien Loriot c77346a6e8 ref man: rephrasing 2013-09-12 12:17:12 +02:00
Sébastien Loriot 3bae30e163 move main user manual picture at the top with no caption 2013-09-12 12:17:11 +02:00
Sébastien Loriot 2f968c2c0a move constructor out of preprocesing group 2013-09-12 12:17:10 +02:00
Sébastien Loriot 8a207b42f7 use traits instead of helper for consistency 2013-09-12 12:17:09 +02:00
Sébastien Loriot e48b358b6a rename iterator 2013-09-12 12:17:01 +02:00
Sébastien Loriot 34d731af69 remove non const iterator on roi vertices 2013-09-12 12:10:36 +02:00
Sébastien Loriot d09165d05d ref man fixes 2013-09-10 16:37:13 +02:00
Sébastien Loriot 1dc91cc868 update solver interface concept 2013-09-10 14:38:49 +02:00
Sébastien Loriot 760336db2d update weight concept 2013-09-10 14:35:58 +02:00
Sébastien Loriot 6f6b7bbe66 Laplacian matrix is not symmetric 2013-09-10 14:22:32 +02:00
Sébastien Loriot 61371dd4df polish user manual after having moved the overview section 2013-09-10 14:00:50 +02:00
Sébastien Loriot 539e822e9e move the overview section at the end of the user manual 2013-09-10 14:00:50 +02:00
Sébastien Loriot 44da4dac0a running aspell on the user manual 2013-09-10 14:00:50 +02:00
Sébastien Loriot 1f2f259c08 documentation update 2013-09-10 14:00:50 +02:00
iyaz 1ba401ffff handle -> control (header, examples, tests, and demo) 2013-08-11 18:45:28 +03:00
iyaz 2c4ece7e57 remove handle_group (header, examples, tests, and demo) 2013-08-11 17:29:27 +03:00
Sébastien Loriot c235f00659 add reference for Laplace coordinates 2013-08-08 19:43:55 +02:00
Sébastien Loriot 19d65a8ba4 hide the API figure for now 2013-08-08 19:28:19 +02:00
Sébastien Loriot 1a2c273d25 sort todos and update package name 2013-08-08 19:17:38 +02:00
Sébastien Loriot c843d165c9 update refman 2013-08-08 19:07:24 +02:00
Sébastien Loriot 0aecc320f4 rename polyhedron to halfedge graph 2013-08-08 18:28:15 +02:00
Sébastien Loriot 04156d9a39 add todo 2013-08-08 17:58:31 +02:00
Sébastien Loriot cafc35cdf1 first pass on the rest of the documentation 2013-08-08 17:38:51 +02:00
Sébastien Loriot 2cc22ead34 update naive laplacian deformation section 2013-08-06 19:06:10 +02:00
Sébastien Loriot 662f504549 update introduction doc 2013-08-06 16:31:48 +02:00
iyaz de8348e31a initialize index maps inside examples and tests 2013-06-29 22:26:12 +03:00
iyaz bf54a0d057 do not initialize index maps 2013-06-28 20:06:21 +03:00
iyaz 737a8dea33 Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-06-28 02:02:26 +03:00
iyaz 8b572b2baa Fix warning and leave a usage not for collinear 2013-06-28 01:45:29 +03:00
Sébastien Loriot 7759780691 forgot to commit these files 2013-06-27 17:06:49 +02:00
Sébastien Loriot abae9100f0 enhance the conditional build of the edit plugin 2013-06-27 10:35:20 +02:00
iyaz 4f12b1a549 weight calculation should use vertex-point-property map
- Remove unused Cotangent weight calculation
- Small improvements on cotangent weight calculation
2013-06-25 14:27:38 +03:00
iyaz c69a046429 Move adapter functions from Deform_mesh.h to the files which use Deform_mesh.h
Fix test code which is broken (by the change of not using Deform_mesh::Vector)
2013-06-24 21:45:23 +03:00
iyaz 06c65f7e64 Forgotten translate added (after the change 'Do not rely on Polyhedron::Traits::Vector') 2013-06-24 12:49:32 +03:00
Sébastien Loriot 1fad739801 use the point type from the property_map 2013-06-24 10:24:13 +02:00
iyaz 491fc493b0 Add uniform scale related experimental code,
It can be activated by CGAL_DEFORM_MESH_USE_EXPERIMENTAL_SCALE
and for just scale (but not rotate): CGAL_DEFORM_MESH_JUST_EXPERIMENTAL_SCALE
2013-06-17 15:41:19 +03:00
iyaz 8693dd7062 Remove private is_roi is_handle functions 2013-06-14 15:13:32 +03:00
iyaz c7861308a1 Change internal Vector constructor from points to be logically compatible with Vector_3 2013-06-04 15:40:17 +03:00
iyaz 76a334ef06 Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-06-04 15:23:02 +03:00
iyaz 3cdf31edc6 Do not rely on Polyhedron::Traits::Vector
Also removed experimental code from Deform_mesh.h (important parts already moved / adapted to Closest rotation traits classes)
2013-06-04 15:20:44 +03:00
Sébastien Loriot 66ef73ad9c property map functions should not be in boost namespace but if the pmap is 2013-06-04 07:22:36 +02:00
iyaz ff9a95b4f9 Taking optional parameter vertex point pmap for Deform_mesh
'rendering big meshes' problem is solved by using vertex arrays
2013-06-03 21:28:14 +03:00
iyaz 7100197889 doc update 2013-05-29 20:09:13 +03:00
iyaz d20c7eb96c remove useless parameter 2013-05-29 19:36:10 +03:00
Sébastien Loriot 51a914eeb9 add an example using a polyhedron with a custom point type
it shows what are the requirements on the point type
2013-05-21 17:55:40 +02:00
Sébastien Loriot fda7403f03 add missing include 2013-05-21 17:55:40 +02:00
iyaz 90b093fe9f Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-05-21 16:54:55 +03:00
iyaz 9676d7353b Update performance test case (to use polar_decomposition)
Make polar default closest rotation computer
2013-05-21 16:28:23 +03:00
Sébastien Loriot b2654e7a1a add missing CGAL namespace to avoid conflict with std one with gcc 2013-05-14 18:15:12 +02:00
Sébastien Loriot a77564cb71 fix typos 2013-05-14 17:19:06 +02:00
Sébastien Loriot 3dc05ba66d add missing license headers 2013-05-14 16:59:56 +02:00
iyaz 8b3450db2b remove auxiliary SVD code, also remove it from benchmark 2013-05-14 15:56:42 +03:00
iyaz 0d2122a76d forgotten () added 2013-05-14 15:13:34 +03:00
Sébastien Loriot b3c27c0f99 add a model to the concept 2013-05-14 13:57:22 +02:00
Sébastien Loriot 55a6966e18 more doc polishing 2013-05-14 13:55:18 +02:00
iyaz cbbe7d498b adding () at the end of functions in user manual 2013-05-14 14:48:32 +03:00
iyaz eba28a105e Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-05-14 14:26:53 +03:00
iyaz 08fdd1bb10 Make Deformation_Eigen_polar_closest_rotation_traits_3 default solver 2013-05-14 14:17:16 +03:00
Sébastien Loriot 472b0cfbcd remove the term free vertex 2013-05-14 12:53:41 +02:00
Sébastien Loriot a89d90f962 polish refman 2013-05-14 12:05:22 +02:00
Sébastien Loriot a9bbcf7fac update concept doc 2013-05-13 18:15:21 +02:00
iyaz 5c022cc23c multiple iterate for benchmarking 2013-05-07 19:19:39 +03:00
iyaz 24ad364768 add forgotten file extension (.cpp) while renaming 2013-05-07 19:11:00 +03:00
iyaz c034afc2d1 benchmark for closest rotation models 2013-05-07 16:33:41 +03:00
iyaz 95e36740ce Remove unused includes 2013-05-07 16:06:50 +03:00
iyaz 493b46564d changes in experimental closest rotation models 2013-05-07 16:06:07 +03:00
iyaz 79e0c4890d New benchmark file added for models of DeformationClosestRotationTraits_3 2013-05-07 15:45:00 +03:00
iyaz 37e3be88b7 Change concept DeformationClosestRotationTraits_3 the closest rotation -> a close rotation (also give an example that even returning an identity matrix will work and produce naive laplacian deformation results etc) 2013-05-07 14:09:10 +03:00
iyaz 5fcc633b9b fix file paths, add example model into data folder 2013-05-07 01:12:02 +03:00
iyaz 0233a24560 remove forgotten " 2013-05-07 01:11:03 +03:00
iyaz 56677aad0a User manual updates considering Olga's last suggestions 2013-05-05 14:54:59 +03:00
iyaz b3471184fb An info message is updated 2013-05-03 04:31:00 +03:00
iyaz d0eb2877ca Test refinements 2013-05-03 04:03:08 +03:00
iyaz fbf43551f2 Add profile counter to experimental closest rotation model 2013-05-02 20:19:43 +03:00
iyaz 6f6bf85558 Grammatical corrections, rephrasing. 2013-04-28 21:59:37 +03:00
iyaz 9f0db4238e Do not produce doc for experimental polar closest rotation (forgot to deactivate)
Examples: removed unnecessary include
2013-04-23 23:09:35 +03:00
iyaz 51b20f8fac Another model for DeformationClosestRotationTraits_3 from experimental polar decomp code inside Deform_mesh.h 2013-04-22 01:28:27 +03:00
iyaz d7a61fb44e Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-04-21 23:59:07 +03:00
iyaz c7771b196b Change SVD traits, the thing is we are just using SVD to compute closest rotation to a matrix M.
So I think requiring an interface to support SVD traits is a limitation on user, we should directly ask for 'closest rotation' instead of U V etc.
(Also trait class is fairly simple in this way)
2013-04-21 23:54:55 +03:00
Sébastien Loriot 707e9fcccf update examples and make them compile on linux 2013-04-12 17:30:48 +02:00
iyaz 7c53e3ee0b Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-04-12 18:26:33 +03:00
Sébastien Loriot 7ecfe2a1c0 update concept name 2013-04-12 17:07:43 +02:00
iyaz 1f6a1a9d3e A new benchmark for SSE SVD 2013-04-11 14:10:43 +03:00
iyaz 2581657045 Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-04-10 19:33:39 +03:00
iyaz f76d0be74e New test file for simple performance test 2013-04-10 19:32:21 +03:00
iyaz 785aea21c6 A new model of SVDHelper_3 is added in order to test SVD in http://pages.cs.wisc.edu/~sifakis/project_pages/svd.html
To activate new model define USE_FAST_SVD_EXPERIMENTAL in/before Deform_mesh.h
As far as I test, it is ~3x faster than EigenSVD, and you notice speed-up in demo easily (since it makes whole deformation ~2x fast)
-- not sure about possible compilation problems
2013-04-10 19:31:45 +03:00
Sébastien Loriot a14a4812a2 update doc of Eigen_SVD_helper_3
all the public member should be hidden as it's just the implementation
of the concept
2013-04-10 17:59:47 +02:00
iyaz 664a4e9aa7 Transfer Eigen_SVD_helper_3.h to include/CGAL 2013-04-10 17:57:24 +03:00
iyaz 5de0a8b598 Including default parameters for linear solver and SVD solver.
Related changes in demo, and test case.
Also removed Property_maps_for_edit_plugin.h which was somewhat useless.
-- Going to update examples, once API becomes more certain.
2013-04-10 16:56:17 +03:00
Sébastien Loriot b3d3aa213f add a sentence to explain why we have this concept. 2013-04-10 09:43:08 +02:00
iyaz cb3ef39f36 update test (Cactus_deformation_session.cpp):
make it suitable for test performance (not active by default)
make it suitable for test suite (precomputed mesh difs active by default)
2013-04-10 00:50:33 +03:00
iyaz 45f170b9a6 change in SVDHelper concept (and model):
separate smallest singular value index calculation from 'compute'
2013-04-10 00:44:54 +03:00
iyaz 4805f2bfc4 New concept introduced for SVD computations: SVDHelper_3 and model of it Eigen_SVD_helper_3
For now I places Eigen_SVD_helper_3 under internal directory of Surface_modeling
2013-04-09 22:23:06 +03:00
iyaz c056906be1 User manual refinement, mostly according to Andreas's comments. 2013-04-09 19:24:25 +03:00
Sébastien Loriot 18f2bd74c5 update copyright date and author list 2013-04-09 10:43:08 +02:00
Andreas Fabri 2dc9e77e2b typos,wording,LaTeX 2013-04-09 10:06:22 +02:00
Andreas Fabri 60feceec54 Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-04-09 08:52:31 +02:00
iyaz 52fbbdf049 Mixim upper case, fixed 2013-04-07 17:10:11 +03:00
iyaz 596f93f85a Small refinements on ref-man. 2013-04-07 17:08:08 +03:00
iyaz 8c420de8cb Small refinements on user manual,
Videos are changed with their 1.5x speed versions (so that (I hope) nobody can get bored while watching them)
2013-04-05 18:00:33 +03:00
Sébastien Loriot 367bef344e update workflow diagram 2013-04-04 23:51:43 +02:00
iyaz 60286aa952 Reference manual refinements 2013-04-04 18:18:52 +03:00
iyaz c7547ce8ee fix member initialization order 2013-04-04 00:44:32 +03:00
iyaz ba0a0f52e9 tag -> TAG in documentation 2013-04-04 00:41:45 +03:00
iyaz 0f70c0637e New video added explaining ROI/handle deletion and overwrite,
dino deformation video is switched with a new version (which is faster and cleaner)
2013-04-04 00:34:38 +03:00
iyaz 414d46e3e5 New concept suggestion for SVD solver 2013-04-04 00:31:30 +03:00
Sébastien Loriot ce6ed9b51f fix initialization order of member objects 2013-04-03 14:31:42 +02:00
iyaz 4bca660454 Separating preprocess into two sub-preprocess: region_of_solution and factorization
Main reason is that some parts only need one of them to be ready to work, but we were preprocessing both two subs.
2013-04-03 14:48:33 +03:00
iyaz b3d624e3f5 Fixing warnings 2013-04-03 14:04:52 +03:00
Sébastien Loriot 62e5d8dda6 make more obvious the behavior wrt original coordinates 2013-04-03 11:35:48 +02:00
Sébastien Loriot c102838776 enhance the description of translate, rotate and deform 2013-04-03 11:18:19 +02:00
Sébastien Loriot cc356eb368 hide default weight calculator 2013-04-03 09:39:13 +02:00
Sébastien Loriot cb031439f1 shorten template parameter names to prettify the documentation 2013-04-03 09:21:27 +02:00
Sébastien Loriot f0423d555f fix order initialization warnings 2013-04-03 09:03:46 +02:00
Sébastien Loriot 52de2d5d08 change override to overwrite 2013-04-03 08:51:26 +02:00
Sébastien Loriot 1cd2687e41 add missing typename 2013-04-03 08:27:59 +02:00
iyaz 671b0c4bcb return last result in preprocess 2013-04-03 02:06:54 +03:00
iyaz 11b69e0104 Introducing override function. 2013-04-03 02:01:41 +03:00
iyaz abafa5efc1 Adding last_preprocess_successful
(deliberately created a new bool and not used need_preprocess because it will not be clear)
2013-04-02 22:55:05 +03:00
iyaz 60729a0c5d Emphasize on rotate & translate override behavior in user manual 2013-04-02 17:50:43 +03:00
iyaz c631f0a9f2 Documentation improvement (rotate & translate) and renaming (deformation_type) 2013-04-02 17:49:44 +03:00
iyaz 659a771525 removed clear() from example 2013-04-02 16:08:20 +03:00
iyaz 6e927575f7 new images for example results 2013-04-02 16:08:03 +03:00
iyaz 9a5fb1f523 Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-04-02 15:43:01 +03:00
iyaz db1ac5c975 Changes according to API discussion 2 2013-04-02 15:38:06 +03:00
Sébastien Loriot 000703ee32 update user manual
- name example section
- rename handle group to gourp of handles which is less confusing
- remove todo
2013-04-02 13:16:12 +02:00
iyaz acfc6bb9f8 a typo fixed 2013-04-02 13:18:41 +03:00
Sébastien Loriot 338c019dcd make a pass on the reference manual 2013-04-02 11:45:31 +02:00
Sébastien Loriot 8f229c242e center video and update comment 2013-04-02 08:41:23 +02:00
iyaz a96c8bf0d5 typos fixed 2013-04-01 14:14:33 +03:00
iyaz 05efb96ca8 Add explanations for ROI / handle iteration, is_roi, and is_handle 2013-04-01 13:50:44 +03:00
iyaz 3393f262a2 returning std::pair instead of boost::tuple 2013-04-01 13:30:58 +03:00
iyaz 6c34eca476 Recorrect examples to fit current API 2013-04-01 13:07:37 +03:00