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()");
include TDocParser_001 C image html pict1_TDocParser_001 png width
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=0)
Add frame to the composite frame using the specified layout hints.
virtual void Layout()
Layout the elements of the composite frame.
virtual void MapWindow()
map window
virtual void UnmapWindow()
unmap window
virtual void SetTextFont(TGFont *font, Bool_t global=kFALSE)
Changes text font specified by pointer to TGFont object.
virtual void SetState(Bool_t enable=kTRUE)
Set the active state.
TGVerticalFrame(const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual const TGWindow * GetMainFrame() const
Returns top level main frame.
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: