51 Commits

Author SHA1 Message Date
Guido Ranzuglia granzuglia
3e7fa9962e - removed compiling errors. Warnings are still there. 2014-07-29 15:15:38 +00:00
Paolo Cignoni cignoni
ba52676379 Refactored and improved the old code for finding rotation matrix that matches meshes 2014-05-23 15:07:00 +00:00
Guido Ranzuglia granzuglia
dfa659b096 - fixed crash caused by stupid call to histogram function when no matchable arcs were found (Fabio Ganovelli is responsible for the change) 2014-03-31 16:14:13 +00:00
Guido Ranzuglia granzuglia
6484164ee3 - font changed for mac/win compatibility reason 2014-03-28 09:45:16 +00:00
Guido Ranzuglia granzuglia
39f536a143 - font size inside the dialog buttons has been harmonized 2014-03-28 09:34:31 +00:00
Guido Ranzuglia granzuglia
f261464f14 - morphed QToolButtons (why?!?!?!?!?!?!?!?) into QPushButtons in AlignDialog
- a minimum size has been given to all the buttons
2014-03-28 09:15:20 +00:00
Guido Ranzuglia granzuglia
265d9b87a9 - added missing include 2014-03-05 09:45:57 +00:00
Paolo Cignoni cignoni
46b2d9f65f Added a missing class prototype 2014-02-28 10:37:05 +00:00
Paolo Cignoni cignoni
b13473baec Corrected bug in the creation of the AlignPairDialog (missing parent widget) 2014-02-21 12:58:57 +00:00
Paolo Cignoni cignoni
4bf8bc9884 Removed a number of annoying and useless warning. 2014-02-13 17:30:41 +00:00
Paolo Cignoni cignoni
815535f13f removed useless inclusion of <QtGui> that was causing warnings for GLEW conflicts
(and various other cleaning of qt includes)
2014-02-12 15:29:23 +00:00
Matteo Dellepiane matteodelle
3ebe37d1a2 dellepiane for ganovelli: fixed small issue for non rigid alignment (un-check was not seen) BUT there are still issue if there's a starting tr with scale! 2014-01-14 18:46:52 +00:00
Paolo Cignoni cignoni
63c5e4cc41 updated Added correct managment between logical and device window coords for mouse input and trackball.
Now with qt5.2 retina display correctly works
2013-12-16 11:35:30 +00:00
Guido Ranzuglia granzuglia
93b65ec6df - updated the plugins code using the new per mesh rendering system.
This code will be changed again as soon as possible in order to prevent any possible concurrent access to the mesh rendering map.
2013-10-09 12:18:31 +00:00
Paolo Cignoni cignoni
5181420e9e Changed default value for arc area threshed from 0.4 to 0.3 as suggested... 2013-04-03 07:28:38 +00:00
Paolo Cignoni cignoni
5579f55e40 Corrected stupid bug introduced during the recent matrix44 name changes. Global alignment now works again 2013-03-27 10:27:39 +00:00
Paolo Cignoni cignoni
06ab63798f cleared harmless gcc warnings 2013-03-26 22:22:42 +00:00
Guido Ranzuglia granzuglia
2446d7782f - huge commit! MeshLab is now qt 5.0 compatible. Compiling process has not been yet tested on MacOSx. 2013-03-24 19:36:54 +00:00
Marco Callieri mcallieri
55d2baa536 added a glewInit to initialize extensions used by the mesh-2-mesh aligner GL window 2013-03-20 14:10:09 +00:00
Paolo Cignoni cignoni
7bcab92a14 updated to reflect the new changes to the matrix classes of the vcg lib 2013-03-19 17:01:41 +00:00
Marco Callieri mcallieri
5e47cd63d7 added #include <cstdarg> to have va_start and va_end defined 2013-03-14 17:02:01 +00:00
Marco Callieri mcallieri
aa78d64def added #include <ctime> to have CLOCKS_PER_SEC defined 2013-03-14 16:13:04 +00:00
Paolo Cignoni cignoni
b2a580d483 After the completion of the arc creation process (and before global alignment)
it also prints some stats on the distribution of the error of the arcs
2013-03-01 14:26:41 +00:00
Paolo Cignoni cignoni
3ce684134b Added another parameter to the alignment system that allows to recompute autmatically a percentage of the arcs.
Improved names on the align tool buttons. Glue all now glues only the visible meshes.
2013-03-01 14:23:26 +00:00
Paolo Cignoni cignoni
cd6c9db487 HEAVY RESTRUCTURING of the alignment tool;
Many major changes:
- New parameter for controlling the arc creation process
- Search of bad alignment
- Improved ICP (borderflag bug removed)
- Improved Process (now it only compute new arcs and it does not recompute all the arcs every time) Global Alignment is triggered every time.
2013-02-28 11:57:07 +00:00
Paolo Cignoni cignoni
a6ef1422dd refactored getMeshEditInterface in order to shorten it and avoid a warning 2013-02-26 22:10:07 +00:00
Paolo Cignoni cignoni
e01e8aa4b5 changed the return type of point matching scale from bool to void (it could not never return false) 2013-02-26 22:08:51 +00:00
Paolo Cignoni cignoni
541891c1ad Changed the base class in the occupancy grid for counting the mesh passing in a cell. Now it uses a bitset instead of a vector 2013-02-26 22:07:34 +00:00
Fabio Ganovelli ganovelli
c4600248ee Update use og vcg::tri::Allocate< >::Get*Attribute
to revision 4811 of vcglib (below):

-----------------------------------------------------------------------
vcg::tri::Allocate<MESH>::Get*Attribute(m,name);
 has CHANGED!

Before it was returning a valid handle to the attribute
IF it existed, otherwise the handle was invalid.
 
Now it always returns a valid handle to the attribute,
by creating the attribute name if it did not exist or returning
the handle to it if it was already there.

ALl the code using Get*Attribute  has been changed accordingly.
2013-01-30 17:23:22 +00:00
Guido Ranzuglia granzuglia
cc50089b50 - changed function names according to the new vcglib syntax
(WARNING! edit_align still doesn't compile)
2012-10-22 11:57:25 +00:00
Guido Ranzuglia granzuglia
e5fb5e2792 - changed function names according to the new vcglib syntax
(WARNING! edit_align still doesn't compile)
2012-10-22 10:37:48 +00:00
Guido Ranzuglia granzuglia
d00a28d3b5 - changed function names according to the new vcglib syntax
(WARNING! edit_align still doesn't compile)
2012-10-22 10:32:47 +00:00
Guido Ranzuglia granzuglia
9541dfd73c - changed the fake colors signal and slot system 2012-07-12 13:03:58 +00:00
Guido Ranzuglia granzuglia
d037bd8b0f avoided "close alignDialog when ICPParamDialog is still open window" problem on Windows system 2012-07-12 09:21:28 +00:00
Guido Ranzuglia granzuglia
c57d1824fc avoided "icp params dialog in background" problem 2012-07-12 07:37:23 +00:00
Guido Ranzuglia granzuglia
3907588c47 avoided "icp params dialog in background" problem 2012-07-12 07:29:36 +00:00
Guido Ranzuglia granzuglia
fd06f79476 - intermediate changes to align tool (not the final one) 2012-07-11 08:28:55 +00:00
Paolo Cignoni cignoni
0a4193a75a Updated to the changes to the point triangle distance in the vcglib 2012-07-09 09:56:58 +00:00
Marco Callieri mcallieri
a8b9175b81 added a checkbox to force point rendering during alignment (for complex datasets, and mixed point-face datasets) 2012-06-20 11:45:27 +00:00
Marco Callieri mcallieri
f7f2939381 removed hard-coded constant when performing color scattering (in per-mesh coloring) 2012-06-19 13:33:15 +00:00
Guido Ranzuglia granzuglia
b723ead4eb compiler errors removed. from Render to render 2012-03-19 22:14:00 +00:00
Marco Callieri mcallieri
f9446ba48f corrected bug in lighting during point-based-alignment 2012-02-09 16:43:11 +00:00
Paolo Cignoni cignoni
b6df3b03b4 Changed from float to double the type of the alignment matrixes when changing the base mesh. This removes a precision issue that arose when changing the base mesh after a complete alignment. 2012-02-02 10:16:57 +00:00
Paolo Cignoni cignoni
e004a7c813 corrected a small bug in the OccupancyGrid that prevented in some case to find some legal arcs to be used for the alignment. 2012-02-02 10:15:02 +00:00
Marco Callieri mcallieri
4834a3a305 added the possibility of slightly changing the light direction while picking points: light is changed using CTRL + ALT (like main window) but is restricted to the front hemisphere of view-space 2011-11-21 14:58:05 +00:00
Marco Callieri mcallieri
e9acfa6500 During alignment, you can pick points on two meshes rendering their original per-vertex color (if present), using the "use false color" button on the align dialog 2011-11-09 13:52:24 +00:00
Paolo Cignoni cignoni
25ca975d98 Removed useless virtual keywords in many declarations
Removed getRequirements callback (now outdated)
2011-09-21 13:21:20 +00:00
Paolo Cignoni cignoni
ae9ae096d0 removed small bug that prevented the alignment of already perfectly aligned meshes... 2011-09-20 15:44:17 +00:00
Paolo Cignoni cignoni
f3e48e30cd Renaming of non compliant edit plugin files (align and measure) 2011-04-06 06:02:51 +00:00
Paolo Cignoni cignoni
4030e74938 Renaming of non compliant edit plugin files 2011-04-06 05:01:40 +00:00