Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2010-01-28 Thread Tobias Bellmann
Hi, I know this thread is a little bit old, but I've got the same symptoms in my QT Embedded CompositeViewer. The EventQueue of a view seems to never contain any osgGA::GUIEventAdapter::MOVE Events, but osgGA::GUIEventAdapter::PRESSED are generated. My CompositeViewer class definiton: class

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2010-01-28 Thread Nishant Singh
Turn on the mouse tracking in your constructor. it is off by default in QGLWidget. setMouseTracking(true); On Thu, Jan 28, 2010 at 7:25 PM, Tobias Bellmann tobias.bellm...@dlr.dewrote: Hi, I know this thread is a little bit old, but I've got the same symptoms in my QT Embedded

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-06-01 Thread Matthias Asselborn
iam holding the mouse button not down. i want a pick each time i move my mouse! i thought its implemented with : MOVE ... but its not working ... Thank you! Cheers, Matthias -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13254#13254

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-06-01 Thread Robert Osfield
Hi Mathias, I have just modified the osgpick example to check for MOVE events and it works perfectly. switch(ea.getEventType()) { case(osgGA::GUIEventAdapter::MOVE): { osgViewer::View* view = dynamic_castosgViewer::View*(aa); if (view)

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-06-01 Thread Matthias Asselborn
Thank you Robert your example works perfect this is exactly what i need what osg version did you use? did you change only code in the swith case section? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13258#13258

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-06-01 Thread Robert Osfield
On Mon, Jun 1, 2009 at 2:17 PM, Matthias Asselborn matthias.asselb...@gmx.de wrote: Thank you Robert your example works perfect this is exactly what i need what osg version did you use? did you change only code in the swith case section? svn/trunk, but it's something that has worked

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-06-01 Thread Matthias Asselborn
ive fied this problem. the reason was glut ive forgotten to declare a passiveMouse Callback sorry ... ;-) now it works perfect ;-) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13261#13261 ___

[osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-05-31 Thread Matthias Asselborn
Hi, a want to force a Pick each Mouse move Code: case osgGA::GUIEventAdapter::MOVE: { if ( pick( ea, pViewer, aa ) ) { return true; } return false; } case osgGA::GUIEventAdapter::RELEASE: i set a breakpoint under the case MOVE: expression

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-05-31 Thread Paul Martz
Are you holding the mouse button down? If so, you'll get a DRAG event, right? (Is this not universal UI terminology?) Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 ___ osg-users mailing list