12#ifndef ROOT_REveRGBAPalette
13#define ROOT_REveRGBAPalette
20namespace Experimental {
204 pix[0] =
c[0]; pix[1] =
c[1]; pix[2] =
c[2];
205 if (alpha) pix[3] =
c[3];
ULong_t Pixel_t
Pixel value.
REveRGBAPalette & operator=(const REveRGBAPalette &)=delete
Color_t GetUnderColor() const
void SetMinMax(Int_t min, Int_t max)
Set current min/max values.
Color_t GetDefaultColor() const
const UChar_t * GetDefaultRGBA() const
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...
const UChar_t * ColorFromValue(Int_t val) const
void SetupColorArray() const
Construct internal color array that maps signal value to RGBA color.
static REveRGBAPalette * fgDefaultPalette
void SetMin(Int_t min)
Set current min value.
Int_t GetUnderflowAction() const
Bool_t GetFixColorRange() const
Color_t * PtrUnderColor()
Bool_t GetInterpolate() const
void ClearColorArray()
Clear internal color array.
void SetDefaultColorPixel(Pixel_t pix)
Set default color.
UChar_t * GetDefaultRGBA()
void SetOverflowAction(Int_t a)
void SetUnderColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set underflow color.
void SetDefaultColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set default color.
void SetLimitsScaleMinMax(Int_t low, Int_t high)
Set low/high limits and rescale current min/max values.
friend class REveRGBAPaletteSubEditor
Color_t GetOverColor() const
void SetMax(Int_t max)
Set current max value.
void SetLimits(Int_t low, Int_t high)
Set low/high limits on signal value.
Bool_t WithinVisibleRange(Int_t val) const
const UChar_t * GetOverRGBA() const
void SetUnderColorPixel(Pixel_t pix)
Set underflow color.
void SetInterpolate(Bool_t b)
Set interpolation flag.
Double_t GetCAMaxAsDouble() const
Double_t IntToDouble(Int_t i) const
virtual ~REveRGBAPalette()
Destructor.
Int_t DoubleToInt(Double_t d) const
friend class REveRGBAPaletteOverlay
void SetOverColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set overflow color.
void SetFixColorRange(Bool_t v)
Set flag specifying how the palette is mapped to signal values: true - LowLimit -> HighLimit false - ...
void SetUnderColor(Color_t ci)
Set underflow color.
Bool_t GetUIDoubleRep() const
Int_t GetHighLimit() const
void OnZeroRefCount() override
void SetUnderflowAction(Int_t a)
void SetDefaultColor(Color_t ci)
Set default color.
Int_t GetOverflowAction() const
Color_t * PtrDefaultColor()
Int_t GetLowLimit() const
Double_t GetCAMinAsDouble() const
REveRGBAPalette(const REveRGBAPalette &)=delete
const UChar_t * GetUnderRGBA() const
REveRGBAPalette()
Constructor.
void SetShowDefValue(Bool_t v)
void SetupColor(Int_t val, UChar_t *pix) const
Set RGBA color 'pixel' for signal-value 'val'.
friend class REveRGBAPaletteEditor
void SetOverColor(Color_t ci)
Set overflow color.
void SetOverColorPixel(Pixel_t pix)
Set overflow color.
Bool_t GetShowDefValue() const
REveRefCnt REveRefCnt base-class (interface)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Int_t Nint(T x)
Round to nearest integer. Rounds half integers to the nearest even integer.