5#include <Foundation/Foundation.h>
27 assert(
gGLManager == 0 &&
"TGOSXGLManager, gGLManager is initialized");
31 gROOT->GetListOfSpecials()->Add(
this);
41 gROOT->GetListOfSpecials()->Remove(
this);
48 typedef std::pair<UInt_t, Int_t> component_type;
50 std::vector<component_type>
format;
58 if (nSamples > 0 && nSamples <= 8)
103 "MakeCurrent, window not found for a given context");
172 assert(manip != 0 &&
"SelectManip, parameter 'manip' is null");
173 assert(camera != 0 &&
"SelectManip, parameter 'camera' is null");
174 assert(
rect != 0 &&
"SelectManip, parameter 'rect' is null");
175 assert(sceneBox != 0 &&
"SelectManip, parameter 'sceneBox' is null");
178 return manip->
Select(*camera, *
rect, *sceneBox);
185 assert(
plot != 0 &&
"PlotSelected, parameter 'plot' is null");
187 return plot->PlotSelected(px, py);
194 assert(
plot != 0 &&
"GetPlotInfo, parameter 'plot' is null");
196 return plot->GetPlotInfo(px, py);
203 assert(
p != 0 &&
"PaintSingleObject, parameter 'p' is null");
212 assert(
object != 0 &&
"PanObject, parameter 'object' is null");
214 return object->Pan(
x,
y);
221 assert(
vv != 0 &&
"PrintViewer, parameter 'vv' is null");
Handle_t Window_t
Window handle.
ULongptr_t Handle_t
Generic resource handle.
winID h TVirtualViewer3D TVirtualGLPainter p
winID h TVirtualViewer3D vv
winID h TVirtualViewer3D TVirtualGLPainter char TVirtualGLPainter plot
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
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 Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t format
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
virtual Int_t GetValue(const char *name, Int_t dflt) const
Returns the integer value for a resource.
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...
Viewport (pixel base) 2D rectangle class.
CtxToWindowMap_t fCtxToWin
Int_t GetVirtualXInd(Int_t devInd)
void ReadGLBuffer(Int_t devInd)
void ExtractViewport(Int_t devInd, Int_t *vp)
Bool_t AttachOffScreenDevice(Int_t ctxInd, Int_t x, Int_t y, UInt_t w, UInt_t h)
Bool_t ResizeOffScreenDevice(Int_t devInd, Int_t x, Int_t y, UInt_t w, UInt_t h)
void PaintSingleObject(TVirtualGLPainter *)
Int_t InitGLWindow(Window_t winID)
Bool_t SelectManip(TVirtualGLManip *manip, const TGLCamera *camera, const TGLRect *rect, const TGLBoundingBox *sceneBox)
void SelectOffScreenDevice(Int_t devInd)
void PanObject(TVirtualGLPainter *o, Int_t x, Int_t y)
void MarkForDirectCopy(Int_t devInd, Bool_t)
Int_t CreateGLContext(Int_t winInd)
void PrintViewer(TVirtualViewer3D *vv)
void DeleteGLContext(Int_t devInd)
char * GetPlotInfo(TVirtualGLPainter *plot, Int_t px, Int_t py)
Bool_t PlotSelected(TVirtualGLPainter *plot, Int_t px, Int_t py)
Bool_t MakeCurrent(Int_t devInd)
virtual void Paint(Option_t *option="")
This method must be overridden if a class wants to paint itself.
virtual Bool_t Select(const TGLCamera &camera, const TGLRect &rect, const TGLBoundingBox &sceneBox)=0
Abstract 3D shapes viewer.
virtual void PrintObjects()