BALL
1.4.1
|
#include <BALL/VIEW/INPUT/inputDeviceDriver.h>
Public Member Functions | |
InputDeviceDriver (QWidget *reciever) | |
virtual | ~InputDeviceDriver () |
virtual bool | setUp ()=0 |
virtual bool | tearDown ()=0 |
void | setEnabled (bool enabled) |
bool | isEnabled () |
void | setReceiver (Scene *s) |
QWidget * | getReceiver () |
Protected Member Functions | |
void | emitPositionChange (double x, double y, double z, double a, double b, double c) |
void | emitPositionChange (double x, double y, double z, double q1, double q2, double q3, double q4) |
void | emitHeadChange (double x, double y, double z, double q1, double q2, double q3, double q4) |
Private Attributes | |
QMutex | receiverLock |
QWidget * | receiver_ |
bool | enabled_ |
Definition at line 18 of file inputDeviceDriver.h.
BALL::VIEW::InputDeviceDriver::InputDeviceDriver | ( | QWidget * | reciever | ) |
virtual BALL::VIEW::InputDeviceDriver::~InputDeviceDriver | ( | ) | [virtual] |
void BALL::VIEW::InputDeviceDriver::emitHeadChange | ( | double | x, |
double | y, | ||
double | z, | ||
double | q1, | ||
double | q2, | ||
double | q3, | ||
double | q4 | ||
) | [protected] |
void BALL::VIEW::InputDeviceDriver::emitPositionChange | ( | double | x, |
double | y, | ||
double | z, | ||
double | a, | ||
double | b, | ||
double | c | ||
) | [protected] |
void BALL::VIEW::InputDeviceDriver::emitPositionChange | ( | double | x, |
double | y, | ||
double | z, | ||
double | q1, | ||
double | q2, | ||
double | q3, | ||
double | q4 | ||
) | [protected] |
bool BALL::VIEW::InputDeviceDriver::isEnabled | ( | ) | [inline] |
Definition at line 28 of file inputDeviceDriver.h.
void BALL::VIEW::InputDeviceDriver::setEnabled | ( | bool | enabled | ) |
Reimplemented in BALL::VIEW::FakeDriver.
void BALL::VIEW::InputDeviceDriver::setReceiver | ( | Scene * | s | ) |
virtual bool BALL::VIEW::InputDeviceDriver::setUp | ( | ) | [pure virtual] |
Implemented in BALL::VIEW::FakeDriver.
virtual bool BALL::VIEW::InputDeviceDriver::tearDown | ( | ) | [pure virtual] |
Implemented in BALL::VIEW::FakeDriver.
bool BALL::VIEW::InputDeviceDriver::enabled_ [private] |
Definition at line 42 of file inputDeviceDriver.h.
QWidget* BALL::VIEW::InputDeviceDriver::receiver_ [private] |
Definition at line 41 of file inputDeviceDriver.h.
QMutex BALL::VIEW::InputDeviceDriver::receiverLock [private] |
Definition at line 39 of file inputDeviceDriver.h.