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
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)
voidSetCaloLego(TEveCaloLego* c)
voidSetFrameAttribs(Color_t frameCol, UChar_t lineTransp, UChar_t bgTransp)
voidSetHeaderTxt(const char* txt)
voidTGLCameraOverlay::SetOrthographicMode(TGLCameraOverlay::EMode m)
voidTGLCameraOverlay::SetPerspectiveMode(TGLCameraOverlay::EMode m)
voidTGLOverlayElement::SetRole(TGLOverlayElement::ERole r)
voidSetScaleColorTransparency(Color_t colIdx, UChar_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)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
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
};
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
UChar_tfFrameBgTransp
Color_tfFrameColor
UChar_tfFrameLineTransp
Bool_tfHeaderSelected
TStringfHeaderTxt
Bool_tfInDrag
Float_tfMenuW
Int_tfMouseX
Int_tfMouseY! last mouse position
TGLCameraOverlay::EModeTGLCameraOverlay::fOrthographicMode
TGLCameraOverlay::EModeTGLCameraOverlay::fPerspectiveMode
TAxis*fPlaneAxis
TGLOverlayElement::ERoleTGLOverlayElement::fRole
Color_tfScaleColor
Double_tfScaleCoordX
Double_tfScaleCoordY
Double_tfScaleH
UChar_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
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, UChar_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, UChar_t lineTransp, UChar_t bgTransp)