A++ » INCLUDE » TGLScene

class TGLScene: public TGLSceneBase

 SceneInfo ... extended scene context

Function Members (Methods)

public:
virtual~TGLScene()
voidTGLSceneBase::AddViewer(TGLViewerBase* viewer)
virtual voidAdoptLogical(TGLLogicalShape& shape)
virtual voidAdoptPhysical(TGLPhysicalShape& shape)
UInt_tBeginSmartRefresh()
virtual Bool_tBeginUpdate()
const TGLBoundingBox&TGLSceneBase::BoundingBox() const
virtual voidCalcBoundingBox() const
static TClass*Class()
TGLClip*TGLSceneBase::Clip() const
virtual TGLScene::TSceneInfo*CreateSceneInfo(TGLViewerBase* view)
TGLLockable::ELockTGLLockable::CurrentLock() const
virtual Bool_tDestroyLogical(TObject* logid, Bool_t mustFind = kTRUE)
virtual Int_tDestroyLogicals()
virtual Bool_tDestroyPhysical(UInt_t phid)
virtual Int_tDestroyPhysicals()
voidDumpMapSizes() const
voidEndSmartRefresh()
virtual voidEndUpdate(Bool_t minorChange = kTRUE, Bool_t sceneChanged = kTRUE, Bool_t updateViewers = kTRUE)
virtual TGLLogicalShape*FindLogical(TObject* logid) const
TGLLogicalShape*FindLogicalSmartRefresh(TObject* ID) const
virtual TGLPhysicalShape*FindPhysical(UInt_t phid) const
Bool_tTGLSceneBase::GetAutoDestruct() const
TGLContextIdentity*GetGLCtxIdentity() const
virtual UInt_tGetMaxPhysicalID()
UInt_tTGLSceneBase::GetMinorStamp() const
virtual const char*TGLSceneBase::GetName() const
Bool_tTGLSceneBase::GetSelectable() const
UInt_tTGLSceneBase::GetTimeStamp() const
virtual const char*TGLSceneBase::GetTitle() const
voidTGLSceneBase::IncMinorStamp()
voidTGLSceneBase::IncTimeStamp()
voidTGLSceneBase::InvalidateBoundingBox()
virtual TClass*IsA() const
Bool_tTGLLockable::IsDrawOrSelectLock() const
Bool_tTGLLockable::IsLocked() const
static Bool_tIsOutside(const TGLBoundingBox& box, const TGLPlaneSet_t& planes)
virtual const char*TGLSceneBase::LockIdStr() const
static const char*TGLLockable::LockName(TGLLockable::ELock lock)
static Bool_tTGLLockable::LockValid(TGLLockable::ELock lock)
Short_tTGLSceneBase::LOD() const
virtual voidLodifySceneInfo(TGLRnrCtx& rnrCtx)
virtual voidPostDraw(TGLRnrCtx& rnrCtx)
virtual voidTGLSceneBase::PostRender(TGLRnrCtx& rnrCtx)
virtual voidPreDraw(TGLRnrCtx& rnrCtx)
virtual voidTGLSceneBase::PreRender(TGLRnrCtx& rnrCtx)
virtual voidRebuildSceneInfo(TGLRnrCtx& rnrCtx)
TGLScene::LogicalShapeMap_t&RefLogicalShapes()
Bool_tTGLLockable::ReleaseLock(TGLLockable::ELock lock) const
voidTGLSceneBase::RemoveViewer(TGLViewerBase* viewer)
virtual voidTGLSceneBase::Render(TGLRnrCtx& rnrCtx)
virtual voidRenderAllPasses(TGLRnrCtx& rnrCtx, TGLScene::DrawElementPtrVec_t& elVec, Bool_t check_timeout)
virtual voidRenderElements(TGLRnrCtx& rnrCtx, TGLScene::DrawElementPtrVec_t& elVec, Bool_t check_timeout, const TGLPlaneSet_t* clipPlanes = 0)
virtual voidRenderHighlight(TGLRnrCtx& rnrCtx, TGLScene::DrawElementPtrVec_t& elVec)
virtual voidRenderOpaque(TGLRnrCtx& rnrCtx)
virtual voidRenderSelOpaque(TGLRnrCtx& rnrCtx)
virtual voidRenderSelOpaqueForHighlight(TGLRnrCtx& rnrCtx)
virtual voidRenderSelTransp(TGLRnrCtx& rnrCtx)
virtual voidRenderSelTranspForHighlight(TGLRnrCtx& rnrCtx)
virtual voidRenderTransp(TGLRnrCtx& rnrCtx)
virtual Bool_tResolveSelectRecord(TGLSelectRecord& rec, Int_t curIdx)
static voidRGBAFromColorIdx(Float_t[4] rgba, Color_t ci, Char_t transp = 0)
voidTGLSceneBase::SetAutoDestruct(Bool_t a)
voidTGLSceneBase::SetClip(TGLClip* p)
voidTGLSceneBase::SetLOD(Short_t lod)
virtual voidTGLSceneBase::SetName(const char* name)
virtual voidTGLSceneBase::SetNameTitle(const char* name, const char* title)
voidTGLSceneBase::SetSelectable(Bool_t a)
voidTGLSceneBase::SetStyle(Short_t st)
virtual voidTGLSceneBase::SetTitle(const char* title)
virtual voidShowMembers(TMemberInspector& insp) const
UInt_tSizeOfScene() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
Short_tTGLSceneBase::Style() const
voidTGLSceneBase::TagViewersChanged()
Bool_tTGLLockable::TakeLock(TGLLockable::ELock lock) const
TGLScene()
virtual voidUpdateLogical(TObject* logid)
virtual voidUpdatePhysical(UInt_t phid, Double_t* trans, UChar_t* col)
virtual voidUpdatePhysical(UInt_t phid, Double_t* trans, Color_t cidx = -1, UChar_t transp = 0)
virtual voidUpdatePhysioLogical(TObject* logid, Double_t* trans, UChar_t* col)
virtual voidUpdatePhysioLogical(TObject* logid, Double_t* trans, Color_t cidx, UChar_t transp)
virtual voidUpdateSceneInfo(TGLRnrCtx& rnrCtx)
private:
static Bool_tComparePhysicalDiagonals(const TGLPhysicalShape* shape1, const TGLPhysicalShape* shape2)
static Bool_tComparePhysicalVolumes(const TGLPhysicalShape* shape1, const TGLPhysicalShape* shape2)
TGLScene&operator=(const TGLScene&)
TGLScene(const TGLScene&)

Data Members

protected:
Bool_tTGLSceneBase::fAutoDestruct
TGLBoundingBoxTGLSceneBase::fBoundingBoxbounding box for scene (axis aligned) - lazy update - use BoundingBox() to access
Bool_tTGLSceneBase::fBoundingBoxValidbounding box valid?
TGLClip*TGLSceneBase::fClipScene clipping-plane.
Bool_tTGLSceneBase::fDoClipCheckPerform global clip-plane-check in UpdateSceneInfo()
Bool_tTGLSceneBase::fDoFrustumCheckPerform global frustum-check in UpdateSceneInfo()
TGLContextIdentity*fGLCtxIdentity
Bool_tfInSmartRefresh!
Short_tTGLSceneBase::fLODScene-lod.
Float_tfLastLineWidthScale
Float_tfLastPointSizeScale
TGLLockable::ELockTGLLockable::fLockLock state.
TGLScene::LogicalShapeMap_tfLogicalShapes!
UInt_tTGLSceneBase::fMinorStampCounter increased on minimal update.
TStringTGLSceneBase::fNameObject identifier.
Float_tTGLSceneBase::fOLLineWScene outline line-width.
TGLScene::PhysicalShapeMap_tfPhysicalShapes!
UInt_tTGLSceneBase::fSceneIDUnique scene id.
Bool_tTGLSceneBase::fSelectableObjects in the scene are selectable.
TGLScene::LogicalShapeMap_tfSmartRefreshCache!
Short_tTGLSceneBase::fStyleScene-style.
UInt_tTGLSceneBase::fTimeStampCounter increased on every update.
TStringTGLSceneBase::fTitleObject title.
TGLSceneBase::ViewerList_tTGLSceneBase::fViewers
Float_tTGLSceneBase::fWFLineWScene wire-frame line-width.

Class Charts

Inheritance Chart:
TGLLockable
TGLSceneBase
TGLScene
TGLScenePad

Function documentation

TGLScene(const TGLScene& )
TGLScene& operator=(const TGLScene& )
Bool_t ComparePhysicalVolumes(const TGLPhysicalShape* shape1, const TGLPhysicalShape* shape2)
 Compare physical-shape volumes/diagonals -- for draw-vec sorting
void PreDraw()
void PostDraw()
void DestroyPhysicalInternal(TGLScene::PhysicalShapeMapIt_t pit)
void ReleaseGLCtxIdentity()
TGLScene()

virtual ~TGLScene()
void CalcBoundingBox() const
TSceneInfo* CreateSceneInfo(TGLViewerBase* view)
void RebuildSceneInfo(TGLRnrCtx& rnrCtx)
void UpdateSceneInfo(TGLRnrCtx& rnrCtx)
void LodifySceneInfo(TGLRnrCtx& rnrCtx)
void RenderOpaque(TGLRnrCtx& rnrCtx)
 virtual void PreRender   (TGLRnrCtx& rnrCtx);
 virtual void Render      (TGLRnrCtx& rnrCtx);
void RenderTransp(TGLRnrCtx& rnrCtx)
void RenderSelOpaque(TGLRnrCtx& rnrCtx)
void RenderSelTransp(TGLRnrCtx& rnrCtx)
void RenderSelOpaqueForHighlight(TGLRnrCtx& rnrCtx)
void RenderSelTranspForHighlight(TGLRnrCtx& rnrCtx)
void RenderHighlight(TGLRnrCtx& rnrCtx, TGLScene::DrawElementPtrVec_t& elVec)
 virtual void PostRender(TGLRnrCtx& rnrCtx);
void RenderAllPasses(TGLRnrCtx& rnrCtx, TGLScene::DrawElementPtrVec_t& elVec, Bool_t check_timeout)
Bool_t ResolveSelectRecord(TGLSelectRecord& rec, Int_t curIdx)
 Selection
void AdoptLogical(TGLLogicalShape& shape)
 Basic logical shape management
Bool_t DestroyLogical(TObject* logid, Bool_t mustFind = kTRUE)
Int_t DestroyLogicals()
TGLLogicalShape* FindLogical(TObject* logid) const
void AdoptPhysical(TGLPhysicalShape& shape)
 Basic physical shape management
Bool_t DestroyPhysical(UInt_t phid)
Int_t DestroyPhysicals()
TGLPhysicalShape* FindPhysical(UInt_t phid) const
UInt_t GetMaxPhysicalID()
Bool_t BeginUpdate()
 Updates / removals of logical and physical shapes
void EndUpdate(Bool_t minorChange = kTRUE, Bool_t sceneChanged = kTRUE, Bool_t updateViewers = kTRUE)
void UpdateLogical(TObject* logid)
void UpdatePhysical(UInt_t phid, Double_t* trans, UChar_t* col)
void UpdatePhysical(UInt_t phid, Double_t* trans, Color_t cidx = -1, UChar_t transp = 0)
void UpdatePhysioLogical(TObject* logid, Double_t* trans, UChar_t* col)
void UpdatePhysioLogical(TObject* logid, Double_t* trans, Color_t cidx, UChar_t transp)
LogicalShapeMap_t& RefLogicalShapes()
 Temporary export for setting selected-state of physical shapes.
{ return fLogicalShapes; }
UInt_t BeginSmartRefresh()
 SmartRefresh
void EndSmartRefresh()
TGLLogicalShape* FindLogicalSmartRefresh(TObject* ID) const
TGLContextIdentity* GetGLCtxIdentity() const
 GL-context holding display-list definitions
{ return fGLCtxIdentity; }
UInt_t SizeOfScene() const
 Helpers
void DumpMapSizes() const
void RGBAFromColorIdx(Float_t[4] rgba, Color_t ci, Char_t transp = 0)
Bool_t IsOutside(const TGLBoundingBox& box, const TGLPlaneSet_t& planes)