library: libRGL
#include "TX11GL.h"

TX11GLManager


class description - source file - inheritance tree (.pdf)

class TX11GLManager : public TGLManager

Inheritance Chart:
TObject
<-
TNamed
<-
TGLManager
<-
TX11GLManager
    private:
TX11GLManager(const TX11GLManager&) Bool_t CreateGLPixmap(Int_t winId, Int_t x, Int_t y, UInt_t w, UInt_t h, Int_t preferInd = -1) TX11GLManager& operator=(const TX11GLManager&) public:
TX11GLManager() ~TX11GLManager() static TClass* Class() virtual Int_t CreateGLContext(Int_t winInd) virtual void DeletePaintDevice(Int_t deviceInd) virtual void DrawViewer(TVirtualViewer3D* v) virtual void ExtractViewport(Int_t pixId, Int_t* viewport) virtual void Flush(Int_t deviceInd, Int_t x, Int_t y) virtual Int_t GetVirtualXInd(Int_t glPix) virtual Int_t InitGLWindow(Window_t winId, Bool_t isOffScreen) virtual TClass* IsA() const virtual Bool_t MakeCurrent(Int_t deviceInd) virtual void MarkForDirectCopy(Int_t pixInd, Bool_t pix) virtual Int_t OpenGLPixmap(Int_t winInd, Int_t x, Int_t y, UInt_t w, UInt_t h) virtual void ResizeGLPixmap(Int_t pixInd, Int_t x, Int_t y, UInt_t w, UInt_t h) virtual TObject* Select(TVirtualViewer3D* v, Int_t x, Int_t y) virtual void SelectGLPixmap(Int_t pixInd) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TX11GLManager::TX11GLImpl* fPimpl

Class Description

                                                                      
 TX11GL                                                               
                                                                      
 The TX11GL is X11 implementation of TVirtualGLImp class.             
                                                                      


TX11GLManager() : fPimpl(new TX11GLImpl)

~TX11GLManager()

Int_t InitGLWindow(Window_t winID, Bool_t isOffScreen)
Try to find correct visual

Int_t CreateGLContext(Int_t winInd)
context creation requires Display * and XVisualInfo (was saved for such winInd)

Bool_t MakeCurrent(Int_t devInd)
Make gl context current

void Flush(Int_t devInd, Int_t, Int_t)
swaps buffers for window or copy pixmap

Bool_t CreateGLPixmap(Int_t winInd, Int_t x, Int_t y, UInt_t w, UInt_t h, Int_t prevInd)
creates new x11 pixmap, gl pixmap, gl context

Int_t OpenGLPixmap(Int_t winInd, Int_t x, Int_t y, UInt_t w, UInt_t h)
create new X11 pixmap and GLX pixmap and gl context for
off-screen drawing - new device

void ResizeGLPixmap(Int_t pixInd, Int_t x, Int_t y, UInt_t w, UInt_t h)

void SelectGLPixmap(Int_t pixInd)
selects off-screen device to make it
accessible by gVirtualX

void MarkForDirectCopy(Int_t pixInd, Bool_t dir)

void DeletePaintDevice(Int_t devInd)

Int_t GetVirtualXInd(Int_t glPix)

void ExtractViewport(Int_t pixId, Int_t *viewport)

void DrawViewer(TVirtualViewer3D *vv)

TObject* Select(TVirtualViewer3D *vv, Int_t x, Int_t y)



Inline Functions


         TX11GLManager TX11GLManager(const TX11GLManager&)
        TX11GLManager& operator=(const TX11GLManager&)
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)


Author: Timur Pocheptsov 09/08/2004
Last update: root/gx11:$Name: $:$Id: TX11GL.cxx,v 1.8 2005/08/23 11:29:06 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.