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