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];
#define ClassDef(name, id)
Editor for TEveRGBAPalette class.
Description of TEveRGBAPaletteOverlay.
Sub-editor for TEveRGBAPalette class.
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
Bool_t GetShowDefValue() const
Int_t GetHighLimit() const
void SetMax(Int_t max)
Set current max value.
TEveRGBAPalette(const TEveRGBAPalette &)
void SetOverColor(Color_t ci)
Set overflow color.
Bool_t GetFixColorRange() const
Color_t * PtrUnderColor()
void SetUnderColorPixel(Pixel_t pix)
Set underflow color.
Color_t GetUnderColor() const
void SetMin(Int_t min)
Set current min value.
virtual ~TEveRGBAPalette()
Destructor.
const UChar_t * GetOverRGBA() const
void SetupColorArray() const
Construct internal color array that maps signal value to RGBA color.
const UChar_t * GetUnderRGBA() const
Bool_t GetUIDoubleRep() const
static TEveRGBAPalette * fgDefaultPalette
void SetDefaultColor(Color_t ci)
Set default color.
Double_t GetCAMaxAsDouble() const
void SetInterpolate(Bool_t b)
Set interpolation flag.
TEveRGBAPalette & operator=(const TEveRGBAPalette &)
Color_t GetOverColor() const
Bool_t GetInterpolate() const
Int_t DoubleToInt(Double_t d) const
void SetDefaultColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set default color.
UChar_t * GetDefaultRGBA()
Color_t * PtrDefaultColor()
void SetShowDefValue(Bool_t v)
Double_t GetCAMinAsDouble() const
const UChar_t * ColorFromValue(Int_t val) const
Int_t GetUnderflowAction() const
Color_t GetDefaultColor() const
Bool_t WithinVisibleRange(Int_t val) const
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.
Int_t GetOverflowAction() const
void ClearColorArray()
Clear internal color array.
Double_t IntToDouble(Int_t i) const
void SetUnderColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set underflow color.
const UChar_t * GetDefaultRGBA() 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 SetupColor(Int_t val, UChar_t *pix) const
Set RGBA color 'pixel' for signal-value 'val'.
void SetMinMax(Int_t min, Int_t max)
Set current min/max values.
void MinMaxValChanged()
Emit the "MinMaxValChanged()" signal.
void SetOverColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set overflow color.
void SetLimits(Int_t low, Int_t high)
Set low/high limits on signal value.
void SetUnderColor(Color_t ci)
Set underflow color.
Int_t GetLowLimit() const
TEveRGBAPalette()
Constructor.
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...
void SetOverflowAction(Int_t a)
Base-class for reference-counted objects.
Mother of all ROOT objects.
This is the ROOT implementation of the Qt object communication mechanism (see also http://www....
Int_t Nint(T x)
Round to nearest integer. Rounds half integers to the nearest even integer.