12 #ifndef ROOT_TEveCalo3DGL 13 #define ROOT_TEveCalo3DGL virtual Bool_t ShouldDLCache(const TGLRnrCtx &rnrCtx) const
Override from TGLObject.
virtual Bool_t AlwaysSecondarySelect() const
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
TEveCalo3DGL & operator=(const TEveCalo3DGL &)
TEveCalo3DGL()
Constructor.
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
GL rendering.
static constexpr double ps
void DrawSelectedCells(TEveCaloData::vCellId_t cells) const
Concrete physical shape - a GL drawable.
#define ClassDef(name, id)
void RenderGridEndCap() const
Render end cap grid.
virtual void DrawHighlight(TGLRnrCtx &rnrCtx, const TGLPhysicalShape *ps, Int_t lvl=-1) const
Draw polygons in highlight mode.
std::vector< Float_t > fOffset
Base-class for direct OpenGL renderers.
std::vector< CellId_t > vCellId_t
virtual Bool_t SupportsSecondarySelect() const
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
void CrossProduct(const Float_t a[3], const Float_t b[3], const Float_t c[3], Float_t out[3]) const
Calculate cross-product.
Standard selection record including information about containing scene and details ob out selected ob...
OpenGL renderer class for TEveCalo3D.
virtual void SetBBox()
Set bounding box.
Cell geometry inner structure.
void RenderGrid(TGLRnrCtx &rnrCtx) const
Draw frame reading eta, phi axis.
void RenderGridBarrel() const
Render barrel grid.
void RenderBox(const Float_t pnts[8]) const
Render box with given points.
Mother of all ROOT objects.
void RenderBarrelCell(const TEveCaloData::CellGeom_t &cell, Float_t towerH, Float_t &offset) const
Render barrel cell.
void RenderEndCapCell(const TEveCaloData::CellGeom_t &cell, Float_t towerH, Float_t &offset) const
Render an endcap cell.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Visualization of a calorimeter event data in 3D.
virtual void ProcessSelection(TGLRnrCtx &rnrCtx, TGLSelectRecord &rec)
Processes tower selection.