26#ifndef _SO_WIN_SPACEBALL_
27#define _SO_WIN_SPACEBALL_
154 struct _MagellanControl_ *magellanHandle;
Base class for all events.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Translates and r...
float getTranslationScaleFactor() const
Returns the translation scale factor.
virtual void disable(SoWidget w, XtEventHandler f, XtPointer data)
Disables the device.
void setFocusToWindow(SbBool flag)
Win32 does not support focus change.
~SoWinSpaceball()
Destructor.
static SbBool exists()
Returns whether or not the spaceball device exists for use.
SoWinSpaceball(SoGuiSpaceball::Mask mask=SoGuiSpaceball::ALL)
Constructor.
void setRotationScaleFactor(float f)
The spaceball reports rotations and translations as integers.
virtual void enable(SoWidget w, XtEventHandler f, XtPointer data, Window win=NULL)
Enables the device for the passed window handle.
float getRotationScaleFactor() const
Returns the rotation scale factor.
void setTranslationScaleFactor(float f)
The spaceball reports rotations and translations as integers.
SbBool isFocusToWindow() const
Win32 does not support focus change.
virtual const SoEvent * translateEvent(XAnyEvent *xevent)
Attempts to convert the passed message into an SoEvent.
static SbBool isSpaceMousePresent()
Used in glxWindowProc method from SoWinGLWidget and SoWinMPGLWidget.