12 #ifndef ROOT_TEveGValuators
13 #define ROOT_TEveGValuators
167 void Build(
Bool_t vertical,
const char* lab0,
const char* lab1,
const char* lab2);
void SetValue(Int_t i, Float_t v)
TGNumberEntry * GetEntry()
void SetLabelWidth(Int_t w)
Composite GUI element for setting three numerical values (label, three number-entries).
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
void MaxEntryCallback()
Callback for change in high number-entry.
void SetLimits(Int_t min, Int_t max)
Set limits for all three number-entries, integer values.
void SetNELength(Int_t l)
void ValueSet()
Emit "ValueSet()" signal.
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
TGNumberEntry * GetMinEntry()
Float_t GetLimitMax() const
void GetLimits(Float_t &min, Float_t &max) const
void SliderCallback()
Callback for change in slider position.
void GetValues(Float_t v[3]) const
void SetLimits(Int_t min, Int_t max)
Set limits of the represented range for integer values.
TEveGValuator * GetValuator(Int_t i) const
virtual void Build(Bool_t connect=kTRUE)=0
void SetToolTip(const char *tip)
Set the tooltip of the number-entry.
void SetAlignRight(Bool_t a)
Float_t GetLimitMin() const
void GetValues(Float_t &v0, Float_t &v1, Float_t &v2) const
TGDoubleHSlider * GetSlider()
TGNumberEntry * fMinEntry
Composite GUI element for single value selection (supports label, number-entry and slider)...
void SetSliderNewLine(Bool_t nl)
void SliderCallback()
Callback for change in slider position / width.
void SetValues(Float_t v0, Float_t v1, Float_t v2)
virtual Double_t GetNumMin() const
TEveGTriVecValuator & operator=(const TEveGTriVecValuator &)
void Build(Bool_t vertical, const char *lab0, const char *lab1, const char *lab2)
Create sub-components (label, number entries).
void SetNEHeight(Int_t h)
void SetNEHeight(Int_t h)
TEveGDoubleValuator & operator=(const TEveGDoubleValuator &)
TEveGValuator(const TEveGValuator &)
virtual ~TEveGTriVecValuator()
void GetValues(Float_t &min, Float_t &max) const
void SetShowSlider(Bool_t s=kTRUE)
void ValueSet(Double_t)
Emit "ValueSet(Double_t)" signal.
virtual ~TEveGDoubleValuator()
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
void SetNELength(Int_t l)
TGNumberEntry * fMaxEntry
void ValueSet()
Emit "ValueSet()" signal.
Base class for composite GUI elements for setting of numeric values.
virtual ~TEveGValuatorBase()
void SetEnabled(Bool_t state)
Set enabled state of the whole widget.
ClassDef(TEveGTriVecValuator, 0)
Float_t GetLimitMin() const
virtual Double_t GetNumMax() const
TEveGValuatorBase(const TEveGValuatorBase &)
void SetValues(Double_t v[3])
void SetValues(Float_t v[3])
void SetValues(Float_t min, Float_t max, Bool_t emit=kFALSE)
Set min/max values, optionally emit signal.
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entry, slider).
void GetValues(Double_t v[3]) const
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entries, double-slider).
TEveGValuatorBase & operator=(const TEveGValuatorBase &)
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
ClassDef(TEveGDoubleValuator, 0)
ClassDef(TEveGValuatorBase, 0)
Float_t GetValue(Int_t i) const
Int_t CalcSliderPos(Float_t v)
Return slider position for given value.
void EntryCallback()
Callback for change in number-entry.
void SetLabelWidth(Int_t w)
TEveGDoubleValuator(const TEveGDoubleValuator &)
TGDoubleHSlider * fSlider
TEveGTriVecValuator(const TEveGTriVecValuator &)
virtual Double_t GetNumber() const
Composite GUI element for selection of range (label, two number-entries and double-slider).
ClassDef(TEveGValuator, 0)
void SetLimits(Int_t min, Int_t max)
Set limits of the represented value for integer values.
TEveGValuator & operator=(const TEveGValuator &)
Float_t GetLimitMax() const
TGNumberEntry * GetMaxEntry()
void MinEntryCallback()
Callback for change in low number-entry.