11 #ifndef ROOT_TGeoTubeEditor
12 #define ROOT_TGeoTubeEditor
27 class TGeoTubeEditor :
public TGeoGedFrame {
37 Bool_t fIsShapeEditable;
39 TGTextEntry *fShapeName;
40 TGNumberEntry *fERmin;
41 TGNumberEntry *fERmax;
45 TGCompositeFrame *fBFrame;
46 TGCheckButton *fDelayed;
47 TGCompositeFrame *fDFrame;
49 virtual void ConnectSignals2Slots();
50 Bool_t IsDelayed()
const;
53 TGeoTubeEditor(
const TGWindow *p = 0,
54 Int_t width = 140, Int_t height = 30,
55 UInt_t options = kChildFrame,
56 Pixel_t back = GetDefaultFrameBackground());
57 virtual ~TGeoTubeEditor();
58 virtual void SetModel(TObject *obj);
65 virtual void DoApply();
66 virtual void DoUndo();
68 ClassDef(TGeoTubeEditor,0)
72 class TGDoubleVSlider;
74 class TGeoTubeSegEditor :
public TGeoTubeEditor {
81 TGDoubleVSlider *fSPhi;
82 TGNumberEntry *fEPhi1;
83 TGNumberEntry *fEPhi2;
85 virtual void ConnectSignals2Slots();
88 TGeoTubeSegEditor(
const TGWindow *p = 0,
89 Int_t width = 140, Int_t height = 30,
90 UInt_t options = kChildFrame,
91 Pixel_t back = GetDefaultFrameBackground());
92 virtual ~TGeoTubeSegEditor();
93 virtual void SetModel(TObject *obj);
98 virtual void DoApply();
99 virtual void DoUndo();
101 ClassDef(TGeoTubeSegEditor,0)
104 class TGeoCtubEditor :
public TGeoTubeSegEditor {
111 TGNumberEntry *fEThlo;
112 TGNumberEntry *fEPhlo;
113 TGNumberEntry *fEThhi;
114 TGNumberEntry *fEPhhi;
117 TGeoCtubEditor(
const TGWindow *p = 0,
118 Int_t width = 140, Int_t height = 30,
119 UInt_t options = kChildFrame,
120 Pixel_t back = GetDefaultFrameBackground());
121 virtual ~TGeoCtubEditor();
122 virtual void SetModel(TObject *obj);
128 virtual void DoApply();
129 virtual void DoUndo();
131 ClassDef(TGeoCtubEditor,0)