TGLViewerImp


class description - source file - inheritance tree

class TGLViewerImp


    protected:
virtual void Disconnect() public:
TGLViewerImp TGLViewerImp() TGLViewerImp TGLViewerImp(TPadOpenGLView* padview, const char* title = "OpenGL Viewer", UInt_t width = 400, UInt_t height = 300) TGLViewerImp TGLViewerImp(TPadOpenGLView* padview, const char* title, Int_t x, Int_t y, UInt_t width, UInt_t height) TGLViewerImp TGLViewerImp(const TGLViewerImp&) virtual void ~TGLViewerImp() static TClass* Class() virtual void CreateContext() virtual void CreateStatusBar(Int_t nparts = 1) virtual void CreateStatusBar(Int_t* parts, Int_t nparts = 1) virtual void DeleteContext() virtual void DeleteView() virtual UInt_t GetDrawList() TPadOpenGLView* GetGLView() virtual void HandleInput(EEventType button, Int_t x, Int_t y) virtual void Iconify() virtual TClass* IsA() const virtual void MakeCurrent() virtual void Paint(Option_t* opt) virtual void SetDrawList(UInt_t list) virtual void SetStatusText(const char* text, Int_t partidx = 0, Int_t stype = 0) virtual void Show() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void ShowStatusBar(Bool_t show = kTRUE) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void SwapBuffers() virtual void Update()

Data Members


    protected:
UInt_t fDrawList GL list used to redraw the contents TPadOpenGLView* fGLView Pointer to Pad GL View object Bool_t fPaint Allows "Refresh" OpenGL window public:
static const enum TGLViewerImp:: kStatusPopIn static const enum TGLViewerImp:: kStatusNoBorders static const enum TGLViewerImp:: kStatusOwn static const enum TGLViewerImp:: kStatusPopOut

Class Description

                                                                      
 TGLViewerImp                                                         
                                                                      
 TGLViewerImp is abstract OpenGL viewer. Actual implementations are   
 TRootGLViewer and TWin32GLViewerImp. The TGLViewer is used by the    
 TPadOpenGLView.                                                      
                                                                      


TGLViewerImp()

TGLViewerImp(TPadOpenGLView *, const char *, UInt_t, UInt_t)

TGLViewerImp(TPadOpenGLView *, const char *, Int_t, Int_t, UInt_t, UInt_t)

~TGLViewerImp()
 break view / viewer relationship

void DeleteView()

void HandleInput(EEventType button, Int_t x, Int_t y)

void Paint(Option_t *)
   if (fPaint)



Inline Functions


                   void Disconnect()
                   void CreateContext()
                   void CreateStatusBar(Int_t nparts = 1)
                   void CreateStatusBar(Int_t* parts, Int_t nparts = 1)
                   void DeleteContext()
        TPadOpenGLView* GetGLView()
                   void MakeCurrent()
                   void SetStatusText(const char* text, Int_t partidx = 0, Int_t stype = 0)
                   void ShowStatusBar(Bool_t show = kTRUE)
                   void SwapBuffers()
                 UInt_t GetDrawList()
                   void SetDrawList(UInt_t list)
                   void Iconify()
                   void Show()
                   void Update()
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
           TGLViewerImp TGLViewerImp(const TGLViewerImp&)


Author: Valery Fine 23/05/97
Last update: root/g3d:$Name: $:$Id: TGLViewerImp.cxx,v 1.3 2002/11/13 07:55:48 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.