ROOT logo
ROOT » GRAF3D » EVE » TEveCaloLegoOverlay

class TEveCaloLegoOverlay: public TGLCameraOverlay



 GL-overaly control GUI for TEveCaloLego.


Function Members (Methods)

public:
TEveCaloLegoOverlay()
virtual~TEveCaloLegoOverlay()
static TClass*Class()
TAttAxis*TGLCameraOverlay::GetAttAxis()
TEveCaloLego*GetCaloLego()
const char*GetHeaderTxt() const
Int_tTGLCameraOverlay::GetOrthographicMode() const
Int_tTGLCameraOverlay::GetPerspectiveMode() const
TGLOverlayElement::ERoleTGLOverlayElement::GetRole() const
Bool_tTGLCameraOverlay::GetShowOrthographic() const
Bool_tTGLCameraOverlay::GetShowPerspective() const
Bool_tGetShowPlane() const
TGLOverlayElement::EStateTGLOverlayElement::GetState() const
Bool_tTGLCameraOverlay::GetUseExternalRefPlane() const
virtual Bool_tHandle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
virtual TClass*IsA() const
virtual Bool_tMouseEnter(TGLOvlSelectRecord& selRec)
virtual voidMouseLeave()
virtual Bool_tTGLOverlayElement::MouseStillInside(TGLOvlSelectRecord& selRec)
TGLPlane&TGLCameraOverlay::RefExternalRefPlane()
virtual voidRender(TGLRnrCtx& rnrCtx)
voidTGLOverlayElement::SetBinaryState(Bool_t s)
voidSetCaloLego(TEveCaloLego* c)
voidSetFrameAttribs(Color_t frameCol, Char_t lineTransp, Char_t bgTransp)
voidTGLCameraOverlay::SetFrustum(TGLCamera& cam)
voidSetHeaderTxt(const char* txt)
voidTGLCameraOverlay::SetOrthographicMode(TGLCameraOverlay::EMode m)
voidTGLCameraOverlay::SetPerspectiveMode(TGLCameraOverlay::EMode m)
voidTGLOverlayElement::SetRole(TGLOverlayElement::ERole r)
voidSetScaleColorTransparency(Color_t colIdx, Char_t transp)
voidSetScalePosition(Double_t x, Double_t y)
voidTGLCameraOverlay::SetShowOrthographic(Bool_t x)
voidTGLCameraOverlay::SetShowPerspective(Bool_t x)
voidSetShowPlane(Bool_t x)
voidSetShowScales(Bool_t x)
voidTGLOverlayElement::SetState(TGLOverlayElement::EState s)
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGLCameraOverlay::UseExternalRefPlane(Bool_t x)

Data Members

public:
enum TGLCameraOverlay::EMode { kPlaneIntersect
kBar
kAxis
kGridFront
kGridBack
};
enum TGLOverlayElement::ERole { kUser
kViewer
kAnnotation
kAll
};
enum TGLOverlayElement::EState { kInvisible
kDisabled
kActive
kAllVisible
};

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TEveCaloLegoOverlay()
 Constructor.
Bool_t SetSliderVal(Event_t* event, TGLRnrCtx& rnrCtx)
 Set height of horizontal plane in the calorimeter.
Bool_t Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
 Handle overlay event.
 Return TRUE if event was handled.
Bool_t MouseEnter(TGLOvlSelectRecord& selRec)
 Mouse has entered overlay area.
void MouseLeave()
 Mouse has left overlay area.
void SetScaleColorTransparency(Color_t colIdx, Char_t transp)
 Set color and transparency of scales.
void SetScalePosition(Double_t x, Double_t y)
 Set scale coordinates in range [0,1].
void RenderHeader(TGLRnrCtx& rnrCtx)
 Render text on top right corner of the screen.
void RenderPlaneInterface(TGLRnrCtx& rnrCtx)
 Render menu for plane-value and the plane if marked.
void RenderLogaritmicScales(TGLRnrCtx& rnrCtx)
 Draw slider of calo 2D in mode TEveCalo:fValSize.
void RenderPaletteScales(TGLRnrCtx& rnrCtx)
 Draw slider of calo 2D in mode TEveCalo:fValColor.
void Render(TGLRnrCtx& rnrCtx)
 Draw calorimeter scale info and plane interface.
TEveCaloLegoOverlay(const TEveCaloLegoOverlay& )
TEveCaloLegoOverlay& operator=(const TEveCaloLegoOverlay& )
virtual ~TEveCaloLegoOverlay()
{}
TEveCaloLego* GetCaloLego()
{return fCalo;}
void SetCaloLego(TEveCaloLego* c)
{fCalo = c;}
void SetShowPlane(Bool_t x)
{ fShowPlane = x; }
Bool_t GetShowPlane() const
{ return fShowPlane; }
void SetHeaderTxt(const char* txt)
{fHeaderTxt = txt; }
const char* GetHeaderTxt() const
{ return fHeaderTxt; }
void SetShowScales(Bool_t x)
{ fShowScales = x;}
void SetFrameAttribs(Color_t frameCol, Char_t lineTransp, Char_t bgTransp)