ROOT » CORE » BASE » TGLPaintDevice

class TGLPaintDevice


TVirtualGL

The TVirtualGL class is an abstract base class defining the
OpenGL interface protocol. All interactions with OpenGL should be
done via the global pointer gVirtualGL. If the OpenGL library is
available this pointer is pointing to an instance of the TGLKernel
class which provides the actual interface to OpenGL. Using this
scheme of ABC we can use OpenGL in other parts of the framework
without having to link with the OpenGL library in case we don't
use the classes using OpenGL.


Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TGLPaintDevice()
static TClass*Class()
virtual voidExtractViewport(Int_t* vp) const
virtual const TGLContext*GetContext() const
virtual const TGLFormat*GetPixelFormat() const
virtual TClass*IsA() const
virtual Bool_tMakeCurrent()
TGLPaintDevice&operator=(const TGLPaintDevice&)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidSwapBuffers()
TGLPaintDevice()
TGLPaintDevice(const TGLPaintDevice&)
private:
virtual voidAddContext(TGLContext* ctx)
virtual voidRemoveContext(TGLContext* ctx)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void ExtractViewport(Int_t ctxInd, Int_t *vp)
Off-screen device holds sizes for glViewport
Bool_t MakeCurrent(Int_t ctxInd)
]
Make the gl context current
virtual ~TGLPaintDevice()
{}
void SwapBuffers()
const TGLFormat * GetPixelFormat() const
const TGLContext * GetContext() const
void AddContext(TGLContext* ctx)
void RemoveContext(TGLContext* ctx)