size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDef(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t sel
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char mode
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
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
TGLRnrCtx & operator=(const TGLRnrCtx &)=delete
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
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.
TGLRnrCtx(const TGLRnrCtx &)=delete
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.