26#if !defined(__CLING__)
29typedef struct _XDisplay Display;
Handle_t Window_t
Window handle.
#define ClassDef(name, id)
Concrete class describing an orientated (free) or axis aligned box of 8 vertices.
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
Viewport (pixel base) 2D rectangle class.
Abstract 3D shapes viewer.
The TX11GLManager is X11 implementation of TGLManager.
Int_t CreateGLContext(Int_t winInd)
Context creation requires Display * and XVisualInfo (was saved for such winInd).
~TX11GLManager()
Destructor.
void PaintSingleObject(TVirtualGLPainter *)
Paint a single object.
TX11GLManager & operator=(const TX11GLManager &)
Int_t GetVirtualXInd(Int_t devInd)
Returns an index suitable for gVirtualX.
void DeleteGLContext(Int_t devInd)
Deletes GLX context and frees pixmap and image (if any).
void MarkForDirectCopy(Int_t devInd, Bool_t)
Selection-rotation support for TPad/TCanvas.
Bool_t MakeCurrent(Int_t devInd)
Make GL context current.
void SelectOffScreenDevice(Int_t devInd)
Selects off-screen device to make it accessible by gVirtualX.
Bool_t ResizeOffScreenDevice(Int_t devInd, Int_t x, Int_t y, UInt_t w, UInt_t h)
Resize off screen device.
void PanObject(TVirtualGLPainter *o, Int_t x, Int_t y)
Pan objects.
Bool_t SelectManip(TVirtualGLManip *manip, const TGLCamera *camera, const TGLRect *rect, const TGLBoundingBox *sceneBox)
Select manipulator.
void PrintViewer(TVirtualViewer3D *vv)
Print viewer.
void Flush(Int_t ctxInd)
Swaps buffers or copy pixmap.
Bool_t HighColorFormat(Int_t)
char * GetPlotInfo(TVirtualGLPainter *plot, Int_t px, Int_t py)
Analog of TObject::GetObjectInfo.
Bool_t PlotSelected(TVirtualGLPainter *plot, Int_t px, Int_t py)
Analog of TObject::DistancetoPrimitive.
Bool_t CreateGLPixmap(TGLContext_t &)
Create GL pixmap.
void ReadGLBuffer(Int_t devInd)
GL buffer is read info buffer, after that lines are reordered into XImage, XImage copied into pixmap.
TX11GLManager()
Constructor.
TX11GLManager(const TX11GLManager &)
void ExtractViewport(Int_t devInd, Int_t *vp)
Returns the current dimensions of a GL pixmap.
Bool_t AttachOffScreenDevice(Int_t ctxInd, Int_t x, Int_t y, UInt_t w, UInt_t h)
Attach off screen device.
Int_t InitGLWindow(Window_t winID)
Try to find correct visual.