12 #ifndef ROOT_TEveRGBAPalette 13 #define ROOT_TEveRGBAPalette 210 pix[0] = c[0]; pix[1] = c[1]; pix[2] = c[2];
211 if (alpha) pix[3] = c[3];
void SetUnderColor(Color_t ci)
Set underflow color.
Int_t GetUnderflowAction() const
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
Bool_t GetInterpolate() const
void SetUnderColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set underflow color.
Double_t IntToDouble(Int_t i) const
This is the ROOT implementation of the Qt object communication mechanism (see also http://www...
Description of TEveRGBAPaletteOverlay.
void SetOverColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set overflow color.
void SetOverflowAction(Int_t a)
void ClearColorArray()
Clear internal color array.
#define ClassDef(name, id)
void SetFixColorRange(Bool_t v)
Set flag specifying how the palette is mapped to signal values: true - LowLimit -> HighLimit false - ...
const UChar_t * GetUnderRGBA() const
Color_t * PtrUnderColor()
void SetLimitsScaleMinMax(Int_t low, Int_t high)
Set low/high limits and rescale current min/max values.
void SetDefaultColorPixel(Pixel_t pix)
Set default color.
const UChar_t * ColorFromValue(Int_t val) const
void SetupColorArray() const
Construct internal color array that maps signal value to RGBA color.
Bool_t GetFixColorRange() const
void SetDefaultColor(Color_t ci)
Set default color.
Sub-editor for TEveRGBAPalette class.
void SetMin(Int_t min)
Set current min value.
void SetShowDefValue(Bool_t v)
void SetMinMax(Int_t min, Int_t max)
Set current min/max values.
Color_t GetDefaultColor() const
Base-class for reference-counted objects.
void SetMax(Int_t max)
Set current max value.
void SetOverColor(Color_t ci)
Set overflow color.
Color_t GetUnderColor() const
Int_t GetLowLimit() const
Editor for TEveRGBAPalette class.
Int_t GetHighLimit() const
Color_t GetOverColor() const
TEveRGBAPalette & operator=(const TEveRGBAPalette &)
void SetUIDoubleRep(Bool_t b, Double_t f=1, Double_t c=0)
Set flag determining whether GUI editor and overlays should show limits and axis values as real value...
Int_t GetOverflowAction() const
Bool_t GetUIDoubleRep() const
Double_t GetCAMaxAsDouble() const
Mother of all ROOT objects.
const UChar_t * GetOverRGBA() const
void SetInterpolate(Bool_t b)
Set interpolation flag.
TEveRGBAPalette()
Constructor.
void SetDefaultColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set default color.
void SetLimits(Int_t low, Int_t high)
Set low/high limits on signal value.
void SetupColor(Int_t val, UChar_t *pix) const
Set RGBA color 'pixel' for signal-value 'val'.
void MinMaxValChanged()
Emit the "MinMaxValChanged()" signal.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
void SetUnderflowAction(Int_t a)
Int_t DoubleToInt(Double_t d) const
const UChar_t * GetDefaultRGBA() const
Color_t * PtrDefaultColor()
static TEveRGBAPalette * fgDefaultPalette
Double_t GetCAMinAsDouble() const
UChar_t * GetDefaultRGBA()
Bool_t WithinVisibleRange(Int_t val) const
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 ~TEveRGBAPalette()
Destructor.
Bool_t GetShowDefValue() const
void SetUnderColorPixel(Pixel_t pix)
Set underflow color.