Hi Aurelien,
This is really an exiting proposal you made.
Do I understand right, that the userAttributes-map is not yet existent and has
to be developed, including serializers?
If yes, then maybe DefaultUserDataContainer could be used with something like:
class UserAttribute : public osg::Object
{
std::string _AttrValue;
}
to fill in. The name of the object is the key. One little disadvantage has this
solution: it is a vector (not a map) and therefore searching by key will be
slower, when a lot of elements are in. But I think not a lot of elements would
be inside in normal cases...
Thank you!
Cheers,
We
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=52019#52019
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org