class TEveRGBAPalette: public TObject, public TQObject, public TEveRefCnt

 A generic, speed-optimised mapping from value to RGBA color
 supporting different wrapping and range truncation modes.

 Flag fFixColorRange: specifies how the palette is mapped to signal values:
  true  - LowLimit -> HighLimit
  false - MinValue -> MaxValue

Function Members (Methods)

voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
static Bool_tTQObject::AreAllSignalsBlocked()
Bool_tTQObject::AreSignalsBlocked() const
static Bool_tTQObject::BlockAllSignals(Bool_t b)
Bool_tTQObject::BlockSignals(Bool_t b)
virtual voidTObject::Browse(TBrowser* b)
virtual voidTQObject::ChangedBy(const char* method)SIGNAL
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
voidTQObject::CollectClassSignalLists(TList& list, TClass* cls)
const UChar_t*ColorFromValue(Int_t val) const
voidColorFromValue(Int_t val, UChar_t* pix, Bool_t alpha = kTRUE) const
Bool_tColorFromValue(Int_t val, Int_t defVal, UChar_t* pix, Bool_t alpha = kTRUE) const
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidTQObject::Destroyed()SIGNAL
Bool_tTQObject::Disconnect(const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = 0)
virtual voidTQObject::Disconnected(const char*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
voidTQObject::EmitVA<>(const char* signal_name, Int_t)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Color_tGetDefaultColor() const
const UChar_t*GetDefaultRGBA() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Bool_tGetFixColorRange() const
Int_tGetHighLimit() const
virtual const char*TObject::GetIconName() const
Bool_tGetInterpolate() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
Int_tGetLowLimit() const
Int_tGetMaxVal() const
Int_tGetMinVal() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Color_tGetOverColor() const
Int_tGetOverflowAction() const
const UChar_t*GetOverRGBA() const
Bool_tGetShowDefValue() const
virtual const char*TObject::GetTitle() const
Bool_tGetUIDoubleRep() const
Color_tGetUnderColor() const
Int_tGetUnderflowAction() const
const UChar_t*GetUnderRGBA() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTObject::Hash() const
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)SIGNAL
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
virtual voidTEveRefCnt::OnZeroRefCount()
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidSetDefaultColor(Color_t ci)
voidSetDefaultColorPixel(Pixel_t pix)
voidSetDefaultColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a = 255)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetFixColorRange(Bool_t v)
voidSetInterpolate(Bool_t b)
voidSetLimits(Int_t low, Int_t high)
voidSetLimitsScaleMinMax(Int_t low, Int_t high)
voidSetMax(Int_t max)
voidSetMin(Int_t min)
voidSetMinMax(Int_t min, Int_t max)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetOverColor(Color_t ci)
voidSetOverColorPixel(Pixel_t pix)
voidSetOverColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a = 255)
voidSetOverflowAction(Int_t a)
voidSetShowDefValue(Bool_t v)
voidSetUIDoubleRep(Bool_t b, Double_t f = 1, Double_t c = 0)
voidSetUnderColor(Color_t ci)
voidSetUnderColorPixel(Pixel_t pix)
voidSetUnderColorRGBA(UChar_t r, UChar_t g, UChar_t b, UChar_t a = 255)
voidSetUnderflowAction(Int_t a)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetupColorArray() const
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TEveRGBAPalette(Int_t min, Int_t max, Bool_t interp = kTRUE, Bool_t showdef = kTRUE, Bool_t fixcolrng = kFALSE)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
Bool_tWithinVisibleRange(Int_t val) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
static TStringTQObject::CompressName(const char* method_name)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
Int_tDoubleToInt(Double_t d) const
Double_tGetCAMaxAsDouble() const
Double_tGetCAMinAsDouble() const
virtual void*TQObject::GetSender()
virtual const char*TQObject::GetSenderClassName() const
Double_tIntToDouble(Int_t i) const
voidSetupColor(Int_t val, UChar_t* pix) const

Data Members

static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TEveRGBAPalette::ELimitAction_ekLA_Clip
static TEveRGBAPalette::ELimitAction_ekLA_Cut
static TEveRGBAPalette::ELimitAction_ekLA_Mark
static TEveRGBAPalette::ELimitAction_ekLA_Wrap
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
Int_tfCAMaxMaximal signal in color-array.
Int_tfCAMinMinimal signal in color-array.
Color_tfDefaultColorColor for when value is not specified
Bool_tfFixColorRangeIf true, map palette to low/high limit otherwise to min/max value.
Int_tfHighLimitHigh limit for Min/Max values (used by editor)
Bool_tfInterpolateInterpolate colors for signal values.
TList*TQObject::fListOfConnections! list of connections to this object
TList*TQObject::fListOfSignals! list of signals from this object
Int_tfLowLimitLow limit for Min/Max values (used by editor)
Int_tfNBinsNumber of signal-color entries.
Color_tfOverColorOverflow color
Bool_tfShowDefValueFlags whether signals with default value should be shown.
Bool_tTQObject::fSignalsBlocked! flag used for suppression of signals
Bool_tfUIDoubleRepRepresent UI parts with real values.
Double_tfUIcUI representation calculated as: d = fUIf*i + fUIc
Double_tfUIfUI representation calculated as: d = fUIf*i + fUIc
Color_tfUnderColorUnderflow color
static Bool_tTQObject::fgAllSignalsBlockedflag used for suppression of all signals
static TEveRGBAPalette*fgDefaultPalette

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TEveRGBAPalette(Int_t min, Int_t max, Bool_t interp = kTRUE, Bool_t showdef = kTRUE, Bool_t fixcolrng = kFALSE)
void SetupColor(Int_t val, UChar_t* pix) const
 Set RGBA color 'pixel' for signal-value 'val'.
void SetupColorArray() const
 Construct internal color array that maps signal value to RGBA color.
void ClearColorArray()
 Clear internal color array.
void SetLimits(Int_t low, Int_t high)
 Set low/high limits on signal value. Current min/max values are
 clamped into the new limits.
void SetLimitsScaleMinMax(Int_t low, Int_t high)
 Set low/high limits and rescale current min/max values.
void SetMin(Int_t min)
 Set current min value.
void SetMax(Int_t max)
 Set current max value.
void SetMinMax(Int_t min, Int_t max)
 Set current min/max values.
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 SetInterpolate(Bool_t b)
 Set interpolation flag. This determines how colors from ROOT's
 palette are mapped into RGBA values for given signal.
void SetFixColorRange(Bool_t v)
 Set flag specifying how the palette is mapped to signal values:
  true  - LowLimit -> HighLimit
  false - MinValue -> MaxValue
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 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 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 MinMaxValChanged()
 Emit the "MinMaxValChanged()" signal.
 This is NOT called automatically from SetMin/Max functions but
 it IS called from TEveRGBAPaletteEditor after it changes the
 min/max values.
Bool_t WithinVisibleRange(Int_t val) const
const UChar_t* ColorFromValue(Int_t val) const
void ColorFromValue(Int_t val, UChar_t* pix, Bool_t alpha = kTRUE) const
Bool_t ColorFromValue(Int_t val, Int_t defVal, UChar_t* pix, Bool_t alpha = kTRUE) const
TEveRGBAPalette(const TEveRGBAPalette& )
TEveRGBAPalette& operator=(const TEveRGBAPalette& )
Double_t IntToDouble(Int_t i) const
{ return fUIf*i + fUIc; }
Int_t DoubleToInt(Double_t d) const
{ return TMath::Nint((d - fUIc) / fUIf); }
Double_t GetCAMinAsDouble() const
{ return IntToDouble(fCAMin); }
Double_t GetCAMaxAsDouble() const
{ return IntToDouble(fCAMax); }
Int_t GetMinVal() const
{ return fMinVal; }
Int_t GetMaxVal() const
{ return fMaxVal; }
Int_t GetLowLimit() const
{ return fLowLimit; }
Int_t GetHighLimit() const
{ return fHighLimit; }
Bool_t GetUIDoubleRep() const
{ return fUIDoubleRep; }
Bool_t GetInterpolate() const
{ return fInterpolate; }
Bool_t GetShowDefValue() const
{ return fShowDefValue; }
void SetShowDefValue(Bool_t v)
{ fShowDefValue = v; }
Bool_t GetFixColorRange() const
{ return fFixColorRange; }
Int_t GetUnderflowAction() const
{ return fUnderflowAction; }
Int_t GetOverflowAction() const
{ return fOverflowAction; }
void SetUnderflowAction(Int_t a)
void SetOverflowAction(Int_t a)
Color_t GetDefaultColor() const
{ return fDefaultColor; }
Color_t* PtrDefaultColor()
{ return &fDefaultColor; }
UChar_t* GetDefaultRGBA()
{ return fDefaultRGBA; }
const UChar_t* GetDefaultRGBA() const
{ return fDefaultRGBA; }
Color_t GetUnderColor() const
{ return fUnderColor; }
Color_t* PtrUnderColor()
{ return &fUnderColor; }
UChar_t* GetUnderRGBA()
{ return fUnderRGBA; }
const UChar_t* GetUnderRGBA() const
{ return fUnderRGBA; }
Color_t GetOverColor() const
{ return fOverColor; }
Color_t* PtrOverColor()
{ return &fOverColor; }
UChar_t* GetOverRGBA()
{ return fOverRGBA; }
const UChar_t* GetOverRGBA() const
{ return fOverRGBA; }