00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef ROOT_TGWin32VirtualGLProxy
00013 #define ROOT_TGWin32VirtualGLProxy
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef ROOT_TVirtualGL
00025 #include "TVirtualGL.h"
00026 #endif
00027
00028 #ifndef ROOT_TGWin32ProxyBase
00029 #include "TGWin32ProxyBase.h"
00030 #endif
00031
00032
00033 class TGWin32GLManagerProxy : public TGLManager, public TGWin32ProxyBase
00034 {
00035 public:
00036 TGWin32GLManagerProxy();
00037
00038 Int_t InitGLWindow(Window_t winID);
00039 Int_t CreateGLContext(Int_t winInd);
00040 Bool_t AttachOffScreenDevice(Int_t ctxInd, Int_t x, Int_t y, UInt_t w, UInt_t h);
00041 Bool_t ResizeOffScreenDevice(Int_t devInd, Int_t x, Int_t y, UInt_t w, UInt_t h);
00042 void SelectOffScreenDevice(Int_t devInd);
00043 Int_t GetVirtualXInd(Int_t devInd);
00044 void MarkForDirectCopy(Int_t devInd, Bool_t);
00045 void ExtractViewport(Int_t devInd, Int_t *vp);
00046 void ReadGLBuffer(Int_t devInd);
00047 Bool_t MakeCurrent(Int_t devInd);
00048 void Flush(Int_t ctxInd);
00049 void DeleteGLContext(Int_t devInd);
00050 Bool_t SelectManip(TVirtualGLManip *manip, const TGLCamera *camera, const TGLRect *rect, const TGLBoundingBox *sceneBox);
00051 void PaintSingleObject(TVirtualGLPainter *);
00052 void PanObject(TVirtualGLPainter *o, Int_t x, Int_t y);
00053 void PrintViewer(TVirtualViewer3D *vv);
00054 Bool_t PlotSelected(TVirtualGLPainter *plot, Int_t px, Int_t py);
00055 char *GetPlotInfo(TVirtualGLPainter *plot, Int_t px, Int_t py);
00056 Bool_t HighColorFormat(Int_t ctx);
00057
00058 static TGLManager *ProxyObject();
00059 static TGLManager *RealObject();
00060 };
00061 #endif