Logo ROOT   6.12/07
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 #include "TVirtualGL.h"
25 
26 #include "TGWin32ProxyBase.h"
27 
28 
30 {
31 public:
33 
35  Int_t CreateGLContext(Int_t winInd);
38  void SelectOffScreenDevice(Int_t devInd);
39  Int_t GetVirtualXInd(Int_t devInd);
40  void MarkForDirectCopy(Int_t devInd, Bool_t);
41  void ExtractViewport(Int_t devInd, Int_t *vp);
42  void ReadGLBuffer(Int_t devInd);
43  Bool_t MakeCurrent(Int_t devInd);
44  void Flush(Int_t ctxInd);
45  void DeleteGLContext(Int_t devInd);
46  Bool_t SelectManip(TVirtualGLManip *manip, const TGLCamera *camera, const TGLRect *rect, const TGLBoundingBox *sceneBox);
48  void PanObject(TVirtualGLPainter *o, Int_t x, Int_t y);
49  void PrintViewer(TVirtualViewer3D *vv);
51  char *GetPlotInfo(TVirtualGLPainter *plot, Int_t px, Int_t py);
53 
54  static TGLManager *ProxyObject();
55  static TGLManager *RealObject();
56 };
57 #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
Proxy classes provide thread-safe interface to global objects.
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:422
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:28
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)