45 kPARA_NAME, kPARA_X, kPARA_Y, kPARA_Z, kPARA_ALPHA,
46 kPARA_THETA, kPARA_PHI, kPARA_APPLY, kPARA_UNDO
114 nef->
SetToolTipText(
"Enter the angle with respect to Y axis [deg]");
126 nef->
SetToolTipText(
"Enter the theta angle of the para axis [deg]");
138 nef->
SetToolTipText(
"Enter the phi angle of the para axis [deg]");
180 fApply->
Connect(
"Clicked()",
"TGeoParaEditor",
this,
"DoApply()");
181 fUndo->
Connect(
"Clicked()",
"TGeoParaEditor",
this,
"DoUndo()");
182 fShapeName->
Connect(
"TextChanged(const char *)",
"TGeoParaEditor",
this,
"DoModified()");
183 fEDx->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoX()");
184 fEDy->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoY()");
185 fEDz->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoZ()");
186 fEAlpha->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoAlpha()");
187 fETheta->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoTheta()");
188 fEPhi->
Connect(
"ValueSet(Long_t)",
"TGeoParaEditor",
this,
"DoPhi()");
393 if (phi<0 || phi>360) {
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
ClassImp(TGeoParaEditor) enum ETGeoParaWid
void DoModified()
Slot for notifying modifications.
virtual void SetDimensions(Double_t *param)
Set dimensions starting from an array.
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
virtual Bool_t IsComposite() const
void DoApply()
Slot for applying current settings.
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
virtual void SetName(const char *name)
Change (i.e.
virtual void SetNumber(Double_t val)
virtual ~TGeoParaEditor()
Destructor.
virtual void SetRange(const Double_t *min, const Double_t *max)=0
void DoPhi()
Slot for phi.
virtual Bool_t IsPaintingShape() const =0
virtual TList * GetList() const
void DoUndo()
Slot for undoing last operation.
virtual Double_t GetDY() const
void DoAlpha()
Slot for alpha.
virtual Double_t GetDZ() const
virtual void ComputeBBox()
compute bounding box
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hirarchically all daughters of a composite frame.
TGNumberEntryField * GetNumberEntry() const
Bool_t IsDelayed() const
Check if shape drawing is delayed.
Double_t GetAlpha() const
const char * GetText() const
TVirtualGeoPainter * GetPainter() const
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
TGCompositeFrame(const TGCompositeFrame &)
Double_t GetTheta() const
virtual TView * GetView() const =0
TGeoParaEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor for para editor.
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
virtual void Associate(const TGWindow *w)
Make w the window that will receive the generated messages.
virtual Double_t GetDX() const
virtual void SetSize(const TGDimension &s)
void DoTheta()
Slot for theta.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual void ShowAxis()=0
virtual const char * GetName() const
Get the shape name.
void SetNumAttr(EAttribute attr=kNEAAnyNumber)
virtual void SetModel(TObject *obj)
Connect to the selected object.
R__EXTERN TGeoManager * gGeoManager
TGDimension GetSize() const
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Mother of all ROOT objects.
virtual UInt_t GetDefaultHeight() const
void DoName()
Slot for name.
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
virtual Double_t GetNumber() const
UInt_t GetDefaultHeight() const
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line...
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
virtual void Draw(Option_t *option="")
Draw this shape.
virtual void MakeTitle(const char *title)
Create attribute frame title.