ROOT logo
ROOT » GRAF3D » EVE » TEveCaloLegoGL

class TEveCaloLegoGL: public TGLObject

 OpenGL renderer class for TEveCaloLego.

Function Members (Methods)

public:
TEveCaloLegoGL()
virtual~TEveCaloLegoGL()
voidTGLLogicalShape::AddRef(TGLPhysicalShape* phys) const
const TGLBoundingBox&TGLLogicalShape::BoundingBox() const
static TClass*Class()
static TClass*TGLObject::Class()
static TClass*TGLLogicalShape::Class()
voidTGLLogicalShape::DestroyPhysicals()
virtual voidDirectDraw(TGLRnrCtx& rnrCtx) const
virtual voidTGLLogicalShape::DirectDraw(TGLRnrCtx& rnrCtx) const
virtual voidTGLLogicalShape::DLCacheClear()
virtual voidDLCacheDrop()
virtual voidTGLLogicalShape::DLCacheDrop()
virtual voidDLCachePurge()
virtual voidTGLLogicalShape::DLCachePurge()
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 TClass*TGLObject::IsA() const
virtual TClass*TGLLogicalShape::IsA() const
virtual Bool_tTGLObject::KeepDuringSmartRefresh() const
virtual Bool_tTGLLogicalShape::KeepDuringSmartRefresh() const
virtual voidProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
virtual voidTGLLogicalShape::ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
virtual Short_tTGLLogicalShape::QuantizeShapeLOD(Short_t shapeLOD, Short_t combiLOD) const
UInt_tTGLLogicalShape::Ref() const
virtual voidSetBBox()
virtual voidTGLObject::SetBBox()
Bool_tTGLLogicalShape::SetDLCache(Bool_t cached)
virtual Bool_tSetModel(TObject* obj, Option_t* opt = 0)
virtual Bool_tTGLObject::SetModel(TObject* obj, Option_t* opt = 0)
virtual Bool_tTGLObject::ShouldDLCache(const TGLRnrCtx& rnrCtx) const
virtual Bool_tTGLLogicalShape::ShouldDLCache(const TGLRnrCtx& rnrCtx) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGLObject::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGLObject::StreamerNVirtual(TBuffer& b)
voidTGLLogicalShape::StreamerNVirtual(TBuffer& b)
voidTGLLogicalShape::StrongRef(Bool_t strong) const
voidTGLLogicalShape::SubRef(TGLPhysicalShape* phys) const
virtual TGLLogicalShape::ELODAxesTGLLogicalShape::SupportedLODAxes() const
virtual Bool_tSupportsSecondarySelect() const
virtual Bool_tTGLLogicalShape::SupportsSecondarySelect() const
UInt_tTGLLogicalShape::UnrefFirstPhysical()
virtual voidTGLObject::UpdateBoundingBox()
virtual voidTGLLogicalShape::UpdateBoundingBox()
voidTGLLogicalShape::UpdateBoundingBoxesOfPhysicals()
protected:
voidDrawAxis2D(TGLRnrCtx& rnrCtx) const
voidDrawAxis3D(TGLRnrCtx& rnrCtx) const
voidDrawCells2D() const
voidDrawCells3D(TGLRnrCtx& rnrCtx) const
voidDrawHistBase(TGLRnrCtx& rnrCtx) const
Int_tGetGridStep(TGLRnrCtx& rnrCtx) const
voidMakeDisplayList() const
voidMakeQuad(Float_t x, Float_t y, Float_t z, Float_t xw, Float_t yw, Float_t zh) const
voidTGLLogicalShape::PurgeDLRange(UInt_t base, Int_t size) const
voidRebinAxis(TAxis* orig, TAxis* curr) const
voidSetAxis3DTitlePos(TGLRnrCtx& rnrCtx, Float_t x0, Float_t x1, Float_t y0, Float_t y1) 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)
voidWrapTwoPi(Float_t& min, Float_t& max) const

Data Members

private:
enum TGLLogicalShape::ELODAxes { kLODAxesNone
kLODAxesX
kLODAxesY
kLODAxesZ
kLODAxesAll
};
protected:
TGLBoundingBoxTGLLogicalShape::fBoundingBox! Shape's bounding box.
Bool_tfCells3D
UInt_tTGLLogicalShape::fDLBase! display-list id base
Bool_tTGLLogicalShape::fDLCache! use display list caching
Bool_tfDLCacheOK
map<int,unsigned int>fDLMap
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
TEveCaloLego*fMModel object.
Bool_tTGLObject::fMultiColorAre multiple colors used for object rendering.
Bool_tTGLLogicalShape::fOwnExtObj! External object is a fake
TEveCaloData::RebinData_tfRebinData
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!)
private:
TGLAxisPainterfAxisPainter
TEveVectorfBackPlaneXConst[2]
TEveVectorfBackPlaneYConst[2]
Int_tfBinStep
Float_tfDataMaxcached
TAxis*fEtaAxis
TAxis*fPhiAxis
TEveVectorfXAxisTitlePos
TEveVectorfYAxisTitlePos
TAxis*fZAxis
TEveVectorfZAxisTitlePos

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TEveCaloLegoGL()
 Constructor.
~TEveCaloLegoGL()
 Destructor.
Bool_t SetModel(TObject* obj, Option_t* opt = 0)
 Set model object.
void SetBBox()
 Set bounding box.
void DLCacheDrop()
 Drop all display-list definitions.
void DLCachePurge()
 Unregister all display-lists.
void MakeQuad(Float_t x, Float_t y, Float_t z, Float_t xw, Float_t yw, Float_t zh) const
 Draw an axis-aligned box using quads.
void MakeDisplayList() const
 Create display-list that draws histogram bars.
 It is used for filled and outline passes.
void SetAxis3DTitlePos(TGLRnrCtx& rnrCtx, Float_t x0, Float_t x1, Float_t y0, Float_t y1) const
void DrawAxis3D(TGLRnrCtx& rnrCtx) const
 Draw z-axis and z-box at the appropriate grid corner-point including
 tick-marks and labels.
void DrawAxis2D(TGLRnrCtx& rnrCtx) const
 Draw XY axis.
Int_t GetGridStep(TGLRnrCtx& rnrCtx) const
 Calculate view-dependent grid density.
void RebinAxis(TAxis* orig, TAxis* curr) const
 Rebin eta, phi axis.
void DrawHistBase(TGLRnrCtx& rnrCtx) const
 Draw basic histogram components: x-y grid
void DrawCells3D(TGLRnrCtx& rnrCtx) const
 Render the calo lego-plot with OpenGL.
void DrawCells2D() const
 Draw projected histogram.
void DirectDraw(TGLRnrCtx& rnrCtx) const
 Draw the object.
void ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
 Processes secondary selection from TGLViewer.
void WrapTwoPi(Float_t& min, Float_t& max) const
TEveCaloLegoGL(const TEveCaloLegoGL& )
TEveCaloLegoGL& operator=(const TEveCaloLegoGL& )
Bool_t SupportsSecondarySelect() const
{ return kTRUE; }