Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/Geant4/tools/sg/device_interactor is written in an unsupported language. File is not indexed.

0001 // Copyright (C) 2010, Guy Barrand. All rights reserved.
0002 // See the file tools.license for terms.
0003 
0004 #ifndef tools_sg_device_interactor
0005 #define tools_sg_device_interactor
0006 
0007 #include "event"
0008 
0009 namespace tools {
0010 namespace sg {
0011 
0012 class device_interactor {
0013 public:
0014   virtual ~device_interactor(){}
0015 public:  
0016   virtual void key_press          (const key_down_event&) = 0;
0017   virtual void key_release        (const key_up_event&) = 0;
0018   virtual void mouse_press        (const mouse_down_event&) = 0;
0019   virtual void mouse_release      (const mouse_up_event&) = 0;
0020   virtual void mouse_move         (const mouse_move_event&) = 0;
0021 //virtual void mouse_double_click (const mouse_double_click_event&) = 0;
0022   virtual void wheel_rotate       (const wheel_rotate_event&) = 0;
0023 };
0024 
0025 }}
0026 
0027 #endif