#ifndef ROOT_TGeoTubeEditor
#define ROOT_TGeoTubeEditor
#ifndef ROOT_TGButton
#include "TGWidget.h"
#endif
#ifndef ROOT_TGeoGedFrame
#include "TGeoGedFrame.h"
#endif
class TGeoTube;
class TGeoTabManager;
class TGTextEntry;
class TGNumberEntry;
class TGTab;
class TGComboBox;
class TGTextButton;
class TGCheckButton;
class TString;
class TGeoTubeEditor : public TGeoGedFrame {
protected:
Double_t fRmini;
Double_t fRmaxi;
Double_t fDzi;
TString fNamei;
TGeoTube *fShape;
Bool_t fIsModified;
Bool_t fIsShapeEditable;
TGTextEntry *fShapeName;
TGNumberEntry *fERmin;
TGNumberEntry *fERmax;
TGNumberEntry *fEDz;
TGTextButton *fApply;
TGTextButton *fUndo;
TGCompositeFrame *fBFrame;
TGCheckButton *fDelayed;
TGCompositeFrame *fDFrame;
virtual void ConnectSignals2Slots();
Bool_t IsDelayed() const;
public:
TGeoTubeEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGeoTubeEditor();
virtual void SetModel(TObject *obj);
void DoRmin();
void DoRmax();
void DoDz();
void DoModified();
void DoName();
virtual void DoApply();
virtual void DoUndo();
ClassDef(TGeoTubeEditor,0)
};
class TGDoubleVSlider;
class TGeoTubeSegEditor : public TGeoTubeEditor {
protected:
Bool_t fLock;
Double_t fPmini;
Double_t fPmaxi;
TGDoubleVSlider *fSPhi;
TGNumberEntry *fEPhi1;
TGNumberEntry *fEPhi2;
virtual void ConnectSignals2Slots();
public:
TGeoTubeSegEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGeoTubeSegEditor();
virtual void SetModel(TObject *obj);
void DoPhi();
void DoPhi1();
void DoPhi2();
virtual void DoApply();
virtual void DoUndo();
ClassDef(TGeoTubeSegEditor,0)
};
class TGeoCtubEditor : public TGeoTubeSegEditor {
protected:
Double_t fThlo;
Double_t fPhlo;
Double_t fThhi;
Double_t fPhhi;
TGNumberEntry *fEThlo;
TGNumberEntry *fEPhlo;
TGNumberEntry *fEThhi;
TGNumberEntry *fEPhhi;
public:
TGeoCtubEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGeoCtubEditor();
virtual void SetModel(TObject *obj);
void DoThlo();
void DoPhlo();
void DoThhi();
void DoPhhi();
virtual void DoApply();
virtual void DoUndo();
ClassDef(TGeoCtubEditor,0)
};
#endif
Last change: Wed Jun 25 08:45:50 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.