#include <TEveCaloLegoOverlay.h>
Inheritance diagram for TEveCaloLegoOverlay:
Definition at line 20 of file TEveCaloLegoOverlay.h.
TEveCaloLegoOverlay::TEveCaloLegoOverlay | ( | const TEveCaloLegoOverlay & | ) | [private] |
TEveCaloLegoOverlay::TEveCaloLegoOverlay | ( | ) |
virtual TEveCaloLegoOverlay::~TEveCaloLegoOverlay | ( | ) | [inline, virtual] |
Definition at line 78 of file TEveCaloLegoOverlay.h.
TEveCaloLegoOverlay::TEveCaloLegoOverlay | ( | const TEveCaloLegoOverlay & | ) | [private] |
TEveCaloLegoOverlay::TEveCaloLegoOverlay | ( | ) |
virtual TEveCaloLegoOverlay::~TEveCaloLegoOverlay | ( | ) | [inline, virtual] |
Definition at line 78 of file TEveCaloLegoOverlay.h.
TEveCaloLegoOverlay& TEveCaloLegoOverlay::operator= | ( | const TEveCaloLegoOverlay & | ) | [private] |
Definition at line 85 of file TEveCaloLegoOverlay.cxx.
References fCalo, fSliderH, fSliderPosY, fSliderVal, Event_t::fY, TGLRect::Height(), kTRUE, TGLRnrCtx::RefCamera(), TGLCamera::RefViewport(), and TEveCaloLego::SetHPlaneVal().
Referenced by Handle().
void TEveCaloLegoOverlay::RenderLogaritmicScales | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
Definition at line 382 of file TEveCaloLegoOverlay.cxx.
References TGLFont::BBox(), TMath::CeilNint(), TGLRnrCtx::ColorSet(), TGLUtil::ColorTransparency(), fc, fCalo, fCellX, fCellY, fFrameBgTransp, fFrameColor, fFrameLineTransp, Form(), fScaleColor, fScaleCoordX, fScaleCoordY, fScaleH, fScaleTransparency, fScaleW, TGLRnrCtx::GetCamera(), TGLColor::GetColorIndex(), TEveCaloViz::GetMaxVal(), GL_BLEND, GL_CULL_FACE, GL_ENABLE_BIT, GL_LINE_BIT, GL_LINE_LOOP, GL_ONE_MINUS_SRC_ALPHA, GL_POINT_BIT, GL_POINTS, GL_POLYGON_BIT, GL_POLYGON_OFFSET_FILL, GL_QUADS, GL_SRC_ALPHA, glBegin(), glBlendFunc(), glDisable(), glEnable(), glEnd(), glLoadName(), glPolygonOffset(), glPopAttrib(), glPopMatrix(), glPopName(), glPushAttrib(), glPushMatrix(), glPushName(), glTranslatef(), glVertex2f(), glVertex3f(), i, TGLFont::kCenterV, TGLFont::kLeft, TGLFont::kPixmap, TMath::Log10(), TGLColorSet::Markup(), TMath::Max(), TMath::Nint(), TGLFont::PostRender(), TMath::Power(), TGLFont::PreRender(), TGLCamera::RefViewport(), TGLRnrCtx::RegisterFontNoScale(), TGLFont::Render(), vp, x0, and x1.
Referenced by Render().
void TEveCaloLegoOverlay::RenderPaletteScales | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
Definition at line 521 of file TEveCaloLegoOverlay.cxx.
References c, TMath::CeilNint(), TGLUtil::Color(), TEveRGBAPalette::ColorFromValue(), TGLRnrCtx::ColorSet(), TGLCameraOverlay::fAxisPainter, fCalo, fScaleCoordX, fScaleCoordY, fScaleH, fScaleW, TGLRnrCtx::GetCamera(), TGLColor::GetColorIndex(), TEveCaloViz::GetMaxVal(), TEveCaloViz::GetPalette(), GL_BLEND, GL_ENABLE_BIT, GL_LINE_BIT, GL_LINE_LOOP, GL_ONE_MINUS_SRC_ALPHA, GL_POLYGON_BIT, GL_POLYGON_OFFSET_FILL, GL_QUADS, GL_SRC_ALPHA, glBegin(), glBlendFunc(), glColor4ub(), glEnable(), glEnd(), glLoadName(), glPolygonOffset(), glPopAttrib(), glPopMatrix(), glPopName(), glPushAttrib(), glPushMatrix(), glPushName(), glScalef(), glTranslatef(), glVertex3f(), h, TGLRect::Height(), TGLFont::kCenterH, TGLFont::kCenterV, l, TGLColorSet::Markup(), THLimitsFinder::Optimize(), TGLRnrCtx::RefCamera(), TGLAxisPainter::RefDir(), TGLAxisPainter::RefLabVec(), TGLCamera::RefViewport(), TGLAxisPainter::RnrLabels(), TGLVertex3::Set(), TGLAxisPainter::SetAttAxis(), TGLAxisPainter::SetLabelAlign(), TGLAxisPainter::SetLabelFont(), TGLAxisPainter::SetTextFormat(), val, vp, w, and y.
Referenced by Render().
void TEveCaloLegoOverlay::RenderPlaneInterface | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
Definition at line 282 of file TEveCaloLegoOverlay.cxx.
References a, TMath::CeilNint(), TGLUtil::Color(), TGLUtil::Color4f(), fActiveCol, fActiveID, TGLCameraOverlay::fAxisPainter, fButtonW, fCalo, fMenuW, fPlaneAxis, fShowSlider, fSliderH, fSliderPosY, fSliderVal, TGLCameraOverlay::GetAttAxis(), TGLRnrCtx::GetCamera(), TAttAxis::GetLabelSize(), TEveCaloViz::GetMaxVal(), GL_BLEND, GL_CULL_FACE, GL_ENABLE_BIT, GL_FILL, GL_FRONT_AND_BACK, GL_LINE_BIT, GL_LINE_LOOP, GL_LINES, GL_NICEST, GL_ONE_MINUS_SRC_ALPHA, GL_POINT_BIT, GL_POINT_SMOOTH, GL_POINT_SMOOTH_HINT, GL_POINTS, GL_POLYGON_BIT, GL_POLYGON_OFFSET_FILL, GL_QUADS, GL_SRC_ALPHA, glBegin(), glBlendFunc(), glDisable(), glEnable(), glEnd(), glHint(), glLoadName(), glPolygonMode(), glPolygonOffset(), glPopAttrib(), glPopMatrix(), glPopName(), glPushAttrib(), glPushMatrix(), glPushName(), glScalef(), glTranslatef(), glVertex2f(), glVertex3f(), TGLRect::Height(), TGLFont::kCenterV, TGLFont::kLeft, TGLUtil::LineWidth(), TGLAxisPainter::PaintAxis(), TGLUtil::PointSize(), TGLAxisPainter::RefDir(), TGLAxisPainter::RefTMOff(), TGLCamera::RefViewport(), TGLRnrCtx::Selection(), TGLVertex3::Set(), TGLAxisPainter::SetLabelAlign(), TAttAxis::SetLabelOffset(), TGLAxisPainter::SetLabelPixelFontSize(), TAttAxis::SetLabelSize(), TAxis::SetLimits(), TAttAxis::SetNdivisions(), TAxis::SetRangeUser(), TAttAxis::SetTickLength(), and w.
Referenced by Render().
void TEveCaloLegoOverlay::RenderHeader | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
Definition at line 244 of file TEveCaloLegoOverlay.cxx.
References TGLFont::BBox(), TGLUtil::Color(), TString::Data(), fActiveCol, fCalo, fHeaderSelected, fHeaderTxt, TGLRnrCtx::GetCamera(), TEveCaloLego::GetFontColor(), GL_QUADS, glBegin(), glBitmap(), glEnd(), glLoadName(), glPopName(), glPushName(), glRasterPos2i(), glVertex2f(), TGLFont::kPixmap, TMath::Max(), TMath::Nint(), TGLFont::PostRender(), TGLFont::PreRender(), TGLCamera::RefViewport(), TGLRnrCtx::RegisterFontNoScale(), TGLFont::Render(), TGLRnrCtx::Selection(), vp, x, and y.
Referenced by Render().
void TEveCaloLegoOverlay::Render | ( | TGLRnrCtx & | rnrCtx | ) | [virtual] |
Reimplemented from TGLCameraOverlay.
Definition at line 600 of file TEveCaloLegoOverlay.cxx.
References a, TGLRect::CArr(), TEveCaloData::Empty(), TEveCaloData::CellGeom_t::EtaDelta(), TEveCaloLegoGL::fBinStep, fCalo, TEveCaloLego::fCellList, fCellX, fCellY, TEveCaloViz::fData, TGLCameraOverlay::fFrustum, fHeaderTxt, TGLViewerBase::FindLogicalInScenes(), fShowPlane, fShowScales, TEveCaloLego::Get2DMode(), TGLRnrCtx::GetCamera(), TEveCaloData::GetCellData(), TEveCaloViz::GetData(), TEveCaloData::GetEtaBins(), TEveCaloViz::GetEtaMax(), TEveCaloViz::GetEtaMin(), TEveCaloViz::GetEtaRng(), TEveCaloViz::GetPalette(), TEveCaloData::GetPhiBins(), TEveCaloViz::GetPhiMax(), TEveCaloViz::GetPhiMin(), TEveCaloViz::GetPhiRng(), TGLRnrCtx::GetPickRectangle(), GL_DEPTH_RANGE, GL_LIGHTING, GL_MODELVIEW, GL_PROJECTION, glDepthRange(), glGetFloatv(), glLoadIdentity(), glMatrixMode(), glPopMatrix(), glPushMatrix(), glScalef(), glTranslatef(), TGLRect::Height(), i, TGLCamera::IsOrthographic(), TGLCamera::IsPerspective(), kFALSE, kTRUE, TEveCaloLego::kValSize, TString::Length(), p, TEveCaloData::CellGeom_t::PhiDelta(), TGLRnrCtx::RefCamera(), TGLRnrCtx::RefViewer(), TGLCamera::RefViewport(), TGLCameraOverlay::Render(), RenderHeader(), RenderLogaritmicScales(), RenderPaletteScales(), RenderPlaneInterface(), TGLRnrCtx::Selection(), TGLCameraOverlay::SetFrustum(), TGLRect::Width(), TGLCamera::WindowToViewport(), TGLCamera::WorldDeltaToViewport(), TGLRect::X(), and TGLRect::Y().
Bool_t TEveCaloLegoOverlay::MouseEnter | ( | TGLOvlSelectRecord & | selRec | ) | [virtual] |
Reimplemented from TGLOverlayElement.
Definition at line 200 of file TEveCaloLegoOverlay.cxx.
References kTRUE.
Bool_t TEveCaloLegoOverlay::Handle | ( | TGLRnrCtx & | rnrCtx, | |
TGLOvlSelectRecord & | selRec, | |||
Event_t * | event | |||
) | [virtual] |
Reimplemented from TGLOverlayElement.
Definition at line 103 of file TEveCaloLegoOverlay.cxx.
References fActiveID, fCalo, Event_t::fCode, fHeaderSelected, fInDrag, fMouseX, fMouseY, fScaleCoordX, fScaleCoordY, fScaleH, fScaleW, fShowSlider, Event_t::fState, Event_t::fType, Event_t::fX, Event_t::fY, TGLSelectRecordBase::GetItem(), TGLSelectRecordBase::GetN(), TGLCamera::IsOrthographic(), kButton1, kButtonPress, kButtonRelease, kFALSE, kMotionNotify, kTRUE, TGLRnrCtx::RefCamera(), TGLCamera::RefViewport(), TEveCaloLego::SetDrawHPlane(), SetSliderVal(), and vp.
void TEveCaloLegoOverlay::MouseLeave | ( | ) | [virtual] |
Reimplemented from TGLOverlayElement.
Definition at line 208 of file TEveCaloLegoOverlay.cxx.
References fActiveID.
TEveCaloLego* TEveCaloLegoOverlay::GetCaloLego | ( | ) | [inline] |
void TEveCaloLegoOverlay::SetCaloLego | ( | TEveCaloLego * | c | ) | [inline] |
void TEveCaloLegoOverlay::SetShowPlane | ( | Bool_t | x | ) | [inline] |
Bool_t TEveCaloLegoOverlay::GetShowPlane | ( | ) | const [inline] |
void TEveCaloLegoOverlay::SetHeaderTxt | ( | const char * | txt | ) | [inline] |
const char* TEveCaloLegoOverlay::GetHeaderTxt | ( | ) | const [inline] |
void TEveCaloLegoOverlay::SetShowScales | ( | Bool_t | x | ) | [inline] |
Definition at line 216 of file TEveCaloLegoOverlay.cxx.
References fScaleColor, and fScaleTransparency.
Definition at line 234 of file TEveCaloLegoOverlay.cxx.
References fFrameBgTransp, fFrameColor, and fFrameLineTransp.
TEveCaloLegoOverlay::ClassDef | ( | TEveCaloLegoOverlay | , | |
0 | ||||
) |
TEveCaloLegoOverlay& TEveCaloLegoOverlay::operator= | ( | const TEveCaloLegoOverlay & | ) | [private] |
void TEveCaloLegoOverlay::RenderLogaritmicScales | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
void TEveCaloLegoOverlay::RenderPaletteScales | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
void TEveCaloLegoOverlay::RenderPlaneInterface | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
void TEveCaloLegoOverlay::RenderHeader | ( | TGLRnrCtx & | rnrCtx | ) | [protected] |
virtual void TEveCaloLegoOverlay::Render | ( | TGLRnrCtx & | rnrCtx | ) | [virtual] |
Reimplemented from TGLCameraOverlay.
virtual Bool_t TEveCaloLegoOverlay::MouseEnter | ( | TGLOvlSelectRecord & | selRec | ) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual Bool_t TEveCaloLegoOverlay::Handle | ( | TGLRnrCtx & | rnrCtx, | |
TGLOvlSelectRecord & | selRec, | |||
Event_t * | event | |||
) | [virtual] |
Reimplemented from TGLOverlayElement.
virtual void TEveCaloLegoOverlay::MouseLeave | ( | ) | [virtual] |
Reimplemented from TGLOverlayElement.
TEveCaloLego* TEveCaloLegoOverlay::GetCaloLego | ( | ) | [inline] |
void TEveCaloLegoOverlay::SetCaloLego | ( | TEveCaloLego * | c | ) | [inline] |
void TEveCaloLegoOverlay::SetShowPlane | ( | Bool_t | x | ) | [inline] |
Bool_t TEveCaloLegoOverlay::GetShowPlane | ( | ) | const [inline] |
void TEveCaloLegoOverlay::SetHeaderTxt | ( | const char * | txt | ) | [inline] |
const char* TEveCaloLegoOverlay::GetHeaderTxt | ( | ) | const [inline] |
void TEveCaloLegoOverlay::SetShowScales | ( | Bool_t | x | ) | [inline] |
TEveCaloLegoOverlay::ClassDef | ( | TEveCaloLegoOverlay | , | |
0 | ||||
) |
TEveCaloLego* TEveCaloLegoOverlay::fCalo [protected] |
Definition at line 35 of file TEveCaloLegoOverlay.h.
Referenced by GetCaloLego(), Handle(), Render(), RenderHeader(), RenderLogaritmicScales(), RenderPaletteScales(), RenderPlaneInterface(), SetCaloLego(), and SetSliderVal().
Bool_t TEveCaloLegoOverlay::fShowScales [protected] |
Color_t TEveCaloLegoOverlay::fScaleColor [protected] |
Definition at line 39 of file TEveCaloLegoOverlay.h.
Referenced by RenderLogaritmicScales(), and SetScaleColorTransparency().
Char_t TEveCaloLegoOverlay::fScaleTransparency [protected] |
Definition at line 40 of file TEveCaloLegoOverlay.h.
Referenced by RenderLogaritmicScales(), and SetScaleColorTransparency().
Double_t TEveCaloLegoOverlay::fScaleCoordX [protected] |
Definition at line 41 of file TEveCaloLegoOverlay.h.
Referenced by Handle(), RenderLogaritmicScales(), RenderPaletteScales(), and SetScalePosition().
Double_t TEveCaloLegoOverlay::fScaleCoordY [protected] |
Definition at line 42 of file TEveCaloLegoOverlay.h.
Referenced by Handle(), RenderLogaritmicScales(), RenderPaletteScales(), and SetScalePosition().
Double_t TEveCaloLegoOverlay::fScaleW [protected] |
Definition at line 43 of file TEveCaloLegoOverlay.h.
Referenced by Handle(), RenderLogaritmicScales(), and RenderPaletteScales().
Double_t TEveCaloLegoOverlay::fScaleH [protected] |
Definition at line 44 of file TEveCaloLegoOverlay.h.
Referenced by Handle(), RenderLogaritmicScales(), and RenderPaletteScales().
Double_t TEveCaloLegoOverlay::fCellX [protected] |
Definition at line 45 of file TEveCaloLegoOverlay.h.
Referenced by Render(), and RenderLogaritmicScales().
Double_t TEveCaloLegoOverlay::fCellY [protected] |
Definition at line 46 of file TEveCaloLegoOverlay.h.
Referenced by Render(), and RenderLogaritmicScales().
Color_t TEveCaloLegoOverlay::fFrameColor [protected] |
Definition at line 48 of file TEveCaloLegoOverlay.h.
Referenced by RenderLogaritmicScales(), and SetFrameAttribs().
Char_t TEveCaloLegoOverlay::fFrameLineTransp [protected] |
Definition at line 49 of file TEveCaloLegoOverlay.h.
Referenced by RenderLogaritmicScales(), and SetFrameAttribs().
Char_t TEveCaloLegoOverlay::fFrameBgTransp [protected] |
Definition at line 50 of file TEveCaloLegoOverlay.h.
Referenced by RenderLogaritmicScales(), and SetFrameAttribs().
Int_t TEveCaloLegoOverlay::fMouseX [protected] |
Int_t TEveCaloLegoOverlay::fMouseY [protected] |
Bool_t TEveCaloLegoOverlay::fInDrag [protected] |
TString TEveCaloLegoOverlay::fHeaderTxt [protected] |
Definition at line 57 of file TEveCaloLegoOverlay.h.
Referenced by GetHeaderTxt(), Render(), RenderHeader(), and SetHeaderTxt().
Bool_t TEveCaloLegoOverlay::fHeaderSelected [protected] |
TAxis* TEveCaloLegoOverlay::fPlaneAxis [protected] |
Definition at line 61 of file TEveCaloLegoOverlay.h.
Referenced by RenderPlaneInterface(), and TEveCaloLegoOverlay().
Color_t TEveCaloLegoOverlay::fAxisPlaneColor [protected] |
Definition at line 62 of file TEveCaloLegoOverlay.h.
Bool_t TEveCaloLegoOverlay::fShowPlane [protected] |
Definition at line 63 of file TEveCaloLegoOverlay.h.
Referenced by GetShowPlane(), Render(), and SetShowPlane().
Float_t TEveCaloLegoOverlay::fMenuW [protected] |
Float_t TEveCaloLegoOverlay::fButtonW [protected] |
Bool_t TEveCaloLegoOverlay::fShowSlider [protected] |
Definition at line 67 of file TEveCaloLegoOverlay.h.
Referenced by Handle(), and RenderPlaneInterface().
Float_t TEveCaloLegoOverlay::fSliderH [protected] |
Definition at line 68 of file TEveCaloLegoOverlay.h.
Referenced by RenderPlaneInterface(), and SetSliderVal().
Float_t TEveCaloLegoOverlay::fSliderPosY [protected] |
Definition at line 69 of file TEveCaloLegoOverlay.h.
Referenced by RenderPlaneInterface(), and SetSliderVal().
Float_t TEveCaloLegoOverlay::fSliderVal [protected] |
Definition at line 70 of file TEveCaloLegoOverlay.h.
Referenced by RenderPlaneInterface(), and SetSliderVal().
Int_t TEveCaloLegoOverlay::fActiveID [protected] |
Definition at line 72 of file TEveCaloLegoOverlay.h.
Referenced by Handle(), MouseLeave(), and RenderPlaneInterface().
Color_t TEveCaloLegoOverlay::fActiveCol [protected] |
Definition at line 73 of file TEveCaloLegoOverlay.h.
Referenced by RenderHeader(), and RenderPlaneInterface().
TEveCaloLego* TEveCaloLegoOverlay::fCalo [protected] |
Definition at line 35 of file TEveCaloLegoOverlay.h.
TAxis* TEveCaloLegoOverlay::fPlaneAxis [protected] |
Definition at line 61 of file TEveCaloLegoOverlay.h.