12#ifndef ROOT_TGLEmbeddedViewer
13#define ROOT_TGLEmbeddedViewer
44 virtual const char *
GetName()
const {
return "GLViewer"; }
#define ClassDef(name, id)
Minimal GL-viewer that can be embedded in a standard ROOT frames.
TGLOrthoCamera * GetOrthoZOXCamera()
TGLOrthoCamera * GetOrthoXOZCamera()
TGLEmbeddedViewer & operator=(const TGLEmbeddedViewer &)
void CreateFrames()
Internal frames creation.
~TGLEmbeddedViewer()
Destroy standalone viewer object.
virtual void DestroyGLWidget()
Destroy the GLwidget, it is an error if it does not exist.
TGLEmbeddedViewer(const TGLEmbeddedViewer &)
virtual const char * GetName() const
Returns name of object.
TGCompositeFrame * GetFrame() const
TGLOrthoCamera * GetOrthoZOYCamera()
void Init(const TGWindow *parent)
Common initialization from all constructors.
TGLOrthoCamera * GetOrthoXOYCamera()
TGCompositeFrame * fFrame
virtual void CreateGLWidget()
Create a GLwidget, it is an error if it is already created.
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
TVirtualPad is an abstract base class for the Pad and Canvas classes.