Hi All,
I would like to copy a node (osgWidget::Box) without its contained widget 
(osgWidget::Label). I'm trying to use the clone() method but I don't know which 
CopyOp should I use in this case.
Alternatively I can do a deep copy of the window (osg::CopyOp::DEEP_COPY_ALL) 
but I need a way to get the pointer of the cloned Label widget. In 
osgWidget::Window I can find:

addWidget (Widget *)
insertWidget (Widget *, unsigned int)
removeWidget (Widget *)
replaceWidget (Widget *, Widget *)

but nothing to get a certain widget (the Label). How could I do?

Regards
Gianni

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





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

Reply via email to