11 #ifndef ROOT_TGeoTrapEditor
12 #define ROOT_TGeoTrapEditor
27 class TGeoTrapEditor :
public TGeoGedFrame {
42 Bool_t fIsShapeEditable;
44 TGTextEntry *fShapeName;
51 TGNumberEntry *fEAlpha1;
52 TGNumberEntry *fETheta;
53 TGNumberEntry *fEPhi ;
56 TGCompositeFrame *fBFrame;
57 TGCheckButton *fDelayed;
58 TGCompositeFrame *fDFrame;
60 virtual void ConnectSignals2Slots();
61 Bool_t IsDelayed()
const;
64 TGeoTrapEditor(
const TGWindow *p = 0,
65 Int_t width = 140, Int_t height = 30,
66 UInt_t options = kChildFrame,
67 Pixel_t back = GetDefaultFrameBackground());
68 virtual ~TGeoTrapEditor();
69 virtual void SetModel(TObject *obj);
82 virtual void DoApply();
83 virtual void DoUndo();
85 ClassDef(TGeoTrapEditor,0)
88 class TGeoGtraEditor :
public TGeoTrapEditor {
93 TGNumberEntry *fETwist;
96 TGeoGtraEditor(
const TGWindow *p = 0,
97 Int_t width = 140, Int_t height = 30,
98 UInt_t options = kChildFrame,
99 Pixel_t back = GetDefaultFrameBackground());
100 virtual ~TGeoGtraEditor();
101 virtual void SetModel(TObject *obj);
104 virtual void DoApply();
105 virtual void DoUndo();
107 ClassDef(TGeoGtraEditor,0)