44 fMinMax(0), fOldMin(0), fOldMax(0),
57 "TEveRGBAPaletteSubEditor",
this,
"DoInterpolate()");
68 "TEveRGBAPaletteSubEditor",
this,
"DoShowDefValue()");
73 "TEveRGBAPaletteSubEditor",
this,
"DoDefaultColor(Pixel_t)");
84 "TEveRGBAPaletteSubEditor",
this,
"DoFixColorRange()");
102 "DoUnderflowAction(Int_t)");
108 "TEveRGBAPaletteSubEditor",
this,
"DoUnderColor(Pixel_t)");
126 "DoOverflowAction(Int_t)");
132 "TEveRGBAPaletteSubEditor",
this,
"DoOverColor(Pixel_t)");
144 "TEveRGBAPaletteSubEditor",
this,
"DoMinMax()");
318 fSE->
Connect(
"Changed()",
"TEveRGBAPaletteEditor",
this,
"Update()");
ULong_t Pixel_t
Pixel value.
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)
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
void SetColor(Pixel_t color, Bool_t emit=kTRUE)
Set color.
A combobox (also known as a drop down listbox) allows the selection of one item out of a list of item...
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)
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.
virtual void Resize(UInt_t w, UInt_t h)
Resize the listbox widget.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.
Base frame for implementing GUI - a service class.
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)