27 #ifndef SVTK_SpaceMouse_h 
   28 #define SVTK_SpaceMouse_h 
   32 #if !defined WIN32 && !defined __APPLE__ 
   36 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) 
   67 #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) 
   76   static SVTK_SpaceMouseX* getInstance();
 
   78 #if !defined WIN32 && !defined __APPLE__ 
   79   int initialize     ( Display*, 
Window );
 
   80   int setWindow      ( Display*, 
Window );
 
   81   int translateEvent ( Display*, XEvent*, MoveEvent*, 
double, 
double );
 
   82   int close          ( Display* );
 
   86   Atom XButtonPressEvent;
 
   87   Atom XButtonReleaseEvent;
 
   92   static SVTK_SpaceMouseX* myInstance;
 
  107 #if !defined WIN32 && !defined __APPLE__ 
  108   int initialize     ( xcb_connection_t*, xcb_window_t );
 
  109   int setWindow      ( xcb_connection_t*, xcb_window_t );
 
  111   int close          ( xcb_connection_t* );