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.
static TGLRnrCtx::EStyle | kFill | |
static TGLRnrCtx::ESelectabilityOfTransparents | kIfClosest | |
static TGLRnrCtx::ESelectabilityOfTransparents | kIfNoOpaques | |
static TGLRnrCtx::ELODPresets | kLODHigh | |
static TGLRnrCtx::ELODPresets | kLODLow | |
static TGLRnrCtx::ELODPresets | kLODMed | |
static TGLRnrCtx::ELODPresets | kLODPixel | |
static TGLRnrCtx::ELODPresets | kLODUndef | |
static TGLRnrCtx::ESelectabilityOfTransparents | kNever | |
static TGLRnrCtx::EStyle | kOutline | |
static TGLRnrCtx::EPass | kPassFill | |
static TGLRnrCtx::EPass | kPassOutlineFill | |
static TGLRnrCtx::EPass | kPassOutlineLine | |
static TGLRnrCtx::EPass | kPassUndef | |
static TGLRnrCtx::EPass | kPassWireFrame | |
static TGLRnrCtx::EShapeSelectionLevel | kSSLEnd | |
static TGLRnrCtx::EShapeSelectionLevel | kSSLHighlighted | |
static TGLRnrCtx::EShapeSelectionLevel | kSSLImpliedHighlighted | |
static TGLRnrCtx::EShapeSelectionLevel | kSSLImpliedSelected | |
static TGLRnrCtx::EShapeSelectionLevel | kSSLNotSelected | |
static TGLRnrCtx::EShapeSelectionLevel | kSSLSelected | |
static TGLRnrCtx::EStyle | kStyleUndef | |
static TGLRnrCtx::EStyle | kWireFrame |
TGLCamera* | fCamera | |
TGLClip* | fClip | |
TGLRnrCtx::lpTGLColorSet_t* | fColorSetStack | |
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 |
Int_t | fGrabBuffer | Which buffer to grab after render. |
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 | |
Float_t | fRenderScale | |
Double_t | fRenderTimeOut | |
TGLClip* | fSceneClip | |
TGLSceneInfo* | fSceneInfo | |
Short_t | fSceneLOD | |
Float_t | fSceneOLLineW | |
Short_t | fSceneStyle | |
Float_t | fSceneWFLineW | |
Bool_t | fSecSelection | True when in secondary selection. |
TGLSelectBuffer* | fSelectBuffer | |
Short_t | fSelectTransparents | |
Bool_t | fSelection | True when in selection. |
Short_t | fShapeLOD | LOD calculated for current shape. |
Float_t | fShapePixSize | Only relevant when not using display lists. |
TGLStopwatch | fStopwatch | |
TGLViewerBase* | fViewer | |
TGLClip* | fViewerClip | |
Short_t | fViewerLOD | |
Float_t | fViewerOLLineW | |
Short_t | fViewerStyle | |
Float_t | fViewerWFLineW |
Setup context for running selection. x and y are in window coordinates.
Return current pick rectangle. This is *zero* when selection is not set.
Pops the top-most color-set. If only one entry is available, error is printed and the entry remains.
Change the default/bottom color-set. Returns the previous color-set.
Set col if it is different from background, otherwise use current foreground color.
Get font in the GL rendering context.
Get font in the GL rendering context.
Get font in the GL rendering context. The font is scaled relative to current render scale.
Get font in the GL rendering context. The font is scaled relative to current render scale.