1835 Commits

Author SHA1 Message Date
Paolo Cignoni cignoni
82baf654b6 changed name of filter for better sorting in the menu 2010-04-27 09:53:53 +00:00
Paolo Cignoni cignoni
cef0b212d2 Modified the evolve_balloon so that it considers bi-sided distance.
The evolution seems to work mostly fine now, but there seem to be a problem (NAN on color)
which needs to be debugged. The reasons needs to be investigated..

In Gridaccell I added a method which zeros the correspondence data of the rays, 
so they can be re-computed at the next iteration.

I also added the closest point code to OLD.h
2010-04-26 12:43:44 +00:00
Paolo Cignoni cignoni
5345c48776 Modified grid-accell to keep a set of PokeRays rather than a set of rays.
A PokeRay is nothing else than a ray which is allowed to "poke" only 
one specific face.

I changed the class GridAccell to allow to keep track of pokerays rather
than simple rays and modified "mode == FACEINTERSECTIONS" in Balloon::updateViewField
to use these structures instead. Note that when using this mode you discard rays
which have t<0, so you don't even need to re-specify anything in the accellerator, 
as wahtever will be used by the next mode will be simply discarded...

I also added a new mode (STILL IN DEVELOPMENT) called BIFACEINTERSECTIONS which 
do not only look at the intersections found by a ray in the +side but also 
takes a look behind the scanpoint.
2010-04-26 11:22:40 +00:00
Paolo Cignoni cignoni
1e61af25c6 Smooth-based evolution is also affected by convergence. When we are close to the final solution
the smoothing term is damped by a functional that goes to zero when the distance term is zero.

The gridaccell has also been modified to march rays not only in the direction of the ray itself, 
but also up to an offset in the opposite direction. This can be done by offsetting the starting
point along -r.d by some value. GridAccell::trace_ray( ray, off ).

Note that The vasewidget settings have been changed for this new debugging step!!
2010-04-26 10:18:33 +00:00
Paolo Cignoni cignoni
c1fb72b76f rearranged the edit vase classes into the original (awful!) two factory and plain classes to solve a strange qt_cast failure. 2010-04-26 09:26:58 +00:00
Paolo Cignoni cignoni
3758a4e3b5 User preferences qtcreator files should not be commited (they contains references to the user's home dir and personal settings...) 2010-04-26 08:42:15 +00:00
Paolo Cignoni cignoni
3ea5ce3fe4 Modified the edit_scan adding a file saver (and a bug report for meshlab as EDITs support layers in read_only) to the gui 2010-04-26 04:17:33 +00:00
Paolo Cignoni cignoni
1856edacd4 modified edit_vase.h/cpp to use a simpler single action setup. Modified the edit_scan adding a file saver (and a bug report for meshlab as EDITs support layers in read_only) to the gui 2010-04-26 04:17:02 +00:00
Paolo Cignoni cignoni
ea41c7b652 changed the evolution to support both viewdir and curvature at the same time. Gaussian curvature seems to have more stable results, I am going to use that one instead of mean for now 2010-04-26 02:01:19 +00:00
Paolo Cignoni cignoni
fe7f3be7f0 minor: rendering of laser beam is done in image space now and initial beam is propotional to screen size rather than model diagonal 2010-04-25 23:58:35 +00:00
Paolo Cignoni cignoni
60fcfe0f3e minor: modified many components, corrected a bug in the limits, added SCAN (s) button 2010-04-25 06:38:17 +00:00
Paolo Cignoni cignoni
2d51a6b9c0 major: Added the controls GUI to the scanner 2010-04-25 05:04:26 +00:00
Paolo Cignoni cignoni
991becfbba MILESTONE!
The evolution seems to proceed well!
I tried first a dummy evolution which shrinks the field by .05 at each iteration (check balloon evolve and the if(false) therein.
Then, I corrected the refresh of the data structures for the field update
The simple test contraction works well, I also tried the tests on the sphere dataset using only view direction, as the laplacian complains about marching cube having 
svn commit -m
2010-04-24 13:12:14 +00:00
Paolo Cignoni cignoni
86aa730101 minor: replaced the Modifier_key based with a simple keyboard entry.. S for scan. Also this removes the need of having a custom QT2VCG function and simplifies the code 2010-04-24 11:12:10 +00:00
Paolo Cignoni cignoni
8a2554c073 minor: replaced meta with control modifier.. something is wrong in VCG 2010-04-24 10:59:50 +00:00
Paolo Cignoni cignoni
53cf02283e minor: removed some now useless debug outputs 2010-04-24 10:08:06 +00:00
Paolo Cignoni cignoni
043aea2250 first version of the edit_scan is up and running, it doesn't have a dialog, so you cannot change the parameters of the scan and it doesn't render the laser dots in the 2D plane. It works great! The major thing is that I still haven't found out how to add the cloud to the MeshDocument, as if I do that inside the endEdit I get a crash, while if I create a supporting MeshModel during the startEdit, I get a crash as well 2010-04-24 09:54:16 +00:00
Paolo Cignoni cignoni
48e85673b3 other meaningless attempts 2010-04-23 01:20:56 +00:00
Paolo Cignoni cignoni
872752fbb8 First attempts to block marching cube drifting...
to be cleaned up!
2010-04-23 00:05:47 +00:00
Paolo Cignoni cignoni
24c63d6f94 removed buggy vararg baricenter 2010-04-22 20:45:00 +00:00
Paolo Cignoni cignoni
6dcc7961d6 minor: FaceCentroid -> Barycenter 2010-04-22 14:20:20 +00:00
Paolo Cignoni cignoni
40d64c2062 small changes in the use of const access members to the volume voxels 2010-04-21 16:50:31 +00:00
Paolo Cignoni cignoni
14792c0095 laplacian evolution term inserted, corrected bug in corr function, refactored a lot of different things, in balloon.cpp the Evolve function simply tries to compute MC and then invert it with SEDF, butthere is some problem in there... 2010-04-20 10:43:51 +00:00
Paolo Cignoni cignoni
57ee9836f4 added compactvertexvector to the normal extrapolation filter and added to point filter class 2010-04-20 08:24:46 +00:00
Paolo Cignoni cignoni
cf4dbdd50d sligthly better comments to parameters. to be improved... 2010-04-20 01:33:23 +00:00
Paolo Cignoni cignoni
3c615267e4 Updated to the name changes of non 2manifold checking functions ( now the function to call is CountNonManifoldEdgeFF) 2010-04-20 01:30:22 +00:00
Paolo Cignoni cignoni
ee2ea565f8 Cleaned and moved filters for selecting selfintersecting faces, tex border vertices, non manifold edges and non manifold faces to a the filter_select plugin.
Now nonmanifold selecting filters now select both vertex and faces when meaningful.
Removed coloring filters for coloring selfintersecting faces and non manifold situations. Improved robustness of self intersecting filter. 
Changed the name of the filters for better ordering in the menus (subdiv, transformation filters should go together,  etc).
2010-04-20 01:19:08 +00:00
Paolo Cignoni cignoni
374ac6b12c cleaned up a bit filter names 2010-04-20 01:17:20 +00:00
Paolo Cignoni cignoni
078ee084a7 renamed filters for better placement in the alphabetically ordered filter menus 2010-04-20 00:58:15 +00:00
Paolo Cignoni cignoni
f0eecae992 Removed all the important stuff from this meslab file and moved it into the vcg lib 2010-04-20 00:55:00 +00:00
Guido Ranzuglia granzuglia
0d1444534b A complete updating to the plug-in 2010-04-19 13:01:21 +00:00
Paolo Cignoni cignoni
3cccf8e17f including curvature causes Eigen conflict 2010-04-19 05:13:07 +00:00
Paolo Cignoni cignoni
3b9a23988a balloon evolution is working, but need to add controls to stop over-contraction and laplacian smoothing. Updated VCGLib and now doesn't compile anymore 2010-04-19 04:47:12 +00:00
Paolo Cignoni cignoni
c7ae373d75 corrected bugs in the correspondence, corrected bug in the heap preventing correct update of pre-existing entry, corrected bug in face2point giving signed distance only in 1 of the 2 sub-cases 2010-04-18 19:09:18 +00:00
Paolo Cignoni cignoni
c772f2b25a Removed old include from Proj file and modified local path svn:ignore to prevent commit of temporary qt files 2010-04-15 23:09:57 +00:00
Paolo Cignoni cignoni
6edbf64209 edit_vase plugin created. compiles under OSX with Eigen3 (devel branch) and SuiteSparse installed with fink 32bit compiled from source libraries. Ray marhing, isosurfacing, smooth laplacian field interpolator working. Currently implementing the structure for balloon evolution. 2010-04-15 23:07:10 +00:00
Paolo Cignoni cignoni
1fd1291c78 Added filters for computing rotation to align an object either to its inertia moments or to a fitting plane 2010-04-12 21:42:52 +00:00
Paolo Cignoni cignoni
3bc1803e36 improved dump on the log of inertia tensor 2010-04-12 21:38:20 +00:00
Paolo Cignoni cignoni
5030d896bf added support for hausdorff distance between point clouds and meshes 2010-04-09 15:10:30 +00:00
Paolo Cignoni cignoni
72aa367dfb various small changes and refactoring to remove warnings and dubious stuff 2010-04-09 14:43:41 +00:00
Paolo Cignoni cignoni
8ddb8a1c87 simple sintax error vcg::tri::UpdateTopology<BaseMesh> -> vcg::tri::UpdateTopology<MeshType>; 2010-04-09 09:15:50 +00:00
Guido Ranzuglia granzuglia
e8b105e1ed re-added needed parameters names 2010-04-09 08:30:14 +00:00
Paolo Cignoni cignoni
f781f2dddf updated all the precondition callback to use the standard MM_ enum. 2010-04-08 23:03:52 +00:00
Guido Ranzuglia granzuglia
86625670c3 added horrible messageBox to avoid to call the render plugin without radius per vertex 2010-04-08 13:18:30 +00:00
Paolo Cignoni cignoni
3c5f55b77f removed harmless gcc warnings 2010-04-08 10:19:54 +00:00
Paolo Cignoni cignoni
be7dd8a14f needed changes to the new directory organization and common folder 2010-04-08 09:31:34 +00:00
Paolo Cignoni cignoni
89c190500e removed harmless gcc warnings 2010-04-07 23:35:35 +00:00
Nico Pietroni nicopietroni
0be805221b added test on ff topology 2010-04-07 21:42:18 +00:00
Marco Di Benedetto dibenedetto
1a0d6d2747 fixed mask update for vertex seam. 2010-03-29 16:39:10 +00:00
Marco Di Benedetto dibenedetto
46a77f545a Added Vertex Attribute Seam meshing filter. 2010-03-29 12:52:33 +00:00