Jo Mo wrote on 2012-07-20: 
> I have just started using OSG and came across the wrapper classes in
the
> osgWrapper directory. However, I don't quite understand what these
.cpp
> files are exactly doing / what I can use them for. They all contain a
> REGISTER_OBJECT_WRAPPER Macro, but I don't understand what this
> definition (defined in ObjectWrapper) is actually doing. Maybe
somebody
> could give a short explanation of these wrappers and tell me when I
should
> use them.

Hi Jo,

To summarize, REGISTER_OBJECT_WRAPPER is how you tell OpenSceneGraph's
Node serializer to write out a Node to file or read it in.

Hopefully, reading
http://www.openscenegraph.org/projects/osg/wiki/Support/KnowledgeBase/Se
rializationSupport will help you, too.
--
Bryan Thrall
Principal Software Engineer
FlightSafety International
[email protected]


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to