ROOT » GRAF3D » EVE » TEveCaloLegoOverlay

class TEveCaloLegoOverlay: public TGLCameraOverlay



 GL-overaly control GUI for TEveCaloLego.


Function Members (Methods)

public:
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) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TEveCaloLegoOverlay()
voidTGLCameraOverlay::UseExternalRefPlane(Bool_t x)

Data Members

protected:
Color_tfActiveCol
Int_tfActiveID
TAxis*TGLCameraOverlay::fAxis
Float_tTGLCameraOverlay::fAxisExtend
TGLAxisPainter*TGLCameraOverlay::fAxisPainter
Color_tfAxisPlaneColor
Float_tfButtonW
TEveCaloLego*fCalomodel
Double_tfCellX
Double_tfCellY
TGLPlaneTGLCameraOverlay::fExternalRefPlane
Char_tfFrameBgTransp
Color_tfFrameColor
Char_tfFrameLineTransp
Double_tTGLCameraOverlay::fFrustum[4]
Bool_tfHeaderSelected
TStringfHeaderTxt
Bool_tfInDrag
Float_tfMenuW
Int_tfMouseX! last mouse position
Int_tfMouseY! last mouse position
TGLCameraOverlay::EModeTGLCameraOverlay::fOrthographicMode
TGLCameraOverlay::EModeTGLCameraOverlay::fPerspectiveMode
TAxis*fPlaneAxis
TGLOverlayElement::ERoleTGLOverlayElement::fRole
Color_tfScaleColor
Double_tfScaleCoordX
Double_tfScaleCoordY
Double_tfScaleH
Char_tfScaleTransparencytransaprency in %
Double_tfScaleW
Bool_tTGLCameraOverlay::fShowOrthographic
Bool_tTGLCameraOverlay::fShowPerspective
Bool_tfShowPlane
Bool_tfShowScales
Bool_tfShowSlider
Float_tfSliderHslider height in % of viewport
Float_tfSliderPosYy position of slider bottom up
Float_tfSliderVal
TGLOverlayElement::EStateTGLOverlayElement::fState
Bool_tTGLCameraOverlay::fUseAxisColors
Bool_tTGLCameraOverlay::fUseExternalRefPlane

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)