12 #ifndef ROOT_TGeoVolumeEditor
13 #define ROOT_TGeoVolumeEditor
29 class TGPictureButton;
36 class TGeoVolumeEditor :
public TGeoGedFrame {
40 TGeoManager *fGeometry;
45 TGShutter *fCategories;
46 TGTextEntry *fVolumeName;
47 TGeoShape *fSelectedShape;
49 TGPictureButton *fBSelShape;
50 TGeoMedium *fSelectedMedium;
52 TGPictureButton *fBSelMedium;
53 TGeoVolume *fSelectedVolume;
55 TGPictureButton *fBSelVolume;
56 TGeoMatrix *fSelectedMatrix;
58 TGPictureButton *fBSelMatrix;
59 TGNumberEntry *fCopyNumber;
60 TGTextButton *fAddNode;
61 TGTextButton *fEditShape;
62 TGTextButton *fEditMedium;
63 TGComboBox *fNodeList;
64 TGTextButton *fEditMatrix;
65 TGTextButton *fRemoveNode;
66 TGCheckButton *fBVis[2];
67 TGRadioButton *fBView[3];
68 TGCheckButton *fBRaytrace;
69 TGCheckButton *fBAuto;
70 TGNumberEntry *fEVisLevel;
71 TGTextButton *fApplyDiv;
72 TGTextEntry *fDivName;
73 TGRadioButton *fBDiv[3];
74 TGNumberEntry *fEDivFrom;
75 TGNumberEntry *fEDivStep;
76 TGNumberEntry *fEDivN;
78 virtual void ConnectSignals2Slots();
81 TGeoVolumeEditor(
const TGWindow *p = 0,
82 Int_t width = 140, Int_t height = 30,
83 UInt_t options = kChildFrame,
84 Pixel_t back = GetDefaultFrameBackground());
85 virtual ~TGeoVolumeEditor();
86 virtual void SetModel(TObject *obj);
87 virtual void ActivateBaseClassEditors(TClass* cl);
92 void DoSelectMedium();
93 void DoSelectMatrix();
94 void DoSelectVolume();
100 void DoVisDaughters();
114 ClassDef(TGeoVolumeEditor,0)