30 Commits

Author SHA1 Message Date
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
Paolo Cignoni cignoni
06756878c6 other few changes connected to the disappearing of the hated faceprojection flags... 2011-12-14 08:22:06 +00:00
Paolo Cignoni cignoni
29810ca65d Corrections of include paths to comply the new folder arrangement of the VCG library (another set of the many filters; cleaning up and removing useless includes) 2011-04-04 06:03:12 +00:00
Paolo Cignoni cignoni
3207744258 Updated to the new painter based text printing 2010-10-01 07:55:33 +00:00
Guido Ranzuglia granzuglia
0e996ee1db removed crash on loading picked points from a file. 2010-07-02 10:21:34 +00:00
Paolo Cignoni cignoni
774882f866 updated to reflect the new syntax for getting filenames of the current mesh 2010-02-16 23:43:27 +00:00
Paolo Cignoni cignoni
90be6ee042 Updated pros and sources to comply to the new common library system 2009-12-05 00:43:23 +00:00
Guido Ranzuglia granzuglia
675a4ab804 totally new parameters system...bugs surelly will be present! 2009-09-01 08:33:26 +00:00
Paolo Cignoni cignoni
6587ebbd48 fixed rendering bug when pickpoints are loaded from file 2009-06-23 15:26:57 +00:00
Guido Ranzuglia granzuglia
dcf7f12977 from void StartEdit() to bool StartEdit() 2009-05-25 08:15:43 +00:00
Guido Ranzuglia granzuglia
2c8bb1bbf0 added GPL incipit 2009-05-18 14:41:13 +00:00
Gael Guennebaud guennebaud
295f692d43 replace .Zero => .SetZero 2008-10-27 14:49:39 +00:00
Paolo Cignoni cignoni
7a7d481e8f selected better cursor to use for move 2008-10-16 15:36:58 +00:00
Paolo Cignoni cignoni
000113d363 changed the currsor for each action 2008-10-16 14:13:52 +00:00
Paolo Cignoni cignoni
2a257a2fd0 change to allow rename by double click 2008-10-15 08:20:48 +00:00
Fabio Ganovelli ganovelli
06a3916150 [Namespaces changes]
trimesh->tri

clean up of some namespaces to comply the following naming:

Complexes (3 letters namespaces):
order 0 (point cloud    ) :vrt
order 1 (edge meshes)     :edg
order 2 (triangle meshes) :tri
order 3 (triangle meshes) :tet

Simplexes (extended namespaces):
order 0 (vertex)      :vertex 
order 1 (edge)        :edge 
order 2 (triangle)    :triangle (temporarily it remains "face")
order 3 (tetrahedron) :tetrahedron
2008-09-30 11:45:27 +00:00
Fabio Ganovelli ganovelli
daa4439e6e added template parameters to comply changes to distance functor 2008-09-24 09:19:44 +00:00
Paolo Cignoni cignoni
4d87963f29 fixed modal problem for the dialog used to rename points 2008-09-05 14:24:32 +00:00
Paolo Cignoni cignoni
b40451f0c7 now draw the selected point a little differently 2008-09-03 08:54:57 +00:00
Paolo Cignoni cignoni
49c2f96366 fixed some problems with the process of opening and saving files (like cancel button clearing all you work). Now the default place to look for the file is much smarter 2008-09-02 11:03:40 +00:00
Paolo Cignoni cignoni
c784295a47 added some new little features like the ability to undo the last move and select a point by clicking on it when in select mode 2008-09-01 07:42:02 +00:00
Paolo Cignoni cignoni
6dc9371840 made some improvements on the button names to make them less confusing. also added time, data, and data filename as metadata to the output xml. this xml is not compatible with what i just released last week 2008-08-27 16:58:38 +00:00
Paolo Cignoni cignoni
82d4f25f59 Several Big changes. 1. Added this idea of "active" for each point. if you are using a template and cant find a point you can mark it as inactive. In other cases you may have picked all the points but want to indicate for some reason that some should not be used or trusted. 2. changed way normal is displayed to give another option, choosable from the ui. 3. figured out how to find out what the normal is upon loading the points from a file. 4. tried to clean up some other code in pickpointsDialog to make it more understandable. still needs some work though 2008-08-21 09:12:18 +00:00
Paolo Cignoni cignoni
c359abb86d added a popup to ask the user if they are sure they want to clear all the points or/and the template that is loaded 2008-07-31 13:39:41 +00:00
Paolo Cignoni cignoni
3a47532d7b updated to now use the Per Mesh data now provided by the vcg library 2008-07-29 16:08:58 +00:00
Paolo Cignoni cignoni
84f8ac0f44 fixed some bugs with the ui where the gui wasnt updated properly and cleaned up the code for clearing the points a bit 2008-06-13 13:58:15 +00:00
Paolo Cignoni cignoni
d73773b47e added green lines that help you visualize the normal at each point you select. when you load points from file you get sagging nomral. need to fix this problem 2008-06-12 19:26:46 +00:00
Paolo Cignoni cignoni
a5aa0820ab updates to the ui to make the use of templates a little more intuitive. Added a button to remove points from a template as well as a label to tell what template you are using 2008-06-12 13:52:55 +00:00
Paolo Cignoni cignoni
d1570d3734 enabled loading of the default template (if one exists) when the plugin loads 2008-06-04 14:51:42 +00:00
Paolo Cignoni cignoni
fd93cfb9e3 first version of a plugin for picking points on a mesh. alows you to label picked points as well as save the points and labels to an xml file 2008-06-04 13:08:58 +00:00