Commit Graph

260 Commits

Author SHA1 Message Date
Andreas Fabri ba1b84482e Avoid a copy of the polyhedron 2011-09-05 09:41:04 +00:00
Sébastien Loriot 26c2a15055 warning signed vs unsigned int 2011-09-02 14:16:41 +00:00
Sébastien Loriot 26e04f1bac unqualified called to get and put (use Koening lookup) 2011-09-02 14:09:30 +00:00
Andreas Fabri a484a1c132 Remove dead code 2011-08-31 10:06:31 +00:00
Andreas Fabri 50acd0120b Use Matrix3::setIdentity() 2011-08-31 09:19:05 +00:00
Andreas Fabri 5467cfd6be Use Matrix3D::setZero() ; Eliminate dead code 2011-08-31 08:36:22 +00:00
Andreas Fabri 05fda9254a Remove dead code 2011-08-30 16:36:06 +00:00
Andreas Fabri b67843d628 Add const& 2011-08-30 16:05:44 +00:00
Andreas Fabri e2e3f9e6dc Compute mean_value for opposite edge directly to avoid another call to cot_weight 2011-08-30 15:24:56 +00:00
Andreas Fabri 67f94d83fe Add const and/or const& 2011-08-30 15:18:19 +00:00
Andreas Fabri 20be1c6ddc Add license header 2011-08-30 15:02:28 +00:00
Andreas Fabri 95d0a14bcf rename class Deform_mesh_BGL to Deform_mesh 2011-08-30 14:56:54 +00:00
Andreas Fabri c817936c75 rename Deform_mesh_BGL.h to Deform_mesh.h 2011-08-30 14:55:58 +00:00
Andreas Fabri 19031f1b51 remove outdated file 2011-08-30 14:55:11 +00:00
Andreas Fabri 57d62e3471 reindent 2011-08-30 13:52:20 +00:00
Andreas Fabri c0b5304844 Removed code review comments 2011-08-22 11:28:02 +00:00
Andreas Fabri 9b6c73950b reindent 2011-08-22 10:52:29 +00:00
Andreas Fabri f2ad344e59 reindent 2011-08-22 10:51:09 +00:00
Andreas Fabri 74389075e6 Remove code-review comments 2011-08-22 10:39:51 +00:00
Andreas Fabri fb80f36221 Remove #undef 2011-08-22 10:34:09 +00:00
Andreas Fabri f5f2576e58 Remove #undef; cleanup of EXPERIMENTAL 2011-08-22 10:33:28 +00:00
Yin Xu 5fd8a4df2a fixed the bug of polar decomposition method 2011-08-20 08:44:13 +00:00
Yin Xu ea91c4e984 code consolidation 2011-08-19 08:12:54 +00:00
Yin Xu f5419ffe4e code consolidation 2011-08-13 14:50:50 +00:00
Yin Xu d40a7827a9 stable version up to benchmark of optimal rotations 2011-08-08 14:44:52 +00:00
Yin Xu 6d0646dd9c tiny fix 2011-08-05 14:17:46 +00:00
Yin Xu b746da91f2 update usage scenario and benchmark of optimal rotations 2011-08-05 14:02:14 +00:00
Yin Xu e8e095bd95 using Eigen to do polar decomposition for optimal rotations 2011-08-04 06:48:36 +00:00
Yin Xu 9966c8ae66 sharp feature detection 2011-08-03 14:22:06 +00:00
Yin Xu 83aec55093 benchmark for polar decomposition using Newton's method with warm start, also added into header file. 2011-07-28 14:08:13 +00:00
Yin Xu 203b7f9eab significantly improve the code structure and GUI design; add combo box that allows user to select usage scenarios 2011-07-26 14:41:15 +00:00
Yin Xu d99ea6b658 code consolidation for handles/ROI selection by geodesic distances 2011-07-26 06:09:57 +00:00
Yin Xu 49a11bfc60 adding a benchmark for optimal rotations 2011-07-21 11:49:38 +00:00
Yin Xu e9db72ed5f add a new usage scenario 2011-07-20 14:45:50 +00:00
Yin Xu 7b8e66f88d remove Eigen from svn 2011-07-18 10:53:27 +00:00
Yin Xu b79e774eb5 remove eigen from svn 2011-07-18 10:39:46 +00:00
Yin Xu 5c304e5f73 deleted 2011-07-18 10:37:23 +00:00
Yin Xu 09ef4d646a tiny fix 2011-07-15 14:09:55 +00:00
Yin Xu 4f16a9f79b modification of GUI 2011-07-14 07:50:21 +00:00
Yin Xu 466c149ce2 replace svd by Eigen; some modification on UI 2011-07-13 14:44:19 +00:00
Yin Xu ea5d430e94 using mean-value coordinate to replace negative cotangent weights 2011-07-12 11:49:25 +00:00
Yin Xu 46a4f3f9bd another round of consolidation: adding new threshold for convergence; modify rotation matrix when negative 2011-07-11 12:49:11 +00:00
Andreas Fabri 82c2fb7016 Add comments 2011-07-11 03:30:46 +00:00
Yin Xu 68205da8da add template parameters for property maps in mesh deformation API 2011-07-10 08:28:56 +00:00
Yin Xu aa47b30a0a using property map instead of std::map 2011-07-08 09:24:23 +00:00
Laurent Rineau a7c5cb5d65 Fix portability issues.
There were missing "typename" keywords.
2011-07-07 09:43:43 +00:00
Yin Xu ac60cbfd1a starting to add a button for preprocessing 2011-07-07 09:07:31 +00:00
Yin Xu cbc5c309be Solved all the comments. 2011-07-06 08:55:07 +00:00
Yin Xu 2b57a7fdc7 replace std::map by std::vector; add index maps 2011-07-05 09:44:08 +00:00
Yin Xu c692c27fbd restrict deform region on ROI 2011-07-04 14:35:27 +00:00
Andreas Fabri 43b84a6b38 Added comments and questions 2011-07-04 01:20:00 +00:00
Yin Xu 6ac2a8c273 executable version of arap modeling 2011-07-01 13:06:32 +00:00
Yin Xu ab0a535046 first full version of arap modeling 2011-06-30 14:43:10 +00:00
Yin Xu 82d3b48389 adding the computation of cotangent Laplacian for trianular polyhedron 2011-06-10 05:43:34 +00:00
Yin Xu 04a9df6249 a new header file, using BGL template 2011-06-09 07:45:45 +00:00
Yin Xu c31e927c17 template of solver 2011-06-08 09:01:13 +00:00
Yin Xu 92cf920bd2 using s2t to access target mesh from source mesh. The source mesh is always vertex_const_handle, while target mesh useing vertex_handle. 2011-06-01 06:31:02 +00:00
Yin Xu af573b76a5 write an access function from source to target mesh 2011-05-27 14:22:29 +00:00
Yin Xu 53c7d0b3d2 another cleanup:
Another cleanup is to only #include what you need in this file.

For example fstream is not needed here.

   Removed all the unrelated header files. 

Avoid using statements.

 Removed "using namespace *** ".

Note that you make a copy of the  polyhedron,
that is you deform the copy not the original.
Not sure that this is your intention.

Yes this is my intention.  

Also intialize the data member in the initialization section
of the constructor

Do you mean add the initialization of roi,  hld and dsplc into constructor function?

I have no idea if #pragma once compiles with g++.

Replaced it by #ifndef....
2011-05-27 13:23:00 +00:00
Yin Xu 38ba9fe2cb change the indentation to 2 spaces for a tab;
merge Deform_mesh.cpp with Deform_mesh.h, moving Deform_mesh.h to include/CGAL directory;
using CGAL::Timer for timing;
2011-05-27 12:00:24 +00:00