12 #ifndef ROOT_TGLRnrCtx 13 #define ROOT_TGLRnrCtx
TGLSelectBuffer * fSelectBuffer
TGLRnrCtx(const TGLRnrCtx &)
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
void SetSecSelection(Bool_t secSel)
Class encapsulating a set of colors used throughout standard rendering.
Bool_t SecSelection() const
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
Int_t GetPickRadius()
Return pick radius. If selection is not active it returns 0.
void ProjectionMatrixPushIdentity()
void SetSelection(Bool_t sel)
Identifier of a shared GL-context.
Stopwatch object for timing GL work.
Float_t ViewerOLLineW() const
Scene base-class – provides basic interface expected by the TGLViewer or its sub-classes: ...
void SetGrabImage(Bool_t gi)
GLUquadric * GetGluQuadric()
Initialize fQuadric.
static constexpr double ps
Abstract clipping shape - derives from TGLPhysicalShape Adds clip mode (inside/outside) and pure virt...
void SetSceneClip(TGLClip *p)
TGLSceneInfo * GetSceneInfo()
void RegisterFontNoScale(Int_t size, Int_t file, Int_t mode, TGLFont &out)
Get font in the GL rendering context.
Float_t GetRenderScale() const
void SetViewerLOD(Short_t LOD)
TGLRnrCtx & operator=(const TGLRnrCtx &)
Float_t ViewerWFLineW() const
Bool_t IsDrawPassOutlineLine() const
void StartStopwatch()
Start the stopwatch.
TGLClip * ViewerClip() const
TGLRect * GetPickRectangle()
Return current pick rectangle.
TGLClip * SceneClip() const
void SetShapeLOD(Short_t LOD)
TGLContextIdentity * GetGLCtxIdentity() const
Base class for GL viewers.
GLUquadric * fQuadric
Current GL context identity.
Encapsulates OpenGL select buffer.
void SetViewerOLLineW(Float_t w)
Bool_t IsDrawPassFilled() const
Returns true if current render-pass uses filled polygon style.
void SetSceneLOD(Short_t LOD)
void PushColorSet()
Create copy of current color-set on the top of the stack.
#define ClassDef(name, id)
void ColorOrForeground(Color_t col)
Set col if it is different from background, otherwise use current foreground color.
void SetViewerStyle(Short_t sty)
Bool_t IsDLCaptureOpen() const
Bool_t GetGrabImage() const
void StopStopwatch()
Stop the stopwatch.
Short_t SelectTransparents() const
ESelectabilityOfTransparents
void SetSceneInfo(TGLSceneInfo *si)
Viewport (pixel base) 2D rectangle class.
static const char * StyleName(Short_t style)
Return string describing the style.
void RegisterFont(Int_t size, Int_t file, Int_t mode, TGLFont &out)
Get font in the GL rendering context.
void ProjectionMatrixPop()
TGLSceneInfo & RefSceneInfo()
void SetEventKeySym(UInt_t k)
void SetSceneStyle(Short_t sty)
void CloseDLCapture()
End display list capture.
void SetSceneWFLineW(Float_t w)
TGLContextIdentity * fGLCtxIdentity
DL-capture currently open.
void SetShapePixSize(Float_t ps)
virtual ~TGLRnrCtx()
Destructor.
Short_t SceneStyle() const
void SetCamera(TGLCamera *c)
void SetHighlight(Bool_t hil)
void SetHighlightOutline(Bool_t ho)
Bool_t HighlightOutline() const
TGLSceneBase & RefScene()
Return current scene (based on scene-info data).
void SetCombiLOD(Short_t LOD)
void SetSceneOLLineW(Float_t w)
const TGLCamera & RefCamera() const
Short_t fSelectTransparents
TGLViewerBase & RefViewer()
std::list< TGLColorSet * > lpTGLColorSet_t
Float_t ShapePixSize() const
TGLColorSet * ChangeBaseColorSet(TGLColorSet *set)
Change the default/bottom color-set.
Bool_t IsStopwatchRunning() const
void OpenDLCapture()
Start display-list capture.
void EndSelection(Int_t glResult)
End selection.
lpTGLColorSet_t * fColorSetStack
Float_t SceneOLLineW() const
void BeginSelection(Int_t x, Int_t y, Int_t r=3)
Setup context for running selection.
void ReleaseFont(TGLFont &font)
Release font in the GL rendering context.
static constexpr double s
TGLSceneBase * GetScene()
Return current scene (based on scene-info data).
void SetDrawPass(Short_t dpass)
void PopColorSet()
Pops the top-most color-set.
Bool_t HasStopwatchTimedOut()
Check if the stopwatch went beyond the render time limit.
Base class for extended scene context.
TGLColorSet * GetBaseColorSet()
Returns the current base color-set.
void SetRenderTimeOut(Double_t tout)
Short_t ViewerStyle() const
TGLViewerBase * GetViewer()
A wrapper class for FTFont.
Double_t RenderTimeOut() const
void SetViewerWFLineW(Float_t w)
TGLColorSet & ColorSet()
Return reference to current color-set (top of the stack).
TGLSelectBuffer * GetSelectBuffer() const
TGLSceneInfo * fSceneInfo
void SetSelectTransparents(Short_t st)
Short_t ViewerLOD() const
void SetViewerClip(TGLClip *p)
Float_t SceneWFLineW() const
const TGLCamera * GetCamera() const
UInt_t GetEventKeySym() const
void SetGLCtxIdentity(TGLContextIdentity *cid)
void SetRenderScale(Float_t s)