30 Commits

Author SHA1 Message Date
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
Paolo Cignoni cignoni
58e1212113 Renaming of non compliant edit plugins. 2011-04-05 22:14:11 +00:00