#ifndef ROOT_TGeoTrapEditor
#define ROOT_TGeoTrapEditor
#ifndef ROOT_TGButton
#include "TGWidget.h"
#endif
#ifndef ROOT_TGeoGedFrame
#include "TGeoGedFrame.h"
#endif
class TGeoTrap;
class TGeoTabManager;
class TGTextEntry;
class TGNumberEntry;
class TGTab;
class TGComboBox;
class TGTextButton;
class TGCheckButton;
class TString;
class TGeoTrapEditor : public TGeoGedFrame {
protected:
Double_t fH1i;
Double_t fBl1i;
Double_t fTl1i;
Double_t fDzi;
Double_t fSci;
Double_t fAlpha1i;
Double_t fThetai;
Double_t fPhii;
TString fNamei;
TGeoTrap *fShape;
Bool_t fIsModified;
Bool_t fIsShapeEditable;
TGTextEntry *fShapeName;
TGNumberEntry *fEH1;
TGNumberEntry *fEBl1;
TGNumberEntry *fETl1;
TGNumberEntry *fESc1;
TGNumberEntry *fESc2;
TGNumberEntry *fEDz;
TGNumberEntry *fEAlpha1;
TGNumberEntry *fETheta;
TGNumberEntry *fEPhi ;
TGTextButton *fApply;
TGTextButton *fUndo;
TGCompositeFrame *fBFrame;
TGCheckButton *fDelayed;
TGCompositeFrame *fDFrame;
virtual void ConnectSignals2Slots();
Bool_t IsDelayed() const;
public:
TGeoTrapEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGeoTrapEditor();
virtual void SetModel(TObject *obj);
void DoH1();
void DoBl1();
void DoTl1();
void DoDz();
void DoSc1();
void DoSc2();
void DoAlpha1();
void DoTheta();
void DoPhi();
void DoModified();
void DoName();
virtual void DoApply();
virtual void DoUndo();
ClassDef(TGeoTrapEditor,0)
};
class TGeoGtraEditor : public TGeoTrapEditor {
protected:
Double_t fTwisti;
TGNumberEntry *fETwist;
public:
TGeoGtraEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGeoGtraEditor();
virtual void SetModel(TObject *obj);
void DoTwist();
virtual void DoApply();
virtual void DoUndo();
ClassDef(TGeoGtraEditor,0)
};
#endif
Last change: Wed Jun 25 08:45:42 2008
Last generated: 2008-06-25 08:45
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.