50 fUseTrans->
Connect(
"Toggled(Bool_t)",
"TEveTransSubEditor",
this,
"DoUseTrans()");
53 fEditTrans->
Connect(
"Toggled(Bool_t)",
"TEveTransSubEditor",
this,
"DoEditTrans()");
61 TGFont *font =
gClient->GetFont(
"-adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1");
105 fPos ->
Connect(
"ValueSet()",
"TEveTransSubEditor",
this,
"DoTransChanged()");
106 fRot ->
Connect(
"ValueSet()",
"TEveTransSubEditor",
this,
"DoTransChanged()");
107 fScale->
Connect(
"ValueSet()",
"TEveTransSubEditor",
this,
"DoTransChanged()");
115 fUpdate->
Connect(
"Clicked()",
"TEveTransSubEditor",
this,
"TransChanged()");
134 for (
Int_t i=0; i<3; ++i)
189 Emit(
"TransChanged()");
239 fSE->
Connect(
"UseTrans()",
"TEveTransEditor",
this,
"Update()");
240 fSE->
Connect(
"TransChanged()",
"TEveTransEditor",
this,
"Update()");
ULong_t Pixel_t
Pixel value.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Composite GUI element for setting three numerical values (label, three number-entries).
void GetValues(Float_t &v0, Float_t &v1, Float_t &v2) const
void SetLimits(Int_t min, Int_t max)
Set limits for all three number-entries, integer values.
void Build(Bool_t vertical, const char *lab0, const char *lab1, const char *lab2)
Create sub-components (label, number entries).
void SetValues(Float_t v0, Float_t v1, Float_t v2)
void SetNELength(Int_t l)
TEveGValuator * GetValuator(Int_t i) const
TGNumberEntry * GetEntry()
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
Editor for TEveTrans class.
TEveTransEditor(const TEveTransEditor &)
virtual void SetModel(TObject *obj)
Set model object.
Sub-editor for TEveTrans class.
void UseTrans()
Emit "UseTrans()" signal.
void DoUseTrans()
Slot for UseTrans.
TEveGTriVecValuator * fScale
TGHorizontalFrame * fTopHorFrame
TGCheckButton * fUseTrans
void DoEditTrans()
Slot for EditTrans.
void TransChanged()
Set transformation values from widget and emit "TransChanged()" signal.
void SetTransFromData()
Set model object from widget data.
void SetModel(TEveTrans *t)
Set model object.
void DoTransChanged()
Slot for TransChanged.
TGVerticalFrame * fEditTransFrame
TEveGTriVecValuator * fRot
TGCheckButton * fEditTrans
TGCheckButton * fAutoUpdate
TEveTransSubEditor(const TEveTransSubEditor &)
TEveGTriVecValuator * fPos
TEveTrans is a 4x4 transformation matrix for homogeneous coordinates stored internally in a column-ma...
void SetUseTrans(Bool_t v)
void Scale(Double_t sx, Double_t sy, Double_t sz)
Scale matrix. Translation part untouched.
void SetRotByAngles(Float_t a1, Float_t a2, Float_t a3)
void UnitTrans()
Reset matrix to unity.
void SetEditTrans(Bool_t v)
void GetScale(Double_t &sx, Double_t &sy, Double_t &sz) const
Deduce scales from sizes of base vectors.
void GetRotAngles(Float_t *x) const
Get Cardan rotation angles (pattern xYz above).
void SetPos(Double_t x, Double_t y, Double_t z)
Set position (base-vec 4).
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
void Layout() override
Layout the elements of the composite frame.
Encapsulate fonts used in the GUI system.
void MapWindow() override
map window
void UnmapWindow() override
unmap window
A composite frame that layout their children in horizontal way.
This class handles GUI labels.
virtual void SetTextFont(TGFont *font, Bool_t global=kFALSE)
Changes text font specified by pointer to TGFont object.
This class describes layout hints used by the layout classes.
Defines top level windows that interact with the system Window Manager.
virtual void SetState(Bool_t enable=kTRUE)
Set the active state.
Yield an action as soon as it is clicked.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
virtual const TGWindow * GetMainFrame() const
Returns top level main frame.
Base frame for implementing GUI - a service class.
virtual void MakeTitle(const char *title)
Create attribute frame title.
Mother of all ROOT objects.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
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.
constexpr Double_t DegToRad()
Conversion from degree to radian: .
constexpr Double_t RadToDeg()
Conversion from radian to degree: .