vcglib/vcg
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
..
complex 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
container [ Changes in definition of TriMesh: PART I ] 2010-03-15 10:43:27 +00:00
math removed harmless warnings 2010-02-24 09:55:28 +00:00
simplex [ Changes in definition of TriMesh: PART I ] 2010-03-15 10:42:52 +00:00
space min in std limits is a function 2010-02-11 20:07:27 +00:00