I simply started from the TreeModel in 
http://qt.nokia.com/doc/4.6/itemviews-simpletreemodel.html
I have a QTreeitem which contains a pointer to the parent QTreeItem and a list 
of children and a osg::Node pointer to the actual scene node.

This slightly duplicates the structure of the osg::scene in the tree pointers 
but it was easier and in my case the gui 'knows' when the scene changes so can 
recalc the tree.


Cheers,
Martin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=21761#21761





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

Reply via email to