12 #ifndef ROOT_TGLEmbeddedViewer
13 #define ROOT_TGLEmbeddedViewer
19 #ifndef ROOT_TGLViewer
48 virtual const char *
GetName()
const {
return "GLViewer"; }
virtual const char * GetName() const
Returns name of object.
TGLOrthoCamera fOrthoXOZCamera
TGLOrthoCamera fOrthoXOYCamera
TGLEmbeddedViewer & operator=(const TGLEmbeddedViewer &)
TGCompositeFrame * GetFrame() const
Minimal GL-viewer that can be embedded in a standard ROOT frames.
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.
ClassDef(TGLEmbeddedViewer, 0)
TGLEmbeddedViewer(const TGLEmbeddedViewer &)
TGCompositeFrame * fFrame
void CreateFrames()
Internal frames creation.