TGLRnrCtx The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the ROOT's OpenGL infractructure. It serves as a connecting point between the steering part of the infrastructure (viewer, scene) and concrete rendering classes (logical, physical shape). It is just a data-holder, there is no functionality in it. Development notes: One RnrCtx is created by each viewer and it is just an extension of the viewer context that changes along the render descend. Separating this also has some abstract benefit of hiding viewer implementation from those that do not need to know it. Current scene / scene-info part is always initialized by viewer, scenes can assume they're ok.
TGLCamera* | fCamera | |
TGLClip* | fClip | |
Short_t | fCombiLOD | Combined viewer/scene lod |
Bool_t | fDLCaptureOpen | ! DL-capture currently open |
Short_t | fDrawPass | |
UInt_t | fEventKeySym | |
TGLContextIdentity* | fGLCtxIdentity | ! Current GL context identity |
Bool_t | fGrabImage | Set to true to store the image. |
UChar_t* | fGrabbedImage | Buffer where image was stored after rendering. |
Bool_t | fHasTimedOut | |
Bool_t | fHighlight | True when in highlight. |
Bool_t | fHighlightOutline | True when in highlight-outline. |
Bool_t | fIsRunning | |
Int_t | fPickRadius | |
TGLRect* | fPickRectangle | |
GLUquadric* | fQuadric | |
Double_t | fRenderTimeOut | |
UChar_t | fSSLColor[5][4] | Colors for shape-selection-levels |
TGLClip* | fSceneClip | |
TGLSceneInfo* | fSceneInfo | |
Short_t | fSceneLOD | |
Short_t | fSceneStyle | |
Bool_t | fSecSelection | |
TGLSelectBuffer* | fSelectBuffer | |
Bool_t | fSelection | |
Short_t | fShapeLOD | |
TGLStopwatch | fStopwatch | |
TGLViewerBase* | fViewer | |
TGLClip* | fViewerClip | |
Short_t | fViewerLOD | |
Short_t | fViewerStyle |
Setup context for running selection. x and y are in window coordinates.
Return current pick rectangle. This is *zero* when selection is not set.
Set highlight color for shape-selection-level level.
Get font in the GL rendering context.
Get font in the GL rendering context.