46 fMinMax(0), fOldMin(0), fOldMax(0),
59 "TEveRGBAPaletteSubEditor",
this,
"DoInterpolate()");
70 "TEveRGBAPaletteSubEditor",
this,
"DoShowDefValue()");
75 "TEveRGBAPaletteSubEditor",
this,
"DoDefaultColor(Pixel_t)");
86 "TEveRGBAPaletteSubEditor",
this,
"DoFixColorRange()");
104 "DoUnderflowAction(Int_t)");
110 "TEveRGBAPaletteSubEditor",
this,
"DoUnderColor(Pixel_t)");
128 "DoOverflowAction(Int_t)");
134 "TEveRGBAPaletteSubEditor",
this,
"DoOverColor(Pixel_t)");
146 "TEveRGBAPaletteSubEditor",
this,
"DoMinMax()");
320 fSE->
Connect(
"Changed()",
"TEveRGBAPaletteEditor",
this,
"Update()");
include TDocParser_001 C image html pict1_TDocParser_001 png width
static ULong_t Number2Pixel(Int_t ci)
Static method that given a color index number, returns the corresponding pixel value.
Composite GUI element for selection of range (label, two number-entries and double-slider).
TGDoubleHSlider * GetSlider()
void SetLimits(Int_t min, Int_t max)
Set limits of the represented range for integer values.
virtual void Build(Bool_t connect=kTRUE)
Create sub-components (label, number entries, double-slider).
void SetValues(Float_t min, Float_t max, Bool_t emit=kFALSE)
Set min/max values, optionally emit signal.
void SetLabelWidth(Int_t w)
void SetNELength(Int_t l)
Editor for TEveRGBAPalette class.
TEveRGBAPaletteEditor(const TEveRGBAPaletteEditor &)
TEveRGBAPaletteSubEditor * fSE
virtual void SetModel(TObject *obj)
Set model object.
Sub-editor for TEveRGBAPalette class.
void DoUnderflowAction(Int_t mode)
Slot for UnderflowAction.
TGComboBox * fOverflowAction
TGComboBox * fUnderflowAction
void DoUnderColor(Pixel_t color)
Slot for UnderColor.
void DoFixColorRange()
Slot for FixColorRange.
void DoOverColor(Pixel_t color)
Slot for OverColor.
void DoShowDefValue()
Slot for ShowDefValue.
void DoDefaultColor(Pixel_t color)
Slot for DefaultColor.
TEveRGBAPaletteSubEditor(const TEveRGBAPaletteSubEditor &)
void DoOverflowAction(Int_t mode)
Slot for OverflowAction.
void DoInterpolate()
Slot for Interpolate.
void Changed()
Emit "Changed()" signal.
TGColorSelect * fUnderColor
TGCheckButton * fShowDefValue
TEveGDoubleValuator * fMinMax
void DoMinMax()
Slot for MinMax.
TGCheckButton * fInterpolate
TGColorSelect * fDefaultColor
TGColorSelect * fOverColor
void SetModel(TEveRGBAPalette *p)
Set model object.
TGCheckButton * fFixColorRange
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
void SetUnderColorPixel(Pixel_t pix)
Set underflow color.
Color_t GetUnderColor() const
void SetInterpolate(Bool_t b)
Set interpolation flag.
Color_t GetOverColor() const
Int_t DoubleToInt(Double_t d) const
void SetShowDefValue(Bool_t v)
Color_t GetDefaultColor() const
void SetDefaultColorPixel(Pixel_t pix)
Set default color.
Double_t IntToDouble(Int_t i) const
void SetUnderflowAction(Int_t a)
void SetOverColorPixel(Pixel_t pix)
Set overflow color.
void SetFixColorRange(Bool_t v)
Set flag specifying how the palette is mapped to signal values: true - LowLimit -> HighLimit false - ...
void SetMinMax(Int_t min, Int_t max)
Set current min/max values.
void MinMaxValChanged()
Emit the "MinMaxValChanged()" signal.
void SetOverflowAction(Int_t a)
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
virtual void AddEntry(TGString *s, Int_t id)
virtual TGListBox * GetListBox() const
virtual void Select(Int_t id, Bool_t emit=kTRUE)
Make the selected item visible in the combo box window and emit signals according to the second param...
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void SetWidth(UInt_t w)
virtual void Resize(UInt_t w, UInt_t h)
Resize the listbox widget.
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.
Int_t Nint(T x)
Round to nearest integer. Rounds half integers to the nearest even integer.
Short_t Max(Short_t a, Short_t b)
Short_t Min(Short_t a, Short_t b)
Double_t Log10(Double_t x)