#include <SVTK_SpaceMouse.h>
SVTK_SpaceMouseXCB::SVTK_SpaceMouseXCB |
( |
| ) |
|
Constructor
References win.
int SVTK_SpaceMouseXCB::close |
( |
xcb_connection_t * |
connection | ) |
|
int SVTK_SpaceMouseXCB::initialize |
( |
xcb_connection_t * |
connection, |
|
|
xcb_window_t |
window |
|
) |
| |
int SVTK_SpaceMouseXCB::setWindow |
( |
xcb_connection_t * |
connection, |
|
|
xcb_window_t |
window |
|
) |
| |
Initialize by window
References win.
int SVTK_SpaceMouseXCB::translateEvent |
( |
xcb_connection_t * |
connection, |
|
|
xcb_client_message_event_t * |
xcbEvent, |
|
|
MoveEvent * |
spaceMouseEvent, |
|
|
double |
scale, |
|
|
double |
rScale |
|
) |
| |
Custom event handler
References SVTK_SpaceMouse::a, SVTK_SpaceMouse::b, SVTK_SpaceMouse::MoveEvent::button, SVTK_SpaceMouse::c, SVTK_SpaceMouse::MoveEvent::data, SVTK_SpaceMouse::MoveEvent::period, SVTK_SpaceMouse::SpaceButtonPress, SVTK_SpaceMouse::SpaceButtonRelease, SVTK_SpaceMouse::SpaceMouseMove, SVTK_SpaceMouse::spaceMouseOn, SVTK_SpaceMouse::MoveEvent::type, SVTK_SpaceMouse::x, XCBButtonPressEvent, XCBButtonReleaseEvent, XCBMotionEvent, SVTK_SpaceMouse::y, and SVTK_SpaceMouse::z.
xcb_window_t SVTK_SpaceMouseXCB::win |
|
private |
xcb_atom_t SVTK_SpaceMouseXCB::XCBButtonPressEvent |
|
private |
xcb_atom_t SVTK_SpaceMouseXCB::XCBButtonReleaseEvent |
|
private |
xcb_atom_t SVTK_SpaceMouseXCB::XCBMotionEvent |
|
private |
The documentation for this class was generated from the following files: