vcglib/vcg/complex
ganovelli 09b0fb5ef7 added a way to define a scope, i.e. a collection of bounds between name of the attributes
and their type, so  that one can add an attribute without knowing its type. It is useful
when working with plugin.
example:
vcg::tri::NameTypeScope myScope;


AddNameTypeBound<int>(myScope,std::string("number");
AddNameTypeBound<float>(myScope,std::string("incoming_light"));

we have crated a scope myScope where "number" is bound a int and incoming_light is a float

In another part of code where I may not know the type of "number", I can still do:

AddPerVertexAttribute(myScope, mesh, "number");

and an int attibute name "number" will be added.
2010-03-15 15:17:20 +00:00
..
edgemesh corrected vert:: to vertex:: 2009-03-20 07:15:20 +00:00
local_optimization removed harmless warnings 2010-02-24 09:56:58 +00:00
tetramesh compilation with gcc 2007-11-20 09:50:32 +00:00
trimesh added a way to define a scope, i.e. a collection of bounds between name of the attributes 2010-03-15 15:17:20 +00:00
vertexmesh [Namespaces changes] 2008-09-30 10:59:29 +00:00
boundary.h added missing newline at the end of file 2007-11-20 09:49:53 +00:00
intersection.h Correction of IntersectionRayMesh functions, they did not compile. 2009-12-21 13:02:28 +00:00
local_optimization.h Re-factored the Heap-Simplex ratio parameter. Now it is something that should be asked to the localmodification class. 2008-07-10 09:44:09 +00:00
used_types.h [ Changes in definition of TriMesh: PART I ] 2010-03-15 13:10:43 +00:00