A++ » INCLUDE » TGLViewerBase

class TGLViewerBase: public TGLLockable

Function Members (Methods)

public:
virtual~TGLViewerBase()
virtual voidAddOverlayElement(TGLOverlayElement* el)
TGLSceneInfo*AddScene(TGLSceneBase* scene)
virtual voidChanged()
static TClass*Class()
TGLClip*Clip() const
TGLLockable::ELockTGLLockable::CurrentLock() const
virtual voidDeleteOverlayAnnotations()
virtual voidDeleteOverlayElements(TGLOverlayElement::ERole r)
Bool_tFindClosestOpaqueRecord(TGLSelectRecord& rec, Int_t& recIdx)
Bool_tFindClosestOverlayRecord(TGLOvlSelectRecord& rec, Int_t& recIdx)
Bool_tFindClosestRecord(TGLSelectRecord& rec, Int_t& recIdx)
TGLLogicalShape*FindLogicalInScenes(TObject* id)
TGLRnrCtx*GetRnrCtx() const
TGLSceneInfo*GetSceneInfo(TGLSceneBase* scene)
virtual TClass*IsA() const
virtual Bool_tIsChanged() const
Bool_tTGLLockable::IsDrawOrSelectLock() const
Bool_tTGLLockable::IsLocked() const
virtual const char*LockIdStr() const
static const char*TGLLockable::LockName(TGLLockable::ELock lock)
static Bool_tTGLLockable::LockValid(TGLLockable::ELock lock)
Short_tLOD() const
virtual voidMergeSceneBBoxes(TGLBoundingBox& bbox)
Float_tOLLineW() const
virtual voidPostRender()
virtual voidPostRenderOverlaySelection()
virtual voidPreRender()
virtual voidPreRenderOverlaySelection()
const TGLBoundingBox&RefOverallBoundingBox() const
Bool_tTGLLockable::ReleaseLock(TGLLockable::ELock lock) const
voidRemoveAllScenes()
virtual voidRemoveOverlayElement(TGLOverlayElement* el)
voidRemoveScene(TGLSceneBase* scene)
virtual voidRender()
virtual voidRenderNonSelected()
virtual voidRenderOpaque(Bool_t rnr_non_selected = kTRUE, Bool_t rnr_selected = kTRUE)
virtual voidRenderOverlay(Int_t state, Bool_t selection)
virtual voidRenderSelected()
virtual voidRenderSelectedForHighlight()
virtual voidRenderTransparent(Bool_t rnr_non_selected = kTRUE, Bool_t rnr_selected = kTRUE)
virtual voidResetSceneInfos()
Bool_tResolveSelectRecord(TGLSelectRecord& rec, Int_t recIdx)
TGLRnrCtx&RnrCtx() const
voidSceneDestructing(TGLSceneBase* scene)
voidSetClip(TGLClip* p)
voidSetLOD(Short_t lod)
voidSetOLLineW(Float_t w)
voidSetStyle(Short_t st)
voidSetWFLineW(Float_t w)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
Short_tStyle() const
Bool_tTGLLockable::TakeLock(TGLLockable::ELock lock) const
TGLViewerBase()
Float_tWFLineW() const

Data Members

protected:
TGLCamera*fCameraCamera for rendering.
Bool_tfChangedChange requiring redraw is pending.
TGLClip*fClipViewer clipping-plane.
Short_tfLODViewer-lod for rendering.
TGLLockable::ELockTGLLockable::fLockLock state.
Float_tfOLLineWOptional override of scene outline line-width
TGLBoundingBoxfOverallBoundingBoxAxis-aligned union of scene bboxes.
TGLViewerBase::OverlayElmVec_tfOverlay
Bool_tfResetSceneInfosOnRenderRequest rebuild of view-specific scene data.
TGLRnrCtx*fRnrCtx
TGLViewerBase::SceneInfoList_tfScenesRegistered scenes.
Short_tfStyleViewer-style for rendering.
TGLViewerBase::SceneInfoVec_tfVisScenesVisible scenes.
Float_tfWFLineWOptional override of scene wire-frame line-width

Class Charts

Inheritance Chart:
TGLLockable
TGLViewerBase
TGLViewer
TGLEmbeddedViewer
TGLSAViewer

Function documentation

TGLViewerBase(const TGLViewerBase& )
TGLViewerBase& operator=(const TGLViewerBase& )
SceneInfoList_i FindScene(TGLSceneBase* scene)
void SubRenderScenes(TGLViewerBase::SubRender_foo render_foo)
void SetupClipObject()
TGLViewerBase()
virtual ~TGLViewerBase()
const char* LockIdStr() const
TGLSceneInfo* AddScene(TGLSceneBase* scene)
void RemoveScene(TGLSceneBase* scene)
void RemoveAllScenes()
void SceneDestructing(TGLSceneBase* scene)
TGLSceneInfo* GetSceneInfo(TGLSceneBase* scene)
TGLLogicalShape* FindLogicalInScenes(TObject* id)
void AddOverlayElement(TGLOverlayElement* el)
void RemoveOverlayElement(TGLOverlayElement* el)
void DeleteOverlayAnnotations()
void DeleteOverlayElements(TGLOverlayElement::ERole r)
void SetClip(TGLClip* p)
{ fClip = p; }
Short_t LOD() const
{ return fLOD; }
void SetLOD(Short_t lod)
{ fLOD = lod; }
Short_t Style() const
{ return fStyle; }
void SetStyle(Short_t st)
{ fStyle = st; }
Float_t WFLineW() const
{ return fWFLineW; }
void SetWFLineW(Float_t w)
{ fWFLineW = w; }
Float_t OLLineW() const
{ return fOLLineW; }
void SetOLLineW(Float_t w)
{ fOLLineW = w; }
void ResetSceneInfos()
void Changed()
Bool_t IsChanged() const
{ return fChanged; }
void MergeSceneBBoxes(TGLBoundingBox& bbox)
const TGLBoundingBox& RefOverallBoundingBox() const
void PreRender()
 Low-level methods
void Render()
void RenderNonSelected()
void RenderSelected()
void RenderSelectedForHighlight()
void RenderOpaque(Bool_t rnr_non_selected = kTRUE, Bool_t rnr_selected = kTRUE)
void RenderTransparent(Bool_t rnr_non_selected = kTRUE, Bool_t rnr_selected = kTRUE)
void RenderOverlay(Int_t state, Bool_t selection)
void PostRender()
void PreRenderOverlaySelection()
void PostRenderOverlaySelection()
Bool_t ResolveSelectRecord(TGLSelectRecord& rec, Int_t recIdx)
 High-level methods
 virtual void Draw();
 virtual void Select();
 virtual void SelectOverlay();
 Demangle select buffer
Bool_t FindClosestRecord(TGLSelectRecord& rec, Int_t& recIdx)
 Slightly higher-level search in select-buffer
Bool_t FindClosestOpaqueRecord(TGLSelectRecord& rec, Int_t& recIdx)
Bool_t FindClosestOverlayRecord(TGLOvlSelectRecord& rec, Int_t& recIdx)
 Demangle overlay select buffer
TGLRnrCtx* GetRnrCtx() const
{ return fRnrCtx; }