[OpenWalnut-Dev] OSG Group Nodes
Sebastian Eichelbaum
eichelbaum at informatik.uni-leipzig.de
Thu Jan 21 11:52:10 CET 2010
Dear List
I have added a new class "WGEGroupNode", which basically is a wrapper around
osg::Group. But it provides two member functions "insert" and "remove" which
add/remove a specified node to the list of childs. They should be used as a
replacement of osg::Group::addChild and osg::Group::removeChild as it provides
thread safe handling of these operations. Internally it uses update callbacks to
add/remove childs during the update cycle of the OSG. This is the way graph
modifications should be done (as intended by OSG).
Please consider using this new class whenever you want to use osg::Group nodes.
Bye
Sebastian
--
Dipl.-Inf. Sebastian Eichelbaum
Universität Leipzig
Institut für Informatik
Abteilung Bild- und Signalverarbeitung
PF 100920
D-04009 Leipzig
More information about the OpenWalnut-Dev
mailing list