Re: [osg-users] qt plots over viewer

2015-05-12 Thread Gianni Ambrosio
Hi All, FYI I implemented a working spike solution. Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63728#63728 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] qt plots over viewer

2015-05-11 Thread Gianni Ambrosio
Hi All, I tried several solutions but I didn't find a full working solution yet. Here is a piece of code that shows and is able to update the image of a qt widget but I'm not able to make the move and resize working. Code: void MyViewer::addOverlay(QWidget* iWidget) { osgWidget::Window*

[osg-users] qt plots over viewer

2015-05-06 Thread Gianni Ambrosio
Hi All, I would like to show a plot widget, implemented with Qt, over an OSG viewer (please see attached image). The aim is to produce a movie with 3D animation + plot. I can already create a movie of the 3D scene correcly. Now I need to add the plot widget over the viewer. The user should

Re: [osg-users] qt plots over viewer

2015-05-06 Thread Gianni Ambrosio
Hi, for example, one of the issue just calling the exe with --frame-thread is a bunch of Qt errors like following: QPainter::translate: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setWorldTransform: Painter not active

Re: [osg-users] qt plots over viewer

2015-05-06 Thread Gianni Ambrosio
Hi, and without arguments if I just push the right mouse button and drag it downwards then the application does not respond anymore. Cheers, Gianni -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=63647#63647