164 fApply->
Connect(
"Clicked()",
"TGeoHypeEditor",
this,
"DoApply()");
165 fUndo->
Connect(
"Clicked()",
"TGeoHypeEditor",
this,
"DoUndo()");
166 fShapeName->
Connect(
"TextChanged(const char *)",
"TGeoHypeEditor",
this,
"DoModified()");
167 fERin->
Connect(
"ValueSet(Long_t)",
"TGeoHypeEditor",
this,
"DoRin()");
168 fERout->
Connect(
"ValueSet(Long_t)",
"TGeoHypeEditor",
this,
"DoRout()");
169 fEDz->
Connect(
"ValueSet(Long_t)",
"TGeoHypeEditor",
this,
"DoDz()");
170 fEStIn->
Connect(
"ValueSet(Long_t)",
"TGeoHypeEditor",
this,
"DoStIn()");
171 fEStOut->
Connect(
"ValueSet(Long_t)",
"TGeoHypeEditor",
this,
"DoStOut()");
244 if ((dz<=0) || (rin<0) || (rin>rout) ||
245 (rin*rin+tin*tin*dz*dz > rout*rout+tout*tout*dz*dz)) {
338 if (rout < routmin) {
339 rout = routmin+1.e-6;
424 if (tout < toutmin) {
425 tout = toutmin+1.e-6;
void DoApply()
Slot for applying current settings.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
void DoStIn()
Slot for StIn.
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 ConnectSignals2Slots()
Connect signals to slots.
virtual void SetRange(const Double_t *min, const Double_t *max)=0
virtual Bool_t IsPaintingShape() const =0
Short_t Min(Short_t a, Short_t b)
virtual Bool_t IsComposite() const
TGeoHypeEditor(const TGWindow *p=0, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
Constructor for Hype editor.
void DoRin()
Slot for Rin.
void DoModified()
Slot for notifying modifications.
static void Cleanup(TGCompositeFrame *frame)
Static method to cleanup hierarchically all daughters of a composite frame.
virtual Double_t GetRmax() const
Double_t GetStOut() const
virtual void ComputeBBox()
Compute bounding box of the hyperboloid.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
void DoUndo()
Slot for undoing last operation.
virtual void SetActive(Bool_t active=kTRUE)
Set active GUI attribute frames related to the selected object.
constexpr Double_t DegToRad()
Conversion from degree to radian: .
TGCompositeFrame(const TGCompositeFrame &)
virtual TList * GetList() const
virtual TView * GetView() const =0
void DoName()
Slot for name.
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 void SetSize(const TGDimension &s)
virtual void SetDimensions(Double_t *param)
Set dimensions of the hyperboloid starting from an array.
Hyperboloid class defined by 5 parameters.
virtual void ShowAxis()=0
virtual ~TGeoHypeEditor()
Destructor.
virtual Double_t GetDY() const
void SetNumAttr(EAttribute attr=kNEAAnyNumber)
TGDimension GetSize() const
const char * GetText() const
virtual UInt_t GetDefaultHeight() const
R__EXTERN TGeoManager * gGeoManager
virtual Double_t GetNumber() const
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.
Mother of all ROOT objects.
constexpr Double_t RadToDeg()
Conversion from radian to degree: .
virtual void SetModel(TObject *obj)
Connect to the selected object.
Bool_t IsDelayed() const
Check if shape drawing is delayed.
TGNumberEntryField * GetNumberEntry() const
virtual Double_t GetRmin() const
Short_t Max(Short_t a, Short_t b)
virtual void Update()
Override Update from TGedFrame as fGedEditor can be null.
void DoStOut()
Slot for StOut.
Double_t Sqrt(Double_t x)
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.
void DoRout()
Slot for Rout.
virtual Double_t GetDz() const
UInt_t GetDefaultHeight() const
Common base class for geombuilder editors.
virtual Double_t GetDZ() const