189 fApply->
Connect(
"Clicked()",
"TGeoBBoxEditor",
this,
"DoApply()");
190 fUndo->
Connect(
"Clicked()",
"TGeoBBoxEditor",
this,
"DoUndo()");
191 fShapeName->
Connect(
"TextChanged(const char *)",
"TGeoBBoxEditor",
this,
"DoModified()");
192 fBoxDx->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoDx()");
193 fBoxDy->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoDy()");
194 fBoxDz->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoDz()");
198 fBoxOx->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoOx()");
199 fBoxOy->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoOy()");
200 fBoxOz->
Connect(
"ValueSet(Long_t)",
"TGeoBBoxEditor",
this,
"DoOz()");
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void DoUndo()
Slot for undoing last operation.
void DoDx()
Slot for Dx modification.
void DoOz()
Slot for Oz modification.
Bool_t IsDelayed() const
Check if shape drawing is delayed.
virtual Bool_t IsComposite() const
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)
Set the name of the TNamed.
virtual void SetNumber(Double_t val)
virtual void SetRange(const Double_t *min, const Double_t *max)=0
virtual TList * GetList() const
virtual Double_t GetDY() const
virtual Double_t GetDZ() const
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hirarchically all daughters of a composite frame.
TGNumberEntryField * GetNumberEntry() const
virtual Bool_t IsPaintingShape() const =0
const char * GetText() const
TVirtualGeoPainter * GetPainter() const
virtual void ConnectSignals2Slots()
Connect signals to slots.
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
TGCompositeFrame(const TGCompositeFrame &)
void DoDz()
Slot for Dz modification.
void DoDy()
Slot for Dy modification.
virtual const Double_t * GetOrigin() const
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 DoApply()
Slot for applying current parameters.
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)
void SetBoxDimensions(Double_t dx, Double_t dy, Double_t dz, Double_t *origin=0)
Set parameters of the box.
void DoModified()
Slot for modifying current parameters.
R__EXTERN TGeoManager * gGeoManager
virtual void SetModel(TObject *obj)
Update editor for a new selected box.
TGDimension GetSize() const
virtual TView * GetView() const =0
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Mother of all ROOT objects.
void DoOy()
Slot for Oy modification.
virtual UInt_t GetDefaultHeight() const
double f2(const double *x)
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
TGeoBBoxEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor for volume editor.
void DoName()
Slot for name.
virtual Double_t GetNumber() 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.
void DoOx()
Slot for Ox modification.
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual ~TGeoBBoxEditor()
Destructor.