library: libCore #include "TVirtualGL.h" |
Inheritance Chart: | ||||||||||||||||
|
public:
virtual ~TVirtualGLPainter() static TClass* Class() virtual TClass* IsA() const TVirtualGLPainter& operator=(const TVirtualGLPainter&) virtual void Paint() virtual void Pan(Int_t px, Int_t py) virtual TObject* Select(Int_t px, Int_t py) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)
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.