#ifndef ROOT_TGLSAViewer
#define ROOT_TGLSAViewer
#ifndef ROOT_TGLViewer
#include "TGLViewer.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
class TGFrame;
class TGCompositeFrame;
class TGPopupMenu;
class TGLSAFrame;
class TGTab;
class TGLGeometryEditor;
class TGLViewerEditor;
class TGLColorEditor;
class TGLRenderArea;
class TGLSAViewer : public TGLViewer {
public:
enum EGLSACommands { kGLHelpAbout, kGLHelpViewer, kGLXOY,
kGLXOZ, kGLZOY, kGLPerspYOZ, kGLPerspXOZ, kGLPerspXOY,
kGLSaveEPS, kGLSavePDF, kGLSavePNG, kGLSaveGIF,
kGLSaveJPG, kGLSaveAS, kGLCloseViewer, kGLQuitROOT};
private:
TGLSAFrame *fFrame;
TGPopupMenu *fFileMenu;
TGPopupMenu *fFileSaveMenu;
TGPopupMenu *fCameraMenu;
TGPopupMenu *fHelpMenu;
TGLRenderArea *fGLArea;
TGCompositeFrame *fLeftVerticalFrame;
TGTab *fEditorTab;
TGLViewerEditor *fGLEd;
TGTab *fObjEdTab;
TGLColorEditor *fColorEd;
TGLGeometryEditor *fGeomEd;
TString fDirName;
Int_t fTypeIdx;
Bool_t fOverwrite;
static const Int_t fgInitX;
static const Int_t fgInitY;
static const Int_t fgInitW;
static const Int_t fgInitH;
static const char * fgHelpText;
void CreateMenus();
void CreateFrames();
TGLSAViewer(const TGLSAViewer &);
TGLSAViewer & operator = (const TGLSAViewer &);
void SavePicture(const TString &fileName);
protected:
virtual void PostSceneBuildSetup();
virtual void SelectionChanged();
virtual void ClipChanged();
public:
TGLSAViewer(TVirtualPad * pad);
TGLSAViewer(TGFrame * parent, TVirtualPad * pad);
~TGLSAViewer();
void Show();
void Close();
void ProcessGUIEvent(Int_t id);
Bool_t ProcessFrameMessage(Long_t msg, Long_t parm1, Long_t);
TGLSAFrame* GetFrame() const { return fFrame; }
TGTab* GetEditorTab() const { return fEditorTab; }
ClassDef(TGLSAViewer, 0)
};
#endif
ROOT page - Class index - Class Hierarchy - 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.