class TGLScene::TSceneInfo: public TGLSceneInfo

Function Members (Methods)

public:
virtual~TSceneInfo()
UInt_tTGLSceneInfo::CameraStamp() const
static TClass*TGLSceneInfo::Class()
voidClearAfterRebuild()
voidClearAfterUpdate()
TGLClip*TGLSceneInfo::Clip() const
Char_tTGLSceneInfo::ClipMode() const
voidTGLSceneInfo::ClipMode(Char_t m)
vector<TGLPlane>&TGLSceneInfo::ClipPlanes()
UInt_tTGLSceneInfo::ClipStamp() const
voidDumpDrawStats()
vector<TGLPlane>&TGLSceneInfo::FrustumPlanes()
Bool_tTGLSceneInfo::GetActive() const
TGLSceneBase*TGLSceneInfo::GetScene() const
const TGLBoundingBox&TGLSceneInfo::GetTransformedBBox()
TGLViewerBase*TGLSceneInfo::GetViewer() const
Bool_tTGLSceneInfo::HasUpdateTimeouted() const
voidTGLSceneInfo::InClip(Bool_t c)
voidTGLSceneInfo::InFrustum(Bool_t f)
virtual TClass*TGLSceneInfo::IsA() const
Bool_tTGLSceneInfo::IsInClip() const
Bool_tTGLSceneInfo::IsInFrustum() const
Bool_tTGLSceneInfo::IsVisible() const
TGLCamera*TGLSceneInfo::LastCamera() const
TGLClip*TGLSceneInfo::LastClip() const
Short_tTGLSceneInfo::LastLOD() const
Short_tTGLSceneInfo::LastStyle() const
Short_tTGLSceneInfo::LOD() const
voidLodify(TGLRnrCtx& ctx)
voidPostDraw()
voidPreDraw()
TGLSceneBase&TGLSceneInfo::RefScene() const
TGLViewerBase&TGLSceneInfo::RefViewer() const
voidTGLSceneInfo::ResetCameraStamp()
voidTGLSceneInfo::ResetClipStamp()
voidResetDrawStats()
voidTGLSceneInfo::ResetSceneStamp()
voidTGLSceneInfo::ResetUpdateTimeouted()
UInt_tTGLSceneInfo::SceneStamp() const
voidTGLSceneInfo::SetActive(Bool_t a)
voidTGLSceneInfo::SetCameraStamp(UInt_t ts)
voidTGLSceneInfo::SetClip(TGLClip* p)
voidTGLSceneInfo::SetClipStamp(UInt_t ts)
voidTGLSceneInfo::SetLastCamera(TGLCamera* p)
voidTGLSceneInfo::SetLastClip(TGLClip* p)
voidTGLSceneInfo::SetLastLOD(Short_t ld)
voidTGLSceneInfo::SetLastStyle(Short_t st)
voidTGLSceneInfo::SetLOD(Short_t lod)
voidTGLSceneInfo::SetSceneStamp(UInt_t ts)
virtual voidTGLSceneInfo::SetSceneTrans(TGLMatrix&)
voidTGLSceneInfo::SetStyle(Short_t st)
voidTGLSceneInfo::SetupTransformsAndBBox()
Bool_tTGLSceneInfo::ShouldClip() const
virtual voidTGLSceneInfo::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGLSceneInfo::Streamer(TBuffer& b)
voidTGLSceneInfo::StreamerNVirtual(TBuffer& b)
Short_tTGLSceneInfo::Style() const
TGLScene::TSceneInfoTSceneInfo(TGLViewerBase* view = 0, TGLScene* scene = 0)
voidUpdateDrawStats(const TGLPhysicalShape& shape, Short_t lod)
voidTGLSceneInfo::UpdateTimeouted()
Bool_tTGLSceneInfo::ViewCheck() const
voidTGLSceneInfo::ViewCheck(Bool_t c)
protected:
voidClearDrawElementPtrVec(TGLScene::DrawElementPtrVec_t& vec, Int_t maxSize)
voidClearDrawElementVec(TGLScene::DrawElementVec_t& vec, Int_t maxSize)
private:
Bool_tCmpDrawElements(const TGLScene::DrawElement_t& de1, const TGLScene::DrawElement_t& de2)

Data Members

public:
enum TGLSceneInfo::EClipTest { kClipNone
kClipOutside
kClipInside
};
public:
Int_tfAsPixelCnt
map<TClass*,UInt_t>fByShapeCnt
UInt_tfMinorStamp
Int_tfOpaqueCnt
TGLScene::DrawElementPtrVec_tfOpaqueElements
TGLScene::DrawElementPtrVec_tfSelOpaqueElements
TGLScene::DrawElementPtrVec_tfSelTranspElements
TGLScene::ShapeVec_tfShapesOfInterest
Int_tfTranspCnt
TGLScene::DrawElementPtrVec_tfTranspElements
TGLScene::DrawElementVec_tfVisibleElements
protected:
Bool_tTGLSceneInfo::fActiveShow fScene in fViewer
UInt_tTGLSceneInfo::fCameraStampCamera's time-stamp on last update.
TGLClip*TGLSceneInfo::fClipOptional override of clipping-plane
Char_tTGLSceneInfo::fClipModeClipping mode, can be disbled.
TGLPlaneSet_tTGLSceneInfo::fClipPlanesClipping planes from clip-object; which planes are kept depends on inside/outside mode.
UInt_tTGLSceneInfo::fClipStampClip's time-stamp on last update.
TGLPlaneSet_tTGLSceneInfo::fFrustumPlanesClipping planes defined by frustum; only those intersecting the scene volume are kept.
Bool_tTGLSceneInfo::fInClipIs scene contained within clipping-volume.
Bool_tTGLSceneInfo::fInFrustumIs scene intersecting view-frustum.
Short_tTGLSceneInfo::fLODOptional override of scene lod
TGLCamera*TGLSceneInfo::fLastCameraLast camera used.
TGLClip*TGLSceneInfo::fLastClipLast combined viewer/scene clip (set in scene::update)
Short_tTGLSceneInfo::fLastLODLast combined viewer/scene lod (set in scene::lodofy-scene-info).
Short_tTGLSceneInfo::fLastStyleLast combined viewer/scene style (set in scene::pre-render).
TGLSceneBase*TGLSceneInfo::fScene
UInt_tTGLSceneInfo::fSceneStampScene's time-stamp on last update.
Short_tTGLSceneInfo::fStyleOptional override of scene style
TGLBoundingBoxTGLSceneInfo::fTransformedBBox
Bool_tTGLSceneInfo::fUpdateTimeoutedSet if update was interrupted.
Bool_tTGLSceneInfo::fViewCheckViewer side check if render is necessary.
TGLViewerBase*TGLSceneInfo::fViewer

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TSceneInfo(TGLViewerBase* view = 0, TGLScene* scene = 0)
 Constructor.
~TSceneInfo()
 Destructor.
void ClearDrawElementVec(TGLScene::DrawElementVec_t& vec, Int_t maxSize)
 Clear given vec and if it grew too large compared to the size of
 shape-of-interest also resize it.
void ClearDrawElementPtrVec(TGLScene::DrawElementPtrVec_t& vec, Int_t maxSize)
 Clear given vec and if it grew too large compared to the size of
 shape-of-interest also resize it.
void ClearAfterRebuild()
 Clear DrawElementVector fVisibleElement and optionally resize it
 so that it doesn't take more space then required by all the
 elements in the scene's draw-list.
void ClearAfterUpdate()
 Clear DrawElementPtrVectors and optionally resize them so that
 they don't take more space then required by all the elements in
 the scene's draw-list.
void Lodify(TGLRnrCtx& ctx)
 Quantize LODs for gice render-context.
void PreDraw()
 Prepare for drawing - fill DrawElementPtrVectors from the
 contents of fVisibleElements if there was some change.
void PostDraw()
 Clean-up after drawing, nothing to be done here.
void ResetDrawStats()
 Reset draw statistics.
void UpdateDrawStats(const TGLPhysicalShape& shape, Short_t lod)
 Update draw stats, for newly drawn 'shape'
void DumpDrawStats()
 Output draw stats to Info stream.
Bool_t CmpDrawElements(const TGLScene::DrawElement_t& de1, const TGLScene::DrawElement_t& de2)

Author: Matevz Tadel, Feb 2007
Last change: root/gl:$Id: TGLScene.h 26367 2008-11-21 18:08:30Z matevz $
Last generated: 2008-11-24 08:19
Copyright (C) 1995-2004, 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.