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