12 #ifndef ROOT_TVirtualGL
13 #define ROOT_TVirtualGL
37 #ifndef ROOT_GLConstants
55 virtual void Paint() = 0;
168 #define gGLManager (TGLManager::Instance())
virtual void PrintViewer(TVirtualViewer3D *vv)=0
Abstract base class for viewer manipulators, which allow direct in viewer manipulation of a (TGlPhysi...
Abstract base camera class - concrete classes for orthographic and perspective cameras derive from it...
virtual void SelectOffScreenDevice(Int_t ctxInd)=0
virtual Bool_t MakeCurrent()=0
virtual void Flush(Int_t ctxInd)=0
virtual void SwapBuffers()=0
virtual Bool_t Select(const TGLCamera &camera, const TGLRect &rect, const TGLBoundingBox &sceneBox)=0
Abstract class to define Arrays of 3D points.
virtual void PanObject(TVirtualGLPainter *o, Int_t x, Int_t y)=0
virtual Bool_t MakeCurrent(Int_t ctxInd)=0
virtual char * GetPlotInfo(Int_t px, Int_t py)=0
virtual Bool_t PlotSelected(Int_t px, Int_t py)=0
virtual char * GetPlotInfo(TVirtualGLPainter *plot, Int_t px, Int_t py)=0
virtual void PaintSingleObject(TVirtualGLPainter *)=0
virtual void RemoveContext(TGLContext *ctx)=0
TGLViewer::ECameraType camera
void plot(TString fname="data.root", TString var0="var0", TString var1="var1")
#define ClassDef(name, id)
virtual void AddContext(TGLContext *ctx)=0
virtual void ReadGLBuffer(Int_t ctxInd)=0
The TNamed class is the base class for all named ROOT classes.
Viewport (pixel base) 2D rectangle class.
Abstract 3D shapes viewer.
virtual void ExtractViewport(Int_t ctxInd, Int_t *vp)=0
virtual const TGLContext * GetContext() const =0
virtual const TGLFormat * GetPixelFormat() const =0
virtual Bool_t ResizeOffScreenDevice(Int_t ctxInd, Int_t x, Int_t y, UInt_t w, UInt_t h)=0
virtual Bool_t AttachOffScreenDevice(Int_t ctxInd, Int_t x, Int_t y, UInt_t w, UInt_t h)=0
ClassDef(TVirtualGLPainter, 0)
Base GL viewer object - used by both standalone and embedded (in pad) GL.
static TGLManager *& Instance()
Return the global GL Manager.
virtual Int_t InitGLWindow(Window_t winID)=0
virtual void Pan(Int_t px, Int_t py)=0
virtual void ExtractViewport(Int_t *vp) const =0
virtual Int_t GetVirtualXInd(Int_t ctxInd)=0
virtual ~TVirtualGLPainter()
virtual void MarkForDirectCopy(Int_t ctxInd, Bool_t)=0
virtual void DeleteGLContext(Int_t ctxInd)=0
This class encapsulates window-system specific information about a GL-context and alows their proper ...
virtual ~TVirtualGLManip()
virtual ~TGLPaintDevice()
ClassDef(TVirtualGLManip, 0)
TGLManager & operator=(const TGLManager &)
Concrete class describing an orientated (free) or axis aligned box of 8 vertices. ...
virtual Bool_t HighColorFormat(Int_t ctxInd)=0
virtual Bool_t PlotSelected(TVirtualGLPainter *plot, Int_t px, Int_t py)=0
virtual Int_t CreateGLContext(Int_t winInd)=0
virtual Bool_t SelectManip(TVirtualGLManip *manip, const TGLCamera *camera, const TGLRect *rect, const TGLBoundingBox *sceneBox)=0