TGWin32VirtualGLProxy.h

Go to the documentation of this file.
00001 // @(#)root/win32gdk:$Id: TGWin32VirtualGLProxy.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Valeriy Onuchin   05/08/04
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TGWin32VirtualGLProxy
00013 #define ROOT_TGWin32VirtualGLProxy
00014 
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TGWin32VirtualGLProxy                                                //
00019 //                                                                      //
00020 // The TGWin32VirtualGLProxy proxy class to TVirtualGL                  //
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

Generated on Tue Jul 5 14:14:43 2011 for ROOT_528-00b_version by  doxygen 1.5.1