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.
Bool_t GetInterpolate() const
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
void SetUnderColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
Set underflow color.
ClassDef(TEveRGBAPalette, 1)
void SetupColor(Int_t val, UChar_t *pix) const
Set RGBA color 'pixel' for signal-value 'val'.
This is the ROOT implementation of the Qt object communication mechanism (see also http://www...
Int_t DoubleToInt(Double_t d) const
Bool_t GetUIDoubleRep() const
Description of TEveRGBAPaletteOverlay.
Color_t GetUnderColor() const
Bool_t GetShowDefValue() const
Double_t IntToDouble(Int_t i) const
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.
void SetFixColorRange(Bool_t v)
Set flag specifying how the palette is mapped to signal values: true - LowLimit -> HighLimit false - ...
Color_t * PtrUnderColor()
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.
void SetDefaultColor(Color_t ci)
Set default color.
Sub-editor for TEveRGBAPalette class.
const UChar_t * ColorFromValue(Int_t val) const
void SetMin(Int_t min)
Set current min value.
Color_t GetDefaultColor() const
void SetShowDefValue(Bool_t v)
void SetMinMax(Int_t min, Int_t max)
Set current min/max values.
const UChar_t * GetOverRGBA() const
Int_t GetLowLimit() const
Base-class for reference-counted objects.
void SetupColorArray() const
Construct internal color array that maps signal value to RGBA color.
void SetMax(Int_t max)
Set current max value.
void SetOverColor(Color_t ci)
Set overflow color.
const UChar_t * GetUnderRGBA() const
Int_t GetUnderflowAction() const
Color_t GetOverColor() const
Int_t GetOverflowAction() const
Editor for TEveRGBAPalette class.
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...
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
Mother of all ROOT objects.
void SetInterpolate(Bool_t b)
Set interpolation flag.
TEveRGBAPalette()
Constructor.
const UChar_t * GetDefaultRGBA() const
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.
Double_t GetCAMaxAsDouble() const
Int_t GetHighLimit() const
void MinMaxValChanged()
Emit the "MinMaxValChanged()" signal.
void SetUnderflowAction(Int_t a)
Color_t * PtrDefaultColor()
Double_t GetCAMinAsDouble() const
static TEveRGBAPalette * fgDefaultPalette
UChar_t * GetDefaultRGBA()
void SetOverColorPixel(Pixel_t pix)
Set overflow color.
Bool_t GetFixColorRange() const
virtual ~TEveRGBAPalette()
Destructor.
void SetUnderColorPixel(Pixel_t pix)
Set underflow color.