#ifndef ROOT_TEveLegoOverlay
#define ROOT_TEveLegoOverlay
#include "TGLOverlay.h"
#include "TEveElement.h"
#include "TGLAxisPainter.h"
class TEveCaloLego;
class TEveLegoOverlay : public TGLOverlayElement,
public TEveElementList
{
private:
TEveLegoOverlay(const TEveLegoOverlay&);
TEveLegoOverlay& operator=(const TEveLegoOverlay&);
void DrawSlider(TGLRnrCtx& rnrCtx);
Bool_t SetSliderVal(Event_t* event,TGLRnrCtx& rnrCtx );
protected:
TEveCaloLego* fCalo;
Int_t fActiveID;
Color_t fActiveCol;
Float_t fMenuW;
Float_t fButtonW;
Float_t fSliderH;
Float_t fSliderPosY;
Bool_t fShowSlider;
Float_t fSliderVal;
TGLAxisPainter fAxisPainter;
TGLAxisAttrib fAxisAtt;
public:
TEveLegoOverlay();
virtual ~TEveLegoOverlay(){}
virtual Bool_t MouseEnter(TGLOvlSelectRecord& selRec);
virtual Bool_t Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event);
virtual void MouseLeave();
virtual void Render(TGLRnrCtx& rnrCtx);
TEveCaloLego* GetCaloLego() {return fCalo;}
void SetCaloLego(TEveCaloLego* c) {fCalo = c;}
ClassDef(TEveLegoOverlay, 0);
};
#endif
Last change: Wed Jun 25 08:37:17 2008
Last generated: 2008-06-25 08:37
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.