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