51 fUseTrans->
Connect(
"Toggled(Bool_t)",
"TEveTransSubEditor",
this,
"DoUseTrans()");
54 fEditTrans->
Connect(
"Toggled(Bool_t)",
"TEveTransSubEditor",
this,
"DoEditTrans()");
62 TGFont *font =
gClient->GetFont(
"-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1");
106 fPos ->
Connect(
"ValueSet()",
"TEveTransSubEditor",
this,
"DoTransChanged()");
107 fRot ->
Connect(
"ValueSet()",
"TEveTransSubEditor",
this,
"DoTransChanged()");
108 fScale->
Connect(
"ValueSet()",
"TEveTransSubEditor",
this,
"DoTransChanged()");
116 fUpdate->
Connect(
"Clicked()",
"TEveTransSubEditor",
this,
"TransChanged()");
135 for (
Int_t i=0; i<3; ++i)
190 Emit(
"TransChanged()");
240 fSE->
Connect(
"UseTrans()",
"TEveTransEditor",
this,
"Update()");
241 fSE->
Connect(
"TransChanged()",
"TEveTransEditor",
this,
"Update()");
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
TGNumberEntry * GetEntry()
Composite GUI element for setting three numerical values (label, three number-entries).
void DoUseTrans()
Slot for UseTrans.
void SetLimits(Int_t min, Int_t max)
Set limits for all three number-entries, integer values.
void SetNELength(Int_t l)
void DoTransChanged()
Slot for TransChanged.
void UseTrans()
Emit "UseTrans()" signal.
virtual void SetModel(TObject *obj)
Set model object.
virtual void SetState(Bool_t enable=kTRUE)
Set the active state.
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
virtual void SetTextFont(TGFont *font, Bool_t global=kFALSE)
Changes text font specified by pointer to TGFont object.
virtual void Layout()
Layout the elements of the composite frame.
void SetUseTrans(Bool_t v)
void DoEditTrans()
Slot for EditTrans.
void SetRotByAngles(Float_t a1, Float_t a2, Float_t a3)
constexpr Double_t DegToRad()
void SetValues(Float_t v0, Float_t v1, Float_t v2)
virtual const TGWindow * GetMainFrame() const
Returns top level main frame.
TEveGValuator * GetValuator(Int_t i) const
void Scale(Double_t sx, Double_t sy, Double_t sz)
Scale matrix. Translation part untouched.
TGVerticalFrame * fEditTransFrame
TGCheckButton * fAutoUpdate
void Build(Bool_t vertical, const char *lab0, const char *lab1, const char *lab2)
Create sub-components (label, number entries).
void TransChanged()
Set transformation values from widget and emit "TransChanged()" signal.
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...
Editor for TEveTrans class.
TGCheckButton * fEditTrans
void SetTransFromData()
Set model object from widget data.
TGVerticalFrame(const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
void GetScale(Double_t &sx, Double_t &sy, Double_t &sz) const
Deduce scales from sizes of base vectors.
TEveTransSubEditor(const TEveTransSubEditor &)
void SetPos(Double_t x, Double_t y, Double_t z)
Set position (base-vec 4).
Sub-editor for TEveTrans class.
TEveTransEditor(const TEveTransEditor &)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
void SetModel(TEveTrans *t)
Set model object.
void GetValues(Float_t &v0, Float_t &v1, Float_t &v2) const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
constexpr Double_t RadToDeg()
TEveGTriVecValuator * fScale
virtual void UnmapWindow()
TGCheckButton * fUseTrans
TEveGTriVecValuator * fRot
TGHorizontalFrame * fTopHorFrame
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
virtual void MakeTitle(const char *title)
Create attribute frame title.
void GetRotAngles(Float_t *x) const
Get Cardan rotation angles (pattern xYz above).
TEveGTriVecValuator * fPos
void SetEditTrans(Bool_t v)
void UnitTrans()
Reset matrix to unity.