ROOT logo
AliRoot » EVE » EVEDET » AliEveTPCSector2DGL

class AliEveTPCSector2DGL: public TGLObject


 GL renderer for AliEveTPCSector2D.

Function Members (Methods)

public:
AliEveTPCSector2DGL()
virtual~AliEveTPCSector2DGL()
voidTGLLogicalShape::AddRef(TGLPhysicalShape* phys) const
virtual Bool_tTGLLogicalShape::AlwaysSecondarySelect() const
const TGLBoundingBox&TGLLogicalShape::BoundingBox() const
static TClass*Class()
voidTGLLogicalShape::DestroyPhysicals()
virtual voidTGLLogicalShape::DLCacheClear()
virtual voidTGLLogicalShape::DLCacheDrop()
virtual voidTGLLogicalShape::DLCachePurge()
virtual UInt_tTGLLogicalShape::DLOffset(Short_t) const
virtual voidTGLLogicalShape::Draw(TGLRnrCtx& rnrCtx) const
virtual voidTGLLogicalShape::DrawHighlight(TGLRnrCtx& rnrCtx, const TGLPhysicalShape* pshp, Int_t lvl = -1) const
TObject*TGLLogicalShape::GetExternal() const
const TGLPhysicalShape*TGLLogicalShape::GetFirstPhysical() const
static TClass*TGLObject::GetGLRenderer(TClass* isa)
static Bool_tTGLLogicalShape::GetIgnoreSizeForCameraInterest()
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)
static voidTGLLogicalShape::SetIgnoreSizeForCameraInterest(Bool_t isfci)
virtual Bool_tSetModel(TObject* obj, Option_t* opt = 0)
virtual Bool_tTGLObject::ShouldDLCache(const TGLRnrCtx& rnrCtx) const
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidTGLLogicalShape::StrongRef(Bool_t strong) const
voidTGLLogicalShape::SubRef(TGLPhysicalShape* phys) const
virtual TGLLogicalShape::ELODAxesTGLLogicalShape::SupportedLODAxes() const
virtual Bool_tSupportsSecondarySelect() const
static voidTraceStepsDown(const AliEveTPCSectorData::SegmentInfo& s)
static voidTraceStepsUp(const AliEveTPCSectorData::SegmentInfo& s)
UInt_tTGLLogicalShape::UnrefFirstPhysical()
virtual voidTGLObject::UpdateBoundingBox()
voidTGLLogicalShape::UpdateBoundingBoxesOfPhysicals()
protected:
voidCreateTexture() const
virtual voidDirectDraw(TGLRnrCtx& rnrCtx) const
voidDisplayFrame() const
voidDisplayNamedQuads(const AliEveTPCSectorData::SegmentInfo& seg, Int_t startCol, Int_t startRow) const
voidDisplayQuads(const AliEveTPCSectorData::SegmentInfo& seg, Int_t startCol, Int_t startRow) const
voidDisplayTexture(const AliEveTPCSectorData::SegmentInfo& seg, Int_t startCol, Int_t startRow) const
UChar_t*GetRowCol(Int_t row, Int_t col) const
voidLoadPadrow(AliEveTPCSectorData::RowIterator& iter, Int_t row, Int_t colOff) 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
UChar_t*fImageTexture data.
Bool_tTGLObject::fMultiColorAre multiple colors used for object rendering.
Bool_tTGLLogicalShape::fOwnExtObj! External object is a fake
UInt_tfRTSRender time-stamp.
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!)
AliEveTPCSector2D*fSectorModel object.
AliEveTPCSectorData*fSectorDataData of displayed sector.
UInt_tfTextureTexture id.
static Bool_tTGLLogicalShape::fgIgnoreSizeForCameraInterest
static const Int_tfgkTextureByteSizeSize of the texture in bytes.
static const Int_tfgkTextureHeightHeight of the texture.
static const Int_tfgkTextureWidthWidth of the texture.

Class Charts

Inheritance Chart:
TGLObject
AliEveTPCSector2DGL

Function documentation

AliEveTPCSector2DGL()
 Constructor.
~AliEveTPCSector2DGL()
 Destructor.
 !!!! Should unregister texture via ContextIdentity!
Bool_t SetModel(TObject* obj, Option_t* opt = 0)
 Set model object.
void SetBBox()
 Set bounding-box.
void ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
 Process selection record.
 Determine row and pad, call PadSelected() in model object.
void DirectDraw(TGLRnrCtx& rnrCtx) const
 Actual GL drawing.
void LoadPadrow(AliEveTPCSectorData::RowIterator& iter, Int_t row, Int_t colOff) const
 Load data for one pad-row into the texture.
void CreateTexture() const
 Create texture that holds pad data.
void DisplayTexture(const AliEveTPCSectorData::SegmentInfo& seg, Int_t startCol, Int_t startRow) const
 Display segment data via one textured rectangle.
void DisplayQuads(const AliEveTPCSectorData::SegmentInfo& seg, Int_t startCol, Int_t startRow) const
 Display segment data by rendering one quad per pad.
void DisplayNamedQuads(const AliEveTPCSectorData::SegmentInfo& seg, Int_t startCol, Int_t startRow) const
 Display segmen data as one quad per pad.
 Tag the rows and pads for selection.
void TraceStepsUp(const AliEveTPCSectorData::SegmentInfo& s)
 Trace border of segment upwards.
void TraceStepsDown(const AliEveTPCSectorData::SegmentInfo& s)
 Trace border of segment downwards.
void DisplayFrame() const
 Display frame of the sector.
 Each segment's frame is drawn only if its data is drawn, too.
UChar_t* GetRowCol(Int_t row, Int_t col) const
AliEveTPCSector2DGL()
Bool_t SupportsSecondarySelect() const
{ return kTRUE; }
AliEveTPCSector2DGL& operator=(const AliEveTPCSector2DGL& )