ROOT  6.06/09
Reference Guide
TGWin32VirtualGLProxy.h
Go to the documentation of this file.
1 // @(#)root/win32gdk:$Id$
2 // Author: Valeriy Onuchin 05/08/04
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TGWin32VirtualGLProxy
13 #define ROOT_TGWin32VirtualGLProxy
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TGWin32VirtualGLProxy //
19 // //
20 // The TGWin32VirtualGLProxy proxy class to TVirtualGL //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #ifndef ROOT_TVirtualGL
25 #include "TVirtualGL.h"
26 #endif
27 
28 #ifndef ROOT_TGWin32ProxyBase
29 #include "TGWin32ProxyBase.h"
30 #endif
31 
32 
34 {
35 public:
37 
39  Int_t CreateGLContext(Int_t winInd);
42  void SelectOffScreenDevice(Int_t devInd);
43  Int_t GetVirtualXInd(Int_t devInd);
44  void MarkForDirectCopy(Int_t devInd, Bool_t);
45  void ExtractViewport(Int_t devInd, Int_t *vp);
46  void ReadGLBuffer(Int_t devInd);
47  Bool_t MakeCurrent(Int_t devInd);
48  void Flush(Int_t ctxInd);
49  void DeleteGLContext(Int_t devInd);
50  Bool_t SelectManip(TVirtualGLManip *manip, const TGLCamera *camera, const TGLRect *rect, const TGLBoundingBox *sceneBox);
52  void PanObject(TVirtualGLPainter *o, Int_t x, Int_t y);
53  void PrintViewer(TVirtualViewer3D *vv);
55  char *GetPlotInfo(TVirtualGLPainter *plot, Int_t px, Int_t py);
57 
58  static TGLManager *ProxyObject();
59  static TGLManager *RealObject();
60 };
61 #endif
void PaintSingleObject(TVirtualGLPainter *)
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
Definition: TGLCamera.h:43
Bool_t MakeCurrent(Int_t devInd)
void ExtractViewport(Int_t devInd, Int_t *vp)
TH1 * h
Definition: legend2.C:5
void ReadGLBuffer(Int_t devInd)
Bool_t AttachOffScreenDevice(Int_t ctxInd, Int_t x, Int_t y, UInt_t w, UInt_t h)
Int_t GetVirtualXInd(Int_t devInd)
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
static TGLManager * ProxyObject()
void Flush(Int_t ctxInd)
Int_t CreateGLContext(Int_t winInd)
Double_t x[n]
Definition: legend1.C:17
void PrintViewer(TVirtualViewer3D *vv)
Bool_t PlotSelected(TVirtualGLPainter *plot, Int_t px, Int_t py)
Viewport (pixel base) 2D rectangle class.
Definition: TGLUtil.h:426
Abstract 3D shapes viewer.
Bool_t SelectManip(TVirtualGLManip *manip, const TGLCamera *camera, const TGLRect *rect, const TGLBoundingBox *sceneBox)
void DeleteGLContext(Int_t devInd)
unsigned int UInt_t
Definition: RtypesCore.h:42
Int_t InitGLWindow(Window_t winID)
void SelectOffScreenDevice(Int_t devInd)
Double_t y[n]
Definition: legend1.C:17
void PanObject(TVirtualGLPainter *o, Int_t x, Int_t y)
void MarkForDirectCopy(Int_t devInd, Bool_t)
Bool_t HighColorFormat(Int_t ctx)
Concrete class describing an orientated (free) or axis aligned box of 8 vertices. ...
static TGLManager * RealObject()
Handle_t Window_t
Definition: GuiTypes.h:30
char * GetPlotInfo(TVirtualGLPainter *plot, Int_t px, Int_t py)
Bool_t ResizeOffScreenDevice(Int_t devInd, Int_t x, Int_t y, UInt_t w, UInt_t h)