ROOT logo
ROOT » GRAF3D » EVE » TEveCalo2DGL

class TEveCalo2DGL: public TGLObject

 OpenGL renderer class for TEveCalo2D.

Function Members (Methods)

public:
TEveCalo2DGL()
virtual~TEveCalo2DGL()
voidTGLLogicalShape::AddRef(TGLPhysicalShape* phys) const
virtual Bool_tAlwaysSecondarySelect() const
const TGLBoundingBox&TGLLogicalShape::BoundingBox() const
static TClass*Class()
voidTGLLogicalShape::DestroyPhysicals()
virtual voidDirectDraw(TGLRnrCtx& rnrCtx) const
virtual voidTGLLogicalShape::DLCacheClear()
virtual voidTGLLogicalShape::DLCacheDrop()
virtual voidTGLLogicalShape::DLCachePurge()
virtual UInt_tTGLLogicalShape::DLOffset(Short_t) const
virtual voidTGLLogicalShape::Draw(TGLRnrCtx& rnrCtx) const
virtual voidDrawHighlight(TGLRnrCtx& rnrCtx, const TGLPhysicalShape* ps) const
TObject*TGLLogicalShape::GetExternal() const
const TGLPhysicalShape*TGLLogicalShape::GetFirstPhysical() const
static TClass*TGLObject::GetGLRenderer(TClass* isa)
TGLScene*TGLLogicalShape::GetScene() const
TObject*TGLLogicalShape::ID() const
virtual Bool_tTGLLogicalShape::IgnoreSizeForOfInterest() const
voidTGLLogicalShape::InvokeContextMenu(TContextMenu& menu, UInt_t x, UInt_t y) const
virtual TClass*IsA() const
virtual Bool_tTGLObject::KeepDuringSmartRefresh() const
virtual voidProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
virtual Short_tTGLLogicalShape::QuantizeShapeLOD(Short_t shapeLOD, Short_t combiLOD) const
UInt_tTGLLogicalShape::Ref() const
virtual voidSetBBox()
Bool_tTGLLogicalShape::SetDLCache(Bool_t cached)
virtual Bool_tSetModel(TObject* obj, Option_t* opt = 0)
virtual Bool_tTGLObject::ShouldDLCache(const TGLRnrCtx& rnrCtx) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGLLogicalShape::StrongRef(Bool_t strong) const
voidTGLLogicalShape::SubRef(TGLPhysicalShape* phys) const
virtual TGLLogicalShape::ELODAxesTGLLogicalShape::SupportedLODAxes() const
virtual Bool_tSupportsSecondarySelect() const
UInt_tTGLLogicalShape::UnrefFirstPhysical()
virtual voidTGLObject::UpdateBoundingBox()
voidTGLLogicalShape::UpdateBoundingBoxesOfPhysicals()
protected:
voidDrawRhoZ(TGLRnrCtx& rnrCtx, TEveCalo2D::vBinCells_t&) const
voidDrawRhoZHighlighted(TGLRnrCtx& rnrCtx) const
voidDrawRPhi(TGLRnrCtx& rnrCtx, TEveCalo2D::vBinCells_t&) const
voidDrawRPhiHighlighted(TGLRnrCtx& rnrCtx) const
Bool_tIsRPhi() const
voidMakeRhoZCell(Float_t thetaMin, Float_t thetaMax, Float_t& offset, Bool_t isBarrel, Bool_t phiPlus, Float_t towerH) const
voidMakeRPhiCell(Float_t phiMin, Float_t phiMax, Float_t towerH, Float_t offset) const
voidTGLLogicalShape::PurgeDLRange(UInt_t base, Int_t size) const
voidTGLObject::SetAxisAlignedBBox(const Float_t* p)
voidTGLObject::SetAxisAlignedBBox(Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax, Float_t zmin, Float_t zmax)
Bool_tTGLObject::SetModelCheckClass(TObject* obj, TClass* cls)

Data Members

public:
enum TGLLogicalShape::ELODAxes { kLODAxesNone
kLODAxesX
kLODAxesY
kLODAxesZ
kLODAxesAll
};
protected:
TGLBoundingBoxTGLLogicalShape::fBoundingBox! Shape's bounding box.
UInt_tTGLLogicalShape::fDLBase! display-list id base
Bool_tTGLLogicalShape::fDLCache! use display list caching
Int_tTGLLogicalShape::fDLSize! display-list size for different LODs
UShort_tTGLLogicalShape::fDLValid! display-list validity bit-field
TObject*TGLLogicalShape::fExternalObj! Also plays the role of ID.
TGLPhysicalShape*TGLLogicalShape::fFirstPhysical! first replica
TEveCalo2D*fMModel object.
Bool_tTGLObject::fMultiColorAre multiple colors used for object rendering.
Bool_tTGLLogicalShape::fOwnExtObj! External object is a fake
UInt_tTGLLogicalShape::fRef! physical instance ref counting
Bool_tTGLLogicalShape::fRefStrong! Strong ref (delete on 0 ref); not in scene
TGLScene*TGLLogicalShape::fScene! scene where object is stored (can be zero!)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TEveCalo2DGL()
 Constructor.
Bool_t SetModel(TObject* obj, Option_t* opt = 0)
 Set model object.
void SetBBox()
 Set bounding box.
Bool_t IsRPhi() const
 Is current projection type RPhi
void MakeRPhiCell(Float_t phiMin, Float_t phiMax, Float_t towerH, Float_t offset) const
 Calculate vertices for the calorimeter cell in RPhi projection.
 Returns outside radius of the tower.
void DrawRPhi(TGLRnrCtx& rnrCtx, TEveCalo2D::vBinCells_t& ) const
 Draw calorimeter cells in RPhi projection.
void DrawRPhiHighlighted(TGLRnrCtx& rnrCtx) const
 Draw selected calorimeter cells in RPhi projection.
void MakeRhoZCell(Float_t thetaMin, Float_t thetaMax, Float_t& offset, Bool_t isBarrel, Bool_t phiPlus, Float_t towerH) const
 Draw cell in RhoZ projection.
void DrawRhoZ(TGLRnrCtx& rnrCtx, TEveCalo2D::vBinCells_t& ) const
 Draw calorimeter in RhoZ projection.
void DrawRhoZHighlighted(TGLRnrCtx& rnrCtx) const
 Draw selected calorimeter cells in RhoZ projection.
void DirectDraw(TGLRnrCtx& rnrCtx) const
 Render with OpenGL.
void DrawHighlight(TGLRnrCtx& rnrCtx, const TGLPhysicalShape* ps) const
 Draw towers in highlight mode.
void ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
 Processes tower selection in eta bin or phi bin.
 Virtual function from TGLogicalShape. Called from TGLViewer.
TEveCalo2DGL(const TEveCalo2DGL& )
TEveCalo2DGL& operator=(const TEveCalo2DGL& )
virtual ~TEveCalo2DGL()
{}
Bool_t SupportsSecondarySelect() const
 To support two-level selection
{ return kTRUE; }
Bool_t AlwaysSecondarySelect() const
{ return kTRUE; }