60 fType->Resize(80, 20);
61 fType->Connect(
"Selected(Int_t)",
"TEveProjectionManagerEditor",
62 this,
"DoType(Int_t)");
74 fDistortion->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
75 this,
"DoDistortion()");
80 fFixR->SetNELength(nel);
81 fFixR->SetLabelWidth(labelW);
84 fFixR->SetToolTip(
"Radius after which scale is kept constant.");
85 fFixR->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
90 fFixZ->SetNELength(nel);
91 fFixZ->SetLabelWidth(labelW);
94 fFixZ->SetToolTip(
"Z-coordinate after which scale is kept constant.");
95 fFixZ->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
104 fPastFixRFac->SetToolTip(
"Relative R-scale beyond FixedR.\nExpressed as 10^x.");
105 fPastFixRFac->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
106 this,
"DoPastFixRFac()");
114 fPastFixZFac->SetToolTip(
"Relative Z-scale beyond FixedZ.\nExpressed as 10^x.");
115 fPastFixZFac->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
116 this,
"DoPastFixZFac()");
124 fCurrentDepth->SetToolTip(
"Z coordinate of incoming projected object.");
125 fCurrentDepth->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
126 this,
"DoCurrentDepth()");
134 fMaxTrackStep->SetToolTip(
"Maximum step between two consecutive track-points to avoid artefacts due to projective distortions.\nTaken into account automatically during projection procedure.");
135 fMaxTrackStep->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
136 this,
"DoMaxTrackStep()");
149 fCenterX->SetToolTip(
"Origin of the projection.");
150 fCenterX->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
159 fCenterY->SetToolTip(
"Origin of the projection.");
160 fCenterY->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
169 fCenterZ->SetToolTip(
"Origin of the projection.");
170 fCenterZ->Connect(
"ValueSet(Double_t)",
"TEveProjectionManagerEditor",
185 fDistortion->SetValue(1000.0f *
fM->GetProjection()->GetDistortion());
186 fFixR->SetValue(
fM->GetProjection()->GetFixR());
187 fFixZ->SetValue(
fM->GetProjection()->GetFixZ());
206 fM->ProjectChildren();
221 fM->GetProjection()->SetDistortion(0.001f *
fDistortion->GetValue());
223 fM->ProjectChildren();
232 fM->GetProjection()->SetFixR(
fFixR->GetValue());
233 fM->ProjectChildren();
242 fM->GetProjection()->SetFixZ(
fFixZ->GetValue());
243 fM->ProjectChildren();
253 fM->ProjectChildren();
263 fM->ProjectChildren();
273 fM->ProjectChildren();
283 fM->ProjectChildren();
ULong_t Pixel_t
Pixel value.
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
Composite GUI element for single value selection (supports label, number-entry and slider).
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.