59 fENedges->
Connect(
"ValueSet(Long_t)",
"TGeoPgonEditor",
this,
"DoNedges()");
136 for (isect=0; isect<nz; isect++) {
138 array[4+3*isect] = sect->
GetZ();
139 array[5+3*isect] = sect->
GetRmin();
140 array[6+3*isect] = sect->
GetRmax();
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
ClassImp(TGeoPgonEditor) enum ETGeoPgonWid
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
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)
Change (i.e.
Double_t GetRmin() const
Rmin value getter.
virtual void SetNumber(Double_t val)
Double_t GetZ() const
Z value getter.
virtual void SetRange(const Double_t *min, const Double_t *max)=0
Double_t & Rmin(Int_t ipl)
virtual Bool_t IsPaintingShape() const =0
virtual TList * GetList() const
void DoNedges()
Change number of edges.
void CreateSections(Int_t inew)
Change dynamically the number of sections.
TGCompositeFrame * fBFrame
virtual Double_t GetDY() const
virtual void DoUndo()
Slot for undoing last operation.
virtual Double_t GetDZ() const
Double_t GetRmax() const
Rmax value getter.
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hirarchically all daughters of a composite frame.
virtual void DoUndo()
Slot for undoing last operation.
TGNumberEntryField * GetNumberEntry() 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 &)
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 const Double_t * GetOrigin() const
virtual TView * GetView() const =0
Bool_t CheckSections(Bool_t change=kFALSE)
Check validity of sections.
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 ~TGeoPgonEditor()
Destructor.
void SetNumStyle(EStyle style)
virtual const char * ClassName() const
Returns name of class to which the object belongs.
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 const char * GetName() const
Get the shape name.
void SetNumAttr(EAttribute attr=kNEAAnyNumber)
R__EXTERN TGeoManager * gGeoManager
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.
virtual void SetModel(TObject *obj)
Connect to a given pcon.
Mother of all ROOT objects.
virtual void SetDimensions(Double_t *param)
Set PGON dimensions starting from an array.
TGeoPgonEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor for polycone editor.
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
void DoModified()
Slot for signaling modifications.
virtual Long_t GetIntNumber() const
virtual Double_t GetNumber() const
Double_t & Rmax(Int_t ipl)
UInt_t GetDefaultHeight() const
TObject * At(Int_t idx) 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...
Bool_t IsDelayed() const
Check if shape drawing is delayed.
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.