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, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidSwapBuffers()
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 TGLContext * GetContext()
void AddContext(TGLContext* ctx)
void RemoveContext(TGLContext* ctx)

Author: Valery Fine(fine@vxcern.cern.ch) 05/03/97
Last change: root/base:$Id: TVirtualGL.h 20877 2007-11-19 11:17:07Z rdm $
Last generated: 2008-06-25 08:41
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.