Hi Emmanuel,
I don't find good way to do what you want.
osgIntrospection::Value take a variable in constructor parameter
and reflect this variable. To discover the type of a pointer,
osgIntrospection use the
RTTI mechanism. So the variable give in parameter of the constructor
couldn't be a "void *".
The intuitive way that I will take is to request the "osg::Geode" type
to osgIntrospection::Reflection (ok possible). Create a Null instance
of this type (never try but normally possible), and finally request to
osgIntrospection the conversion of "void*" in "osg::Geode*" (actually
not possible).
To do this, we must add a osgIntrospection::ReinterpretConverter in
each Reflector,
I will do this and test it but I really busy this week so I push back
this to the next week end.
If somebody have a better solution, I listening.
David Callu
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/