73 Commits

Author SHA1 Message Date
Paolo Cignoni cignoni
0b214ed910 Added Per face curvature and generic float/double (m kind) Curvature Direction components 2014-08-20 09:48:32 +00:00
Paolo Cignoni cignoni
0fe5d587aa updated meshlab and common library to float/double independence 2014-06-19 08:48:11 +00:00
Paolo Cignoni cignoni
d9d39ebd37 Corrected include mess with filterscript.h and (important change)
Changed the semantic of the MeshModel::UpdateDataMask - now it always enable a reqested attribute even if it should be already enabled. Re-enabling a ocf attribute is harmless and this can avoid the problem in which for some strange reasons the MeshModel bitmask is no more aligned with the real state of the mesh.
2014-05-13 20:31:34 +00:00
Guido Ranzuglia granzuglia
c2981d6edc - WARNING!!!! DANGEROUS COMMIT. REALLY UNTESTED!!! added support for xml filters in old fashioned scripting system 2014-05-13 14:03:44 +00:00
Paolo Cignoni cignoni
d78ad7b061 corrected the IsPreviewable bug. Now filter changing face color or face normal are again previewable. 2014-04-28 11:58:39 +00:00
Guido Ranzuglia granzuglia
c1ab2fad2e - new MeshLabServer version able to deal with mlp files has been committed 2014-04-18 20:54:55 +00:00
Paolo Cignoni cignoni
850162d96b Added the addOrGetMesh method to the MeshModel Class to allow the simple rewrite of exsiting layers
QT-Registered RenderMode type to allow the safe message containing non-QT types
2014-04-16 09:21:38 +00:00
Guido Ranzuglia granzuglia
89d010bd3a - added new RenderMode parameter to addNewMesh function. The parameter is used to initialize the per mesh rendering mode according to the requested value. 2014-03-31 16:11:16 +00:00
Paolo Cignoni cignoni
94dd66a8e5 removed useless inclusion of <QtGui> that was causing warnings for GLEW conflicts 2014-02-12 13:58:35 +00:00
Guido Ranzuglia granzuglia
1265e65eca - a lot of small bugs fixed 2013-12-12 17:25:04 +00:00
Guido Ranzuglia granzuglia
a5d5d5eb56 - Huge Commit! added per mesh rendering mode system!
Warning! there is a major drawback with the MeshRenderingInterface plugins. It will be fixed as soon as possible.
2013-10-08 17:09:33 +00:00
Guido Ranzuglia granzuglia
2c4d2c600c - Qtime init was missing 2013-07-16 09:10:35 +00:00
Guido Ranzuglia granzuglia
5470efde87 - fixed small QTime according to qt5 new semantics 2013-04-19 09:08:57 +00:00
Paolo Cignoni cignoni
b2ab77cbf3 Refactored setCurrentMesh to avoid duplicated code (getMesh to find a mesh from the id) 2013-02-26 22:05:16 +00:00
Guido Ranzuglia granzuglia
c0266d3c58 - removed compile time errors 2012-12-19 12:06:00 +00:00
Paolo Cignoni cignoni
dec347ffb4 ** Very massive change to the decorator. Interface has been changed. **
some Decorators could still not work. 
Now decorator are per mesh or per document entities. 
Each mesh can have its set of decorators and each view can show different decorators. For example it is now easy to show the dots of one layer and the normals of another one or, for two different views show in one the histogram of one mesh and in the other the histogram of the other one. 
Now multiple realtime display boxes can safely exists (it is possible to show bbox info of two meshes simultaneously)

Still to do: 
optimise the updates of per mesh decorators
bug in the update of the menu check

Other minor things done in this big commit:
Removed Tag stuff. Dead.
Renamed various signals/slots to something more meaningful 
removed log pointer from glare
Complete show edge in the base decorator
2012-11-29 23:16:25 +00:00
Paolo Cignoni cignoni
345824ffe0 First changes to the meshmodel so that planes has enum based semantic 2012-10-26 13:05:42 +00:00
Guido Ranzuglia granzuglia
d524f78bee - cleaned up a lot of files removing useless functions 2012-10-18 10:06:57 +00:00
Paolo Cignoni cignoni
c1ad4c594f Updated the basecode to the last changes of the VCG library
- UpdateNormals -> UpdateNormal
- Reduced the number of needed includes of the vcg library
2012-10-15 09:21:23 +00:00
Guido Ranzuglia granzuglia
c512929d3e updateDataMask now update the mesh topology every time; even if the topology attributes are already switched on. 2012-09-11 12:09:10 +00:00
Guido Ranzuglia granzuglia
994c8aec4d - we love information hiding! 2012-07-25 06:54:45 +00:00
Guido Ranzuglia granzuglia
ce8d4069c0 - added dataMask function 2012-07-24 15:21:38 +00:00
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