26#ifndef _SO_WIN_SPACEBALL_
27#define _SO_WIN_SPACEBALL_
29#include <Inventor/Win/SoWinBeginStrict.h>
32#include <Inventor/Win/SoWin.h>
33#include <Inventor/Win/devices/SoWinDevice.h>
35#include <Inventor/events/SoMotion3Event.h>
36#include <Inventor/events/SoSpaceballButtonEvent.h>
37#include <Inventor/Win/SoWinRenderArea.h>
39#include <Inventor/Gui/devices/SoGuiSpaceball.h>
85 virtual void enable(SoWidget w, XtEventHandler f,
143 SoWidget parentWidget;
154 struct _MagellanControl_ *magellanHandle;
157#include <Inventor/Win/SoWinEndStrict.h>
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.