CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/Fireworks/Core/interface/FWGLEventHandler.h

Go to the documentation of this file.
00001 #ifndef Fireworks_Core_FWGLEventHandler_h
00002 #define Fireworks_Core_FWGLEventHandler_h
00003 
00004 #include "TEveLegoEventHandler.h"
00005 #include <sigc++/signal.h>
00006 
00007 class TGWindow;
00008 class TGLPhysicalShape;
00009 
00010 class FWGLEventHandler : public TEveLegoEventHandler
00011 {
00012 public:
00013    FWGLEventHandler(TGWindow *w, TObject *obj, TEveCaloLego* l = 0 );
00014    virtual ~FWGLEventHandler() {}
00015 
00016    virtual void PopupContextMenu(TGLPhysicalShape* pshp, Event_t *event, Int_t gx, Int_t gy);
00017 
00018    virtual Bool_t HandleKey(Event_t *event);
00019 
00020    sigc::signal<void,Int_t,Int_t> openSelectedModelContextMenu_;
00021 
00022 private:
00023    FWGLEventHandler(const FWGLEventHandler&); // stop default
00024    const FWGLEventHandler& operator=(const FWGLEventHandler&); // stop default
00025 };
00026 
00027 #endif