#ifndef ROOT_TGeoTranslationEditor
#define ROOT_TGeoTranslationEditor
#ifndef ROOT_TGButton
#include "TGWidget.h"
#endif
#ifndef ROOT_TGeoGedFrame
#include "TGeoGedFrame.h"
#endif
class TGeoTranslation;
class TGeoRotation;
class TGeoCombiTrans;
class TGTextEntry;
class TGNumberEntry;
class TGTab;
class TGComboBox;
class TGTextButton;
class TGRadioButton;
class TString;
class TGeoTranslationEditor : public TGeoGedFrame {
protected:
Double_t fDxi;
Double_t fDyi;
Double_t fDzi;
TString fNamei;
TGeoTranslation *fTranslation;
Bool_t fIsModified;
Bool_t fIsEditable;
TGTextEntry *fTransName;
TGNumberEntry *fTransDx;
TGNumberEntry *fTransDy;
TGNumberEntry *fTransDz;
TGTextButton *fApply;
TGTextButton *fCancel;
TGTextButton *fUndo;
virtual void ConnectSignals2Slots();
public:
TGeoTranslationEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGeoTranslationEditor();
virtual void SetModel(TObject *obj);
void DoDx();
void DoDy();
void DoDz();
void DoModified();
void DoName();
Bool_t DoParameters();
void DoApply();
void DoCancel();
void DoUndo();
ClassDef(TGeoTranslationEditor,0)
};
class TGeoRotationEditor : public TGeoGedFrame {
protected:
Double_t fPhii;
Double_t fThetai;
Double_t fPsii;
Double_t fAngleX;
Double_t fAngleY;
Double_t fAngleZ;
TString fNamei;
TGeoRotation *fRotation;
Bool_t fIsModified;
Bool_t fIsEditable;
TGTextEntry *fRotName;
TGNumberEntry *fRotPhi;
TGNumberEntry *fRotTheta;
TGNumberEntry *fRotPsi;
TGNumberEntry *fRotAxis;
TGRadioButton *fRotX;
TGRadioButton *fRotY;
TGRadioButton *fRotZ;
TGTextButton *fApply;
TGTextButton *fCancel;
TGTextButton *fUndo;
virtual void ConnectSignals2Slots();
public:
TGeoRotationEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGeoRotationEditor();
virtual void SetModel(TObject *obj);
void DoRotPhi();
void DoRotTheta();
void DoRotPsi();
void DoRotAngle();
void DoModified();
void DoName();
Bool_t DoParameters();
void DoApply();
void DoCancel();
void DoUndo();
ClassDef(TGeoRotationEditor,0)
};
class TGeoCombiTransEditor : public TGeoGedFrame {
protected:
Double_t fDxi;
Double_t fDyi;
Double_t fDzi;
Double_t fPhii;
Double_t fThetai;
Double_t fPsii;
Double_t fAngleX;
Double_t fAngleY;
Double_t fAngleZ;
TString fNamei;
TGeoCombiTrans *fCombi;
Bool_t fIsModified;
Bool_t fIsEditable;
TGTextEntry *fRotName;
TGNumberEntry *fTransDx;
TGNumberEntry *fTransDy;
TGNumberEntry *fTransDz;
TGNumberEntry *fRotPhi;
TGNumberEntry *fRotTheta;
TGNumberEntry *fRotPsi;
TGNumberEntry *fRotAxis;
TGRadioButton *fRotX;
TGRadioButton *fRotY;
TGRadioButton *fRotZ;
TGTextButton *fApply;
TGTextButton *fCancel;
TGTextButton *fUndo;
virtual void ConnectSignals2Slots();
public:
TGeoCombiTransEditor(const TGWindow *p = 0,
Int_t width = 140, Int_t height = 30,
UInt_t options = kChildFrame,
Pixel_t back = GetDefaultFrameBackground());
virtual ~TGeoCombiTransEditor();
virtual void SetModel(TObject *obj);
void DoDx();
void DoDy();
void DoDz();
void DoRotPhi();
void DoRotTheta();
void DoRotPsi();
void DoRotAngle();
void DoModified();
void DoName();
Bool_t DoParameters();
void DoApply();
void DoCancel();
void DoUndo();
ClassDef(TGeoCombiTransEditor,0)
};
#endif
Last change: Wed Jun 25 08:45:39 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.