12 #ifndef ROOT_TGLRnrCtx
13 #define ROOT_TGLRnrCtx
const TGLCamera & RefCamera() const
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 GetGrabImage() 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.
Bool_t HighlightOutline() const
void ProjectionMatrixPushIdentity()
UInt_t GetEventKeySym() const
TGLClip * ViewerClip() const
void SetSelection(Bool_t sel)
TGLClip * SceneClip() const
Identifier of a shared GL-context.
Stopwatch object for timing GL work.
Scene base-class – provides basic interface expected by the TGLViewer or its sub-classes: ...
Short_t SelectTransparents() const
void SetGrabImage(Bool_t gi)
GLUquadric * GetGluQuadric()
Initialize fQuadric.
Abstract clipping shape - derives from TGLPhysicalShape Adds clip mode (inside/outside) and pure virt...
void SetSceneClip(TGLClip *p)
TGLSceneInfo * GetSceneInfo()
const TGLCamera * GetCamera() const
void RegisterFontNoScale(Int_t size, Int_t file, Int_t mode, TGLFont &out)
Get font in the GL rendering context.
void SetViewerLOD(Short_t LOD)
TGLRnrCtx & operator=(const TGLRnrCtx &)
void StartStopwatch()
Start the stopwatch.
TGLRect * GetPickRectangle()
Return current pick rectangle.
void SetShapeLOD(Short_t LOD)
Base class for GL viewers.
Bool_t IsDLCaptureOpen() const
GLUquadric * fQuadric
Current GL context identity.
Encapsulates OpenGL select buffer.
void SetViewerOLLineW(Float_t w)
void SetSceneLOD(Short_t LOD)
void PushColorSet()
Create copy of current color-set on the top of the stack.
void ColorOrForeground(Color_t col)
Set col if it is different from background, otherwise use current foreground color.
void SetViewerStyle(Short_t sty)
Float_t GetRenderScale() const
void StopStopwatch()
Stop the stopwatch.
Short_t SceneStyle() const
Bool_t IsDrawPassFilled() const
Returns true if current render-pass uses filled polygon style.
ESelectabilityOfTransparents
void SetSceneInfo(TGLSceneInfo *si)
TGLContextIdentity * GetGLCtxIdentity() const
Viewport (pixel base) 2D rectangle class.
Float_t SceneWFLineW() const
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()
Short_t ViewerStyle() const
TGLSelectBuffer * GetSelectBuffer() const
Float_t SceneOLLineW() const
void SetEventKeySym(UInt_t k)
Short_t ViewerLOD() const
void SetSceneStyle(Short_t sty)
Float_t ShapePixSize() const
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.
void SetCamera(TGLCamera *c)
void SetHighlight(Bool_t hil)
void SetHighlightOutline(Bool_t ho)
TGLSceneBase & RefScene()
Return current scene (based on scene-info data).
void SetCombiLOD(Short_t LOD)
void SetSceneOLLineW(Float_t w)
Float_t ViewerWFLineW() const
Bool_t SecSelection() const
Bool_t IsDrawPassOutlineLine() const
Double_t RenderTimeOut() const
Short_t fSelectTransparents
TGLViewerBase & RefViewer()
std::list< TGLColorSet * > lpTGLColorSet_t
TGLColorSet * ChangeBaseColorSet(TGLColorSet *set)
Change the default/bottom color-set.
void OpenDLCapture()
Start display-list capture.
void EndSelection(Int_t glResult)
End selection.
lpTGLColorSet_t * fColorSetStack
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.
TGLSceneBase * GetScene()
Return current scene (based on scene-info data).
void SetDrawPass(Short_t dpass)
Float_t ViewerOLLineW() const
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.
ClassImp(TSlaveInfo) Int_t TSlaveInfo const TSlaveInfo * si
Used to sort slaveinfos by ordinal.
void SetRenderTimeOut(Double_t tout)
TGLViewerBase * GetViewer()
Bool_t IsStopwatchRunning() const
A wrapper class for FTFont.
void SetViewerWFLineW(Float_t w)
TGLColorSet & ColorSet()
Return reference to current color-set (top of the stack).
TGLSceneInfo * fSceneInfo
void SetSelectTransparents(Short_t st)
void SetViewerClip(TGLClip *p)
void SetGLCtxIdentity(TGLContextIdentity *cid)
void SetRenderScale(Float_t s)