SoQtSpaceball Class Reference
#include <SoQtSpaceball.h>
List of all members.
Public Types |
| enum | DeviceType { SPACE_BALL = 0x01,
MAGELLAN_SPACE_MOUSE = 0x02
} |
| enum | Mask {
MOTION_EVENT = 0x01,
MOTION = MOTION_EVENT,
PRESS_EVENT = 0x02,
PRESS = PRESS_EVENT,
RELEASE_EVENT = 0x04,
RELEASE = RELEASE_EVENT,
ALL_EVENTS = MOTION_EVENT | PRESS_EVENT | RELEASE_EVENT,
ALL = ALL_EVENTS
} |
Public Member Functions |
| virtual void | disable (QWidget *widget, SoQtEventHandler *handler, void *closure) |
| virtual void | enable (QWidget *widget, SoQtEventHandler *handler, void *closure) |
| float | getRotationScaleFactor (void) const |
| float | getTranslationScaleFactor (void) const |
| SbBool | isFocusToWindow (void) const |
| void | setFocusToWindow (SbBool flag) |
| void | setRotationScaleFactor (float f) |
| void | setTranslationScaleFactor (float f) |
| | SoQtSpaceball (int events=ALL_EVENTS) |
| virtual const SoEvent * | translateEvent (QEvent *event) |
| virtual | ~SoQtSpaceball () |
Static Public Member Functions |
| static SbBool | exists (void) |
Private Member Functions |
| | SOQT_OBJECT_HEADER (SoQtSpaceball, SoQtDevice) |
Private Attributes |
| class SoQtSpaceballP * | pimpl |
Detailed Description
Definition at line 32 of file SoQtSpaceball.h.
Member Enumeration Documentation
- Enumerator:
| SPACE_BALL |
|
| MAGELLAN_SPACE_MOUSE |
|
Definition at line 44 of file SoQtSpaceball.h.
- Enumerator:
| MOTION_EVENT |
|
| MOTION |
|
| PRESS_EVENT |
|
| PRESS |
|
| RELEASE_EVENT |
|
| RELEASE |
|
| ALL_EVENTS |
|
| ALL |
|
Definition at line 36 of file SoQtSpaceball.h.
Constructor & Destructor Documentation
| SoQtSpaceball::SoQtSpaceball |
( |
int |
events = ALL_EVENTS |
) |
|
| virtual SoQtSpaceball::~SoQtSpaceball |
( |
|
) |
[virtual] |
Member Function Documentation
| virtual void SoQtSpaceball::disable |
( |
QWidget * |
widget, |
|
|
SoQtEventHandler * |
handler, |
|
|
void * |
closure | |
|
) |
| | [virtual] |
| virtual void SoQtSpaceball::enable |
( |
QWidget * |
widget, |
|
|
SoQtEventHandler * |
handler, |
|
|
void * |
closure | |
|
) |
| | [virtual] |
| static SbBool SoQtSpaceball::exists |
( |
void |
|
) |
[static] |
| float SoQtSpaceball::getRotationScaleFactor |
( |
void |
|
) |
const |
| float SoQtSpaceball::getTranslationScaleFactor |
( |
void |
|
) |
const |
| SbBool SoQtSpaceball::isFocusToWindow |
( |
void |
|
) |
const |
| void SoQtSpaceball::setFocusToWindow |
( |
SbBool |
flag |
) |
|
| void SoQtSpaceball::setRotationScaleFactor |
( |
float |
f |
) |
|
| void SoQtSpaceball::setTranslationScaleFactor |
( |
float |
f |
) |
|
| virtual const SoEvent* SoQtSpaceball::translateEvent |
( |
QEvent * |
event |
) |
[virtual] |
Member Data Documentation
The documentation for this class was generated from the following file:
- /opt/ros/diamondback/stacks/graspit_simulator/graspit/include/Inventor/Qt/devices/SoQtSpaceball.h