Logo ROOT  
Reference Guide
TGWin32VirtualGLProxy.cxx
Go to the documentation of this file.
1// @(#)root/win32gdk:$Id$
2// Author: Valeriy Onuchin 05/08/04
3
4/*************************************************************************
5 * Copyright (C) 1995-2004,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#include "TGWin32ProxyDefs.h"
14#include "TGWin32.h"
15#include "TROOT.h"
16#include "TList.h"
17
18static TGLManager *gManager = 0;
19
20////////////////////////////////////////////////////////////////////////////////
21
23{
24 if (!gManager) {
25 gManager = (TGLManager *)gROOT->GetListOfSpecials()->FindObject("gGLManager");
26 }
27
28 return gManager;
29}
30
32{
34}
35
38RETURN_METHOD_ARG1(GLManager, Int_t, CreateGLContext, Int_t, winInd)
40RETURN_METHOD_ARG5(GLManager, Bool_t, ResizeOffScreenDevice, Int_t, pixInd, Int_t, x, Int_t, y, UInt_t, w, UInt_t, h)
42RETURN_METHOD_ARG1(GLManager, Int_t, GetVirtualXInd, Int_t, pixInd)
44RETURN_METHOD_ARG1(GLManager, Bool_t, MakeCurrent, Int_t, devInd)
46VOID_METHOD_ARG1(GLManager, ReadGLBuffer, Int_t, devInd, 1)
48VOID_METHOD_ARG2(GLManager, ExtractViewport, Int_t, pixInd, Int_t *, vp, 1)
50VOID_METHOD_ARG1(GLManager, PaintSingleObject, TVirtualGLPainter *, p, 1)
52RETURN_METHOD_ARG3(GLManager, Bool_t, PlotSelected, TVirtualGLPainter *, plot, Int_t, x, Int_t, y)
54RETURN_METHOD_ARG4(GLManager, Bool_t, SelectManip, TVirtualGLManip *, manip, const TGLCamera *, camera, const TGLRect *, rect, const TGLBoundingBox *, box)
Handle_t Window_t
Window handle.
Definition: GuiTypes.h:29
#define h(i)
Definition: RSha256.hxx:106
bool Bool_t
Definition: RtypesCore.h:63
int Int_t
Definition: RtypesCore.h:45
const Bool_t kFALSE
Definition: RtypesCore.h:101
unsigned int UInt_t
Definition: RtypesCore.h:46
#define VOID_METHOD_ARG3(klass, method, type1, par1, type2, par2, type3, par3, sync)
winID h pixInd
winID RETURN_METHOD_ARG1(GLManager, Int_t, CreateGLContext, Int_t, winInd) RETURN_METHOD_ARG5(GLManager
winID h Flush
winID h PrintViewer
winID AttachOffScreenDevice
winID h TVirtualViewer3D PanObject
winID h DeleteGLContext
winID winInd
winID h TVirtualViewer3D TVirtualGLPainter p
winID h TVirtualViewer3D vv
winID h devInd
winID h VOID_METHOD_ARG1(GLManager, ReadGLBuffer, Int_t, devInd, 1) VOID_METHOD_ARG1(GLManager
winID h TVirtualViewer3D TVirtualGLPainter RETURN_METHOD_ARG3(GLManager, Bool_t, PlotSelected, TVirtualGLPainter *, plot, Int_t, x, Int_t, y) RETURN_METHOD_ARG3(GLManager
winID h RETURN_METHOD_ARG5(GLManager, Bool_t, ResizeOffScreenDevice, Int_t, pixInd, Int_t, x, Int_t, y, UInt_t, w, UInt_t, h) VOID_METHOD_ARG1(GLManager
winID h VOID_METHOD_ARG2(GLManager, ExtractViewport, Int_t, pixInd, Int_t *, vp, 1) VOID_METHOD_ARG1(GLManager
winID h SelectOffScreenDevice
static TGLManager * gManager
winID h TVirtualViewer3D TVirtualGLPainter char TVirtualGLPainter y HighColorFormat
winID h TVirtualViewer3D TVirtualGLPainter char TVirtualGLPainter plot
RETURN_PROXY_OBJECT(GLManager) RETURN_METHOD_ARG1(GLManager
winID h direct
winID h TVirtualViewer3D TVirtualGLPainter char GetPlotInfo
winID h MarkForDirectCopy
winID h TVirtualViewer3D TVirtualGLPainter char TVirtualGLPainter y RETURN_METHOD_ARG4(GLManager, Bool_t, SelectManip, TVirtualGLManip *, manip, const TGLCamera *, camera, const TGLRect *, rect, const TGLBoundingBox *, box) RETURN_METHOD_ARG1(GLManager
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t rect
#define gROOT
Definition: TROOT.h:404
Concrete class describing an orientated (free) or axis aligned box of 8 vertices.
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
Definition: TGLCamera.h:44
Viewport (pixel base) 2D rectangle class.
Definition: TGLUtil.h:422
static TGLManager * RealObject()
Bool_t fIsVirtualX
true if actual TVirtualX implementation
Abstract 3D shapes viewer.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Definition: fillpatterns.C:1