Go to file
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
apps [ Changes in definition of TriMesh: PART I ] 2010-03-15 10:44:40 +00:00
docs Deleted hopefully the last trash files that were incorrectly added by mistake by Giuseppe Turini (who had svn access removed). PLEASE TAKE A BIT OF CARE BEFORE ISSUING A RANDOM COMMIT. 2008-06-04 12:53:29 +00:00
img added img module 2009-07-14 14:43:19 +00:00
vcg 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
wrap mini-changes at various importer exporters, to maximize compatibility 2010-03-13 00:52:17 +00:00