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
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
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
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)
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
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
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
___
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
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
9 matches
Mail list logo