61 fType->Resize(80, 20);
62 fType->Connect(
"Selected(Int_t)",
"TEveProjectionManagerEditor",
63 this,
"DoType(Int_t)");
75 fDistortion->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
76 this,
"DoDistortion()");
81 fFixR->SetNELength(nel);
82 fFixR->SetLabelWidth(labelW);
85 fFixR->SetToolTip(
"Radius after which scale is kept constant.");
86 fFixR->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
91 fFixZ->SetNELength(nel);
92 fFixZ->SetLabelWidth(labelW);
95 fFixZ->SetToolTip(
"Z-coordinate after which scale is kept constant.");
96 fFixZ->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
105 fPastFixRFac->SetToolTip(
"Relative R-scale beyond FixedR.\nExpressed as 10^x.");
106 fPastFixRFac->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
107 this,
"DoPastFixRFac()");
115 fPastFixZFac->SetToolTip(
"Relative Z-scale beyond FixedZ.\nExpressed as 10^x.");
116 fPastFixZFac->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
117 this,
"DoPastFixZFac()");
125 fCurrentDepth->SetToolTip(
"Z coordinate of incoming projected object.");
126 fCurrentDepth->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
127 this,
"DoCurrentDepth()");
135 fMaxTrackStep->SetToolTip(
"Maximum step between two consecutive track-points to avoid artefacts due to projective distortions.\nTaken into account automatically during projection procedure.");
136 fMaxTrackStep->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
137 this,
"DoMaxTrackStep()");
150 fCenterX->SetToolTip(
"Origin of the projection.");
151 fCenterX->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
160 fCenterY->SetToolTip(
"Origin of the projection.");
161 fCenterY->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
170 fCenterZ->SetToolTip(
"Origin of the projection.");
171 fCenterZ->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
186 fDistortion->SetValue(1000.0f *
fM->GetProjection()->GetDistortion());
187 fFixR->SetValue(
fM->GetProjection()->GetFixR());
188 fFixZ->SetValue(
fM->GetProjection()->GetFixZ());
207 fM->ProjectChildren();
222 fM->GetProjection()->SetDistortion(0.001f *
fDistortion->GetValue());
224 fM->ProjectChildren();
233 fM->GetProjection()->SetFixR(
fFixR->GetValue());
234 fM->ProjectChildren();
243 fM->GetProjection()->SetFixZ(
fFixZ->GetValue());
244 fM->ProjectChildren();
254 fM->ProjectChildren();
264 fM->ProjectChildren();
274 fM->ProjectChildren();
284 fM->ProjectChildren();
ULong_t Pixel_t
Pixel value.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
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 single value selection (supports label, number-entry and slider).
GUI editor for TEveProjectionManager class.
void DoPastFixZFac()
Slot for setting fixed z-coordinate.
void SetModel(TObject *obj) override
Set model object.
TEveGValuator * fMaxTrackStep
TGVerticalFrame * fCenterFrame
void DoCurrentDepth()
Slot for setting current depth.
void DoType(Int_t type)
Slot for setting of projection type.
TEveGValuator * fPastFixZFac
TEveProjectionManagerEditor(const TEveProjectionManagerEditor &)
TEveGValuator * fCurrentDepth
TEveGValuator * fDistortion
void DoMaxTrackStep()
Slot for setting fixed z-coordinate.
void DoCenter()
Slot for setting center of distortion.
TEveProjectionManager * fM
void DoDistortion()
Slot for setting distortion.
TEveGValuator * fPastFixRFac
void DoFixZ()
Slot for setting fixed z-coordinate.
void DoFixR()
Slot for setting fixed radius.
void DoPastFixRFac()
Slot for setting fixed radius.
Manager class for steering of projections and managing projected objects.
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
A composite frame that layout their children in horizontal way.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
A listbox is a box, possibly with scrollbar, containing entries.
void Resize(UInt_t w, UInt_t h) override
Resize the listbox widget.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
TGedFrame(const TGedFrame &)=delete
virtual void MakeTitle(const char *title)
Create attribute frame title.
virtual void Update()
Update the current pad when an attribute is changed via GUI.
Mother of all ROOT objects.