54 fENedges->
Connect(
"ValueSet(Long_t)",
"TGeoPgonEditor",
this,
"DoNedges()");
131 for (isect=0; isect<nz; isect++) {
133 array[4+3*isect] = sect->
GetZ();
134 array[5+3*isect] = sect->
GetRmin();
135 array[6+3*isect] = sect->
GetRmax();
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual Double_t GetDX() const
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
TVirtualGeoPainter * GetPainter() 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
Double_t & Rmin(Int_t ipl)
virtual Bool_t IsPaintingShape() const =0
void DoNedges()
Change number of edges.
void CreateSections(Int_t inew)
Change dynamically the number of sections.
TGCompositeFrame * fBFrame
virtual Bool_t IsComposite() const
TObject * At(Int_t idx) const
virtual void DoUndo()
Slot for undoing last operation.
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hierarchically all daughters of a composite frame.
virtual void DoUndo()
Slot for undoing last operation.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
Double_t GetRmin() const
Rmin value getter.
virtual Long_t GetIntNumber() const
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
TGCompositeFrame(const TGCompositeFrame &)
virtual void DoApply()
Slot for applying modifications.
virtual void ComputeBBox()
compute bounding box for a polygone Check if the sections are in increasing Z order ...
virtual TList * GetList() const
virtual TView * GetView() const =0
Bool_t CheckSections(Bool_t change=kFALSE)
Check validity of sections.
virtual const char * GetName() const
Get the shape name.
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 ~TGeoPgonEditor()
Destructor.
void SetNumStyle(EStyle style)
Double_t GetRmax() const
Rmax value getter.
virtual const Double_t * GetOrigin() const
void UpdateSections()
Update sections according fShape.
virtual void ShowAxis()=0
static void MoveFrame(TGCompositeFrame *fr, TGCompositeFrame *p)
Move frame fr at the end of the list of parent p.
virtual Double_t GetDY() const
void SetNumAttr(EAttribute attr=kNEAAnyNumber)
Bool_t IsDelayed() const
Check if shape drawing is delayed.
const char * GetText() const
R__EXTERN TGeoManager * gGeoManager
virtual Double_t GetNumber() const
virtual void ConnectSignals2Slots()
Connect signals to slots.
Utility frame used by TGeoPcon editor.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void SetModel(TObject *obj)
Connect to a given pgon.
Mother of all ROOT objects.
virtual void SetDimensions(Double_t *param)
Set PGON dimensions starting from an array.
TGNumberEntryField * GetNumberEntry() const
TGeoPgonEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor for polygone editor.
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
void DoModified()
Slot for signaling modifications.
Double_t & Rmax(Int_t ipl)
Double_t GetZ() const
Z value getter.
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.
TGCompositeFrame * fDFrame
virtual void CreateEdges()
Create number entry for Nedges.
UInt_t GetDefaultHeight() const
virtual Double_t GetDZ() const