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