CMS 3D CMS Logo

FWGLEventHandler.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWGLEventHandler_h
2 #define Fireworks_Core_FWGLEventHandler_h
3 
4 #include "TEveLegoEventHandler.h"
5 #include <sigc++/signal.h>
6 
7 class TGWindow;
8 class TGLPhysicalShape;
9 class FWEveView;
10 
11 class FWGLEventHandler : public TEveLegoEventHandler
12 {
13 public:
14  FWGLEventHandler(TGWindow *w, TObject *obj, TEveCaloLego* l=0);
15  virtual ~FWGLEventHandler() {}
16 
17  virtual void PopupContextMenu(TGLPhysicalShape* pshp, Event_t *event, Int_t gx, Int_t gy);
18 
19  virtual Bool_t HandleKey(Event_t *event);
20 
21  virtual Bool_t HandleButton(Event_t *event);
22 
23  virtual Bool_t HandleFocusChange(Event_t *event);
24  virtual Bool_t HandleCrossing(Event_t *event);
25 
26  sigc::signal<void,Int_t,Int_t> openSelectedModelContextMenu_;
27 
29 
30 private:
31  FWGLEventHandler(const FWGLEventHandler&); // stop default
32  const FWGLEventHandler& operator=(const FWGLEventHandler&); // stop default
33 
35 };
36 
37 #endif
virtual Bool_t HandleCrossing(Event_t *event)
virtual Bool_t HandleKey(Event_t *event)
const double w
Definition: UKUtility.cc:23
FWEveView * m_viewer
bool ev
const FWGLEventHandler & operator=(const FWGLEventHandler &)
virtual ~FWGLEventHandler()
FWGLEventHandler(TGWindow *w, TObject *obj, TEveCaloLego *l=0)
virtual Bool_t HandleButton(Event_t *event)
sigc::signal< void, Int_t, Int_t > openSelectedModelContextMenu_
void setViewer(FWEveView *ev)
virtual void PopupContextMenu(TGLPhysicalShape *pshp, Event_t *event, Int_t gx, Int_t gy)
virtual Bool_t HandleFocusChange(Event_t *event)
Definition: event.py:1