155 fApply->
Connect(
"Clicked()",
"TGeoTrd1Editor",
this,
"DoApply()");
156 fUndo->
Connect(
"Clicked()",
"TGeoTrd1Editor",
this,
"DoUndo()");
157 fShapeName->
Connect(
"TextChanged(const char *)",
"TGeoTrd1Editor",
this,
"DoModified()");
158 fEDx1->
Connect(
"ValueSet(Long_t)",
"TGeoTrd1Editor",
this,
"DoDx1()");
159 fEDx2->
Connect(
"ValueSet(Long_t)",
"TGeoTrd1Editor",
this,
"DoDx2()");
160 fEDy->
Connect(
"ValueSet(Long_t)",
"TGeoTrd1Editor",
this,
"DoDy()");
161 fEDz->
Connect(
"ValueSet(Long_t)",
"TGeoTrd1Editor",
this,
"DoDz()");
175 if (obj == 0 || (obj->IsA()!=TGeoTrd1::Class())) {
279 if (dx1<1.e-6 && dx2<1.e-6) {
298 if (dx1<1.e-6 && dx2<1.e-6) {
ULong_t Pixel_t
Pixel value.
include TDocParser_001 C image html pict1_TDocParser_001 png width
R__EXTERN TGeoManager * gGeoManager
virtual TList * GetList() const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
virtual void SetSize(const TGDimension &s)
virtual UInt_t GetDefaultHeight() const
TGDimension GetSize() const
virtual Bool_t IsComposite() const
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void SetNumber(Double_t val)
TGNumberEntryField * GetNumberEntry() const
virtual void Associate(const TGWindow *w)
Make w the window that will receive the generated messages.
void SetNumAttr(EAttribute attr=kNEAAnyNumber)
virtual Double_t GetNumber() const
const char * GetText() const
virtual void SetToolTipText(const char *text, Long_t delayms=500)
Set tool tip text associated with this text entry.
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 MakeTitle(const char *title)
Create attribute frame title.
Common base class for geombuilder editors.
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
TVirtualGeoPainter * GetPainter() const
virtual const char * GetName() const
Get the shape name.
virtual void Draw(Option_t *option="")
Draw this shape.
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hierarchically all daughters of a composite frame.
void DoDx2()
Slot for dx2.
virtual ~TGeoTrd1Editor()
Destructor.
virtual void ConnectSignals2Slots()
Connect signals to slots.
void DoUndo()
Slot for undoing last operation.
void DoDx1()
Slot for dx1.
void DoModified()
Slot for signaling modifications.
void DoApply()
Slot for applying modifications.
virtual void SetModel(TObject *obj)
Connect to the selected object.
TGeoTrd1Editor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor for trd1 editor.
void DoName()
Perform name change.
Bool_t IsDelayed() const
Check if shape drawing is delayed.
A trapezoid with only x length varying with z.
virtual void ComputeBBox()
compute bounding box for a trd1
virtual void SetDimensions(Double_t *param)
set trd1 params in one step :
virtual void SetName(const char *name)
Set the name of the TNamed.
Mother of all ROOT objects.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
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 ShowAxis()=0
virtual Bool_t IsPaintingShape() const =0
virtual TView * GetView() const =0