12#ifndef ROOT_TGLEmbeddedViewer
13#define ROOT_TGLEmbeddedViewer
44 const char *
GetName()
const override {
return "GLViewer"; }
#define ClassDefOverride(name, id)
The base class for composite widgets (menu bars, list boxes, etc.).
Minimal GL-viewer that can be embedded in a standard ROOT frames.
void DestroyGLWidget() override
Destroy the GLwidget, it is an error if it does not exist.
TGLOrthoCamera * GetOrthoZOXCamera()
TGLOrthoCamera * GetOrthoXOZCamera()
TGLEmbeddedViewer & operator=(const TGLEmbeddedViewer &)
void CreateGLWidget() override
Create a GLwidget, it is an error if it is already created.
const char * GetName() const override
Returns name of object.
void CreateFrames()
Internal frames creation.
~TGLEmbeddedViewer() override
Destroy standalone viewer object.
TGLEmbeddedViewer(const TGLEmbeddedViewer &)
TGCompositeFrame * GetFrame() const
TGLOrthoCamera * GetOrthoZOYCamera()
void Init(const TGWindow *parent)
Common initialization from all constructors.
TGLOrthoCamera * GetOrthoXOYCamera()
TGCompositeFrame * fFrame
Base-class and default implementation of event-handler for TGLViewer.
Orthographic projection camera.
Base GL viewer object - used by both standalone and embedded (in pad) GL.
TGLOrthoCamera fOrthoXOYCamera
TGLOrthoCamera fOrthoZOYCamera
TGLOrthoCamera fOrthoZOXCamera
TGLOrthoCamera fOrthoXOZCamera
ROOT GUI Window base class.
TVirtualPad is an abstract base class for the Pad and Canvas classes.