#ifndef ROOT_TGeoManagerEditor
#define ROOT_TGeoManagerEditor
#ifndef ROOT_TGButton
#include "TGWidget.h"
#endif
#ifndef ROOT_TGeoGedFrame
#include "TGeoGedFrame.h"
#endif
class TGeoManager;
class TGeoVolume;
class TGeoShape;
class TGeoMedium;
class TGeoMaterial;
class TGeoMatrix;
class TGShutter;
class TGShutterItem;
class TGTextEntry;
class TGTab;
class TGComboBox;
class TGNumberEntry;
class TGTextButton;
class TGPictureButton;
class TGCheckButton;
class TGRadioButton;
class TGeoTabManager;
class TGeoManagerEditor : public TGedFrame {
protected:
TGeoManager *fGeometry;
TGeoTabManager *fTabMgr;
TGTab *fTab;
TGCompositeFrame *fVolumeTab;
Bool_t fIsModified;
TGShutter *fCategories;
TGTextEntry *fManagerName;
TGTextEntry *fManagerTitle;
TGTextEntry *fMediumName;
TGTextEntry *fMatrixName;
TGTextEntry *fMaterialName;
TGTextEntry *fVolumeName;
TGeoMaterial *fSelectedMaterial;
TGeoMaterial *fSelectedMaterial2;
TGLabel *fLSelMaterial;
TGLabel *fLSelMaterial2;
TGPictureButton *fBSelMaterial;
TGPictureButton *fBSelMaterial2;
TGeoVolume *fSelectedVolume;
TGLabel *fLSelVolume;
TGPictureButton *fBSelVolume;
TGeoShape *fSelectedShape;
TGeoShape *fSelectedShape2;
TGLabel *fLSelShape;
TGLabel *fLSelShape2;
TGPictureButton *fBSelShape;
TGPictureButton *fBSelShape2;
TGeoMatrix *fSelectedMatrix;
TGLabel *fLSelMatrix;
TGPictureButton *fBSelMatrix;
TGeoMedium *fSelectedMedium;
TGeoMedium *fSelectedMedium2;
TGLabel *fLSelMedium;
TGLabel *fLSelMedium2;
TGPictureButton *fBSelMedium;
TGPictureButton *fBSelMedium2;
TGPictureButton *fShapeButton[21];
TGPictureButton *fMatrixButton[3];
TGPictureButton *fVolumeButton[2];
TGPictureButton *fMaterialButton[2];
TGRadioButton *fExportOption[2];
TGTextButton *fExportButton;
TGComboBox *fElementList;
TGNumberEntry *fEntryDensity;
TGPictureButton *fMediumButton;
TGNumberEntry *fMediumId;
TGTextButton *fEditShape;
TGTextButton *fEditMedium;
TGTextButton *fEditMaterial;
TGTextButton *fEditMatrix;
TGTextButton *fEditVolume;
TGTextButton *fSetTopVolume;
TGLabel *fLSelTop;
TGPictureButton *fBSelTop;
TGTextButton *fCloseGeometry;
TGCompositeFrame *f2;
TGCompositeFrame *f3;
TGCompositeFrame *f4;
TGCompositeFrame *f5;
TGCompositeFrame *f6;
TGCompositeFrame *f7;
TCanvas *fConnectedCanvas;
virtual void ConnectSignals2Slots();
void ShowSelectShape(Bool_t show=kTRUE);
void ShowSelectVolume(Bool_t show=kTRUE);
void ShowSelectMaterial(Bool_t show=kTRUE);
void ShowSelectMedium(Bool_t show=kTRUE);
void ShowSelectMatrix(Bool_t show=kTRUE);
public:
TGeoManagerEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGeoManagerEditor();
static void LoadLib() {;}
virtual void SetModel(TObject *obj);
virtual void SelectedSlot(TVirtualPad* pad, TObject* obj, Int_t event);
void ConnectSelected(TCanvas *c);
void DisconnectSelected();
void DoName();
void DoCreateBox();
void DoCreatePara();
void DoCreateTrd1();
void DoCreateTrd2();
void DoCreateTrap();
void DoCreateGtra();
void DoCreateXtru();
void DoCreateArb8();
void DoCreateTube();
void DoCreateTubs();
void DoCreateCone();
void DoCreateCons();
void DoCreateSphe();
void DoCreateCtub();
void DoCreateEltu();
void DoCreateTorus();
void DoCreatePcon();
void DoCreatePgon();
void DoCreateHype();
void DoCreateParab();
void DoCreateComposite();
void DoCreateMaterial();
void DoCreateMixture();
void DoCreateMedium();
void DoCreateTranslation();
void DoCreateRotation();
void DoCreateCombi();
void DoCreateVolume();
void DoCreateAssembly();
void DoEditShape();
void DoEditVolume();
void DoEditMedium();
void DoEditMaterial();
void DoEditMatrix();
void DoSelectShape();
void DoSelectShape2();
void DoSelectVolume();
void DoSelectMatrix();
void DoSelectMaterial();
void DoSelectMaterial2();
void DoSelectMedium();
void DoSelectMedium2();
void DoSetTopVolume();
void DoSelectTopVolume();
void DoExportGeometry();
void DoCloseGeometry();
ClassDef(TGeoManagerEditor,0)
};
#endif
Last change: Wed Jun 25 08:44:42 2008
Last generated: 2008-06-25 08:44
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.