51 Commits

Author SHA1 Message Date
Guido Ranzuglia granzuglia
6653514090 - invoked raster destructors 2012-07-23 14:05:40 +00:00
Paolo Cignoni cignoni
edec6e2f0a Added a UpdateBoxAndNormals method to the meshmodel class. This is useful to have a UNIFORM way of recomputing stuff after some geometry change. 2012-07-04 08:36:18 +00:00
Paolo Cignoni cignoni
87d01010e6 Important Change:
removed the enum bit VERTFLAGBORDER FACEFLAGBORDER (they were deprecated...)
and reordered the MeshElement enums. Corrected a nasty bug caused by two colliding (!) enums.
2012-07-02 08:33:28 +00:00
Guido Ranzuglia granzuglia
ff216153fc added rasters popup menu.
removed layers buttons.
2012-06-29 08:25:41 +00:00
Guido Ranzuglia granzuglia
c9fa7b2251 code has been rearranged just a little bit 2012-05-29 13:45:56 +00:00
Marco Callieri mcallieri
ecfeaee1d7 fixed bug in NameDisambiguator, made label name checking more coherent between project loading / mesh loading / mesh creation
TO BE TESTED
2012-05-25 12:50:32 +00:00
Paolo Cignoni cignoni
ad71427656 Removed harmless gcc warnings 2012-05-07 07:31:56 +00:00
Guido Ranzuglia granzuglia
828d156d6c changed update functions interfaces. 2012-04-26 16:56:57 +00:00
Guido Ranzuglia granzuglia
35165025d3 - added the raster update system 2012-04-26 10:32:38 +00:00
Guido Ranzuglia granzuglia
1bde5015bb - removing a mesh from a document with only one mesh now produce an empty project 2012-04-20 13:31:35 +00:00
Guido Ranzuglia granzuglia
d1716e586e added updateProgressBar mechanism for filter running in a different thread 2012-03-30 09:54:15 +00:00
Guido Ranzuglia granzuglia
306371eb5b removed crash on closing window with an active shader 2012-03-16 17:28:08 +00:00
Paolo Cignoni cignoni
bd34f87d52 added a check to avoid too frequent meshupdating 2012-03-16 13:20:25 +00:00
Guido Ranzuglia granzuglia
0de224dbe7 added new mechanism to interactive render the filter when it's running. 2012-03-16 08:36:03 +00:00
Paolo Cignoni cignoni
14e315ac36 Changed the behaviour of the raster dialog visible/unvisible. Now the eye icon for raster has the same meaning of meshes. To switch to the 'rastermode' where the given raster is shown there is an apposite button that take into account the current raster. 2012-03-06 00:18:50 +00:00
Paolo Cignoni cignoni
ac0a7f5086 Added a MeshModel::Clear method to remove a bug related to reloading a mesh after some attributes (like topology) have been added 2012-01-25 10:25:04 +00:00
Guido Ranzuglia granzuglia
fd25643a25 - updated enum system
- fixed bugs on script enum
- added MeshLabApplication in order to avoid crash when an handle raise up an uncaught exception.
2011-09-06 09:36:19 +00:00
Marco Callieri mcallieri
79f1dce3e4 added function getRaster(int id) too have symmetry with getMesh(int id) 2011-02-22 16:51:45 +00:00
Guido Ranzuglia granzuglia
58df3209e0 added info on modified meshes 2011-02-09 12:38:36 +00:00
Guido Ranzuglia granzuglia
b22afd0fce added Raster loading in the project.
WARNING: RasterModel should be a little re-engineered!
2011-01-20 17:21:47 +00:00
Paolo Cignoni cignoni
d8b485bfd5 Cleaned up names involving files in the meshmodels and introduced a new AddNewMesh 2010-12-22 12:26:11 +00:00
Guido Ranzuglia granzuglia
80b28e4bd0 DANGEROUS COMMIT!!!! changed all the IO architecture of the MeshLab Project. Some functions MUST BE factorized again! 2010-12-21 19:15:47 +00:00
Paolo Cignoni cignoni
a1aad344cb Restructured the label/filename commented and added a very important parent pointer in the meshmodel (a layer must know its own document) 2010-11-30 09:18:08 +00:00
Paolo Cignoni cignoni
fee09e5674 Cleaned up the interface for name and paths for mesh and raster 2010-11-17 15:54:18 +00:00
Paolo Cignoni cignoni
b1c25a0543 Added Camera to the elements that can be saved and restored and previewed
Added a <label> field to clarify the difference between the filename of a mesh saved project and string shown in the dialog.
2010-11-17 09:09:26 +00:00
Guido Ranzuglia granzuglia
98d97d0b2f update script system 2010-11-09 10:31:49 +00:00
Paolo Cignoni cignoni
a99db8b0a4 Shot is in float by default... 2010-10-31 13:06:59 +00:00
Paolo Cignoni cignoni
3035b53809 more conservative pushattrib's 2010-09-30 23:32:52 +00:00
Guido Ranzuglia granzuglia
dff13e0cad temporary fixed dreadful crash between MeshModel and MeshDocument. WARNING! we should take a deeper look. There is an absolute unstable balance!!!!!!!!! 2010-09-19 12:18:59 +00:00
Paolo Cignoni cignoni
92ee44b26c Corrected a small bug in the constructor of meshmodel (it should add itself to the meshdocument parent) 2010-09-17 13:12:06 +00:00
Paolo Cignoni cignoni
af719ccd10 added vertquality to stat/preview 2010-09-13 09:55:26 +00:00
Paolo Cignoni cignoni
5095c1909f warnings; current mesh id is not unsigned. 2010-09-01 12:54:01 +00:00
Michele Sottile sottile
dc77d6553b Added methods and class for Rasters 2010-09-01 10:05:17 +00:00
Michele Sottile sottile
e87201f127 Added RasterModel and Raster 2010-08-06 16:10:01 +00:00
Michele Sottile sottile
e046a51e37 Little bug in removeTag 2010-07-28 14:09:37 +00:00
Guido Ranzuglia granzuglia
6083781d29 removed crashes on setCurrentMesh used in positional way instead of using it through the MeshModel id. 2010-07-28 13:08:21 +00:00
Michele Sottile sottile
d05642f4cb Inserted Tags Management 2010-07-26 13:49:56 +00:00
Paolo Cignoni cignoni
fcef4c55dd * Changed the Id mesh identifier and the mesh generation mechanism.
Now when a mesh is generated it has a unique id generated by the owning MeshDocument. Changed the signature of the MeshModel constructor.
* Added the Tag Creation and visualization interface.
* Improved the management of change of layer for decoration (new message notification and restart of the decoration). Now the glare store also a pointer to the global parameters to be passed to the decorator.
2010-07-23 14:42:17 +00:00
Michele Sottile sottile
9b3c7f67ca Add id for mesh 2010-06-11 13:38:10 +00:00
Guido Ranzuglia granzuglia
6286c9d496 patched non extension files 2010-05-17 14:05:48 +00:00
Guido Ranzuglia granzuglia
f27c400cfd fixed bug on opening models with same name 2010-05-17 09:19:46 +00:00
Paolo Cignoni cignoni
7138c216ee Refactored a bit and added mesh to new layer feature 2010-04-28 01:48:32 +00:00
Paolo Cignoni cignoni
da96f654c4 Changed the way name collisions in layers are managed (now a 1,2,3, naming scheme is used) 2010-04-23 00:07:48 +00:00
Paolo Cignoni cignoni
79359785ac improved rendering of selected vertices 2010-04-20 00:47:09 +00:00
Paolo Cignoni cignoni
f0be8fb411 moved some inlined code about data mask into meshmodel.cpp 2010-04-07 23:39:54 +00:00
Guido Ranzuglia granzuglia
40992a9547 added support for vertex selection to MeshModelState 2010-03-24 14:58:06 +00:00
Paolo Cignoni cignoni
79ec4e34c9 added support to vertex selection and rendering 2010-02-27 00:53:18 +00:00
Paolo Cignoni cignoni
54e9c75a07 slightly cleaned up the mechanism of communication of layer changes between the framework and the layer dialog. Corrected the bug involving the change of layer during the preview mode. 2010-02-19 16:12:03 +00:00
Paolo Cignoni cignoni
debb836f1a Interface change
- re added MainWindowInterface super class. It is needed for the preview mechanism that need that a dialog is able to restart the execution of a filter. (messages would have been a better choice...)
- cleaned up the path/filenames storing in the MeshModel Class. now there are methods for getting the filename and the full path
2010-02-16 23:35:28 +00:00
Paolo Cignoni cignoni
a811adfc79 Definitely removed the double applying interface of filters. Now apply filter must use the applyFilter ( MeshDocument ) 2010-02-05 16:03:05 +00:00