Definition at line 22 of file REveRGBAPalette.hxx.
Public Types | |
enum | ELimitAction_e { kLA_Cut , kLA_Mark , kLA_Clip , kLA_Wrap } |
Public Member Functions | |
REveRGBAPalette () | |
Constructor. | |
REveRGBAPalette (Int_t min, Int_t max, Bool_t interp=kTRUE, Bool_t showdef=kTRUE, Bool_t fixcolrng=kFALSE) | |
Constructor. | |
virtual | ~REveRGBAPalette () |
Destructor. | |
void | ClearColorArray () |
Clear internal color array. | |
const UChar_t * | ColorFromValue (Int_t val) const |
Bool_t | ColorFromValue (Int_t val, Int_t defVal, UChar_t *pix, Bool_t alpha=kTRUE) const |
void | ColorFromValue (Int_t val, UChar_t *pix, Bool_t alpha=kTRUE) const |
Color_t | GetDefaultColor () const |
UChar_t * | GetDefaultRGBA () |
const UChar_t * | GetDefaultRGBA () const |
Bool_t | GetFixColorRange () const |
Int_t | GetHighLimit () const |
Bool_t | GetInterpolate () const |
Int_t | GetLowLimit () const |
Int_t | GetMaxVal () const |
Int_t | GetMinVal () const |
Color_t | GetOverColor () const |
Int_t | GetOverflowAction () const |
UChar_t * | GetOverRGBA () |
const UChar_t * | GetOverRGBA () const |
Bool_t | GetShowDefValue () const |
Bool_t | GetUIDoubleRep () const |
Color_t | GetUnderColor () const |
Int_t | GetUnderflowAction () const |
UChar_t * | GetUnderRGBA () |
const UChar_t * | GetUnderRGBA () const |
void | OnZeroRefCount () override |
Color_t * | PtrDefaultColor () |
Color_t * | PtrOverColor () |
Color_t * | PtrUnderColor () |
void | SetDefaultColor (Color_t ci) |
Set default color. | |
void | SetDefaultColorPixel (Pixel_t pix) |
Set default color. | |
void | SetDefaultColorRGBA (UChar_t r, UChar_t g, UChar_t b, UChar_t a=255) |
Set default color. | |
void | SetFixColorRange (Bool_t v) |
Set flag specifying how the palette is mapped to signal values: true - LowLimit -> HighLimit false - MinValue -> MaxValue. | |
void | SetInterpolate (Bool_t b) |
Set interpolation flag. | |
void | SetLimits (Int_t low, Int_t high) |
Set low/high limits on signal value. | |
void | SetLimitsScaleMinMax (Int_t low, Int_t high) |
Set low/high limits and rescale current min/max values. | |
void | SetMax (Int_t max) |
Set current max value. | |
void | SetMin (Int_t min) |
Set current min value. | |
void | SetMinMax (Int_t min, Int_t max) |
Set current min/max values. | |
void | SetOverColor (Color_t ci) |
Set overflow color. | |
void | SetOverColorPixel (Pixel_t pix) |
Set overflow color. | |
void | SetOverColorRGBA (UChar_t r, UChar_t g, UChar_t b, UChar_t a=255) |
Set overflow color. | |
void | SetOverflowAction (Int_t a) |
void | SetShowDefValue (Bool_t v) |
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 values with mapping from integer value i to real value d as: d = f*i + fc. | |
void | SetUnderColor (Color_t ci) |
Set underflow color. | |
void | SetUnderColorPixel (Pixel_t pix) |
Set underflow color. | |
void | SetUnderColorRGBA (UChar_t r, UChar_t g, UChar_t b, UChar_t a=255) |
Set underflow color. | |
void | SetUnderflowAction (Int_t a) |
void | SetupColorArray () const |
Construct internal color array that maps signal value to RGBA color. | |
Bool_t | WithinVisibleRange (Int_t val) const |
Public Member Functions inherited from ROOT::Experimental::REveRefCnt | |
REveRefCnt ()=default | |
virtual | ~REveRefCnt () |
void | DecRefCount () |
void | IncRefCount () |
Protected Member Functions | |
Int_t | DoubleToInt (Double_t d) const |
Double_t | GetCAMaxAsDouble () const |
Double_t | GetCAMinAsDouble () const |
Double_t | IntToDouble (Int_t i) const |
void | SetupColor (Int_t val, UChar_t *pix) const |
Set RGBA color 'pixel' for signal-value 'val'. | |
Protected Attributes | |
Int_t | fCAMax |
Int_t | fCAMin |
UChar_t * | fColorArray |
Color_t | fDefaultColor |
UChar_t | fDefaultRGBA [4] |
Bool_t | fFixColorRange |
Int_t | fHighLimit |
Bool_t | fInterpolate |
Int_t | fLowLimit |
Int_t | fMaxVal |
Int_t | fMinVal |
Int_t | fNBins |
Color_t | fOverColor |
Int_t | fOverflowAction |
UChar_t | fOverRGBA [4] |
Bool_t | fShowDefValue |
Double_t | fUIc |
Bool_t | fUIDoubleRep |
Double_t | fUIf |
Color_t | fUnderColor |
Int_t | fUnderflowAction |
UChar_t | fUnderRGBA [4] |
Protected Attributes inherited from ROOT::Experimental::REveRefCnt | |
Int_t | fRefCount {0} |
Static Protected Attributes | |
static REveRGBAPalette * | fgDefaultPalette |
Private Member Functions | |
REveRGBAPalette (const REveRGBAPalette &)=delete | |
REveRGBAPalette & | operator= (const REveRGBAPalette &)=delete |
Friends | |
class | REveRGBAPaletteEditor |
class | REveRGBAPaletteOverlay |
class | REveRGBAPaletteSubEditor |
#include <ROOT/REveRGBAPalette.hxx>
Enumerator | |
---|---|
kLA_Cut | |
kLA_Mark | |
kLA_Clip | |
kLA_Wrap |
Definition at line 30 of file REveRGBAPalette.hxx.
|
privatedelete |
REveRGBAPalette::REveRGBAPalette | ( | ) |
Constructor.
Definition at line 36 of file REveRGBAPalette.cxx.
REveRGBAPalette::REveRGBAPalette | ( | Int_t | min, |
Int_t | max, | ||
Bool_t | interp = kTRUE , |
||
Bool_t | showdef = kTRUE , |
||
Bool_t | fixcolrng = kFALSE |
||
) |
Constructor.
Definition at line 67 of file REveRGBAPalette.cxx.
|
virtual |
Destructor.
Definition at line 99 of file REveRGBAPalette.cxx.
void REveRGBAPalette::ClearColorArray | ( | ) |
Clear internal color array.
Definition at line 153 of file REveRGBAPalette.cxx.
Definition at line 171 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 209 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 201 of file REveRGBAPalette.hxx.
Definition at line 67 of file REveRGBAPalette.hxx.
|
inlineprotected |
Definition at line 70 of file REveRGBAPalette.hxx.
|
inlineprotected |
Definition at line 69 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 121 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 123 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 124 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 111 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 98 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 105 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 97 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 89 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 88 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 143 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 115 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 145 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 146 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 108 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 102 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 132 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 114 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 134 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 135 of file REveRGBAPalette.hxx.
Definition at line 66 of file REveRGBAPalette.hxx.
|
inlineoverridevirtual |
Implements ROOT::Experimental::REveRefCnt.
Definition at line 152 of file REveRGBAPalette.hxx.
|
privatedelete |
|
inline |
Definition at line 122 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 144 of file REveRGBAPalette.hxx.
|
inline |
Definition at line 133 of file REveRGBAPalette.hxx.
Set default color.
Definition at line 262 of file REveRGBAPalette.cxx.
Set default color.
Definition at line 271 of file REveRGBAPalette.cxx.
Set default color.
Definition at line 279 of file REveRGBAPalette.cxx.
Set flag specifying how the palette is mapped to signal values: true - LowLimit -> HighLimit false - MinValue -> MaxValue.
Definition at line 253 of file REveRGBAPalette.cxx.
Set interpolation flag.
This determines how colors from ROOT's palette are mapped into RGBA values for given signal.
Definition at line 242 of file REveRGBAPalette.cxx.
Set low/high limits on signal value.
Current min/max values are clamped into the new limits.
Definition at line 166 of file REveRGBAPalette.cxx.
Set low/high limits and rescale current min/max values.
Definition at line 182 of file REveRGBAPalette.cxx.
Set current max value.
Definition at line 207 of file REveRGBAPalette.cxx.
Set current min value.
Definition at line 198 of file REveRGBAPalette.cxx.
Set current min/max values.
Definition at line 216 of file REveRGBAPalette.cxx.
Set overflow color.
Definition at line 320 of file REveRGBAPalette.cxx.
Set overflow color.
Definition at line 329 of file REveRGBAPalette.cxx.
Set overflow color.
Definition at line 337 of file REveRGBAPalette.cxx.
Definition at line 117 of file REveRGBAPalette.hxx.
Definition at line 109 of file REveRGBAPalette.hxx.
Set flag determining whether GUI editor and overlays should show limits and axis values as real values with mapping from integer value i to real value d as: d = f*i + fc.
Definition at line 228 of file REveRGBAPalette.cxx.
Set underflow color.
Definition at line 291 of file REveRGBAPalette.cxx.
Set underflow color.
Definition at line 300 of file REveRGBAPalette.cxx.
Set underflow color.
Definition at line 308 of file REveRGBAPalette.cxx.
Definition at line 116 of file REveRGBAPalette.hxx.
Set RGBA color 'pixel' for signal-value 'val'.
Definition at line 107 of file REveRGBAPalette.cxx.
void REveRGBAPalette::SetupColorArray | ( | ) | const |
Construct internal color array that maps signal value to RGBA color.
Definition at line 132 of file REveRGBAPalette.cxx.
Definition at line 161 of file REveRGBAPalette.hxx.
|
friend |
Definition at line 24 of file REveRGBAPalette.hxx.
|
friend |
Definition at line 27 of file REveRGBAPalette.hxx.
|
friend |
Definition at line 25 of file REveRGBAPalette.hxx.
|
mutableprotected |
Definition at line 61 of file REveRGBAPalette.hxx.
|
mutableprotected |
Definition at line 60 of file REveRGBAPalette.hxx.
|
mutableprotected |
Definition at line 62 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 52 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 53 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 48 of file REveRGBAPalette.hxx.
|
staticprotected |
Definition at line 72 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 41 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 46 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 40 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 43 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 42 of file REveRGBAPalette.hxx.
|
mutableprotected |
Definition at line 59 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 56 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 50 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 57 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 47 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 38 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 45 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 37 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 54 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 49 of file REveRGBAPalette.hxx.
|
protected |
Definition at line 55 of file REveRGBAPalette.hxx.