class TEveCalo2DGL: public TGLObject

 OpenGL renderer class for TEveCalo2D.

Function Members (Methods)

public:
TEveCalo2DGL()
virtual~TEveCalo2DGL()
voidTGLLogicalShape::AddRef(TGLPhysicalShape* phys) 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 Int_tTGLLogicalShape::DLCacheSize() const
virtual UInt_tTGLLogicalShape::DLOffset(Short_t) const
virtual voidTGLLogicalShape::Draw(TGLRnrCtx& rnrCtx) 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) const
voidDrawRPhi(TGLRnrCtx& rnrCtx) const
voidMakeRhoZCell(Float_t thetaMin, Float_t thetaMax, Float_t& offset, Bool_t isBarrel, Bool_t phiPlus, Float_t towerH) const
Float_tMakeRPhiCell(Float_t phiMin, Float_t phiMax, Float_t towerH, Float_t offset) 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)
private:
TEveCalo2DGL(const TEveCalo2DGL&)
TEveCalo2DGL&operator=(const TEveCalo2DGL&)

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
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(const TEveCalo2DGL& )
 Constructor.
Bool_t SetModel(TObject* obj, Option_t* opt = 0)
 Set model object.
void SetBBox()
 Set bounding box.
Float_t 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) const
 Draw 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) const
 Draw calorimeter in RhoZ projection.
void DirectDraw(TGLRnrCtx& rnrCtx) const
 Render with OpenGL.
void ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
 Processes secondary selection from TGLViewer.
TEveCalo2DGL(const TEveCalo2DGL& )
TEveCalo2DGL& operator=(const TEveCalo2DGL& )
virtual ~TEveCalo2DGL()
{}
Bool_t SupportsSecondarySelect()
 To support two-level selection
{ return kTRUE; }

Author: Matevz Tadel 2007
Last change: root/eve:$Id: TEveCalo2DGL.h 25245 2008-08-25 21:44:09Z matevz $
Last generated: 2008-08-26 17:14
Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.