Logo ROOT  
Reference Guide
No Matches
ROOT::Experimental::REveRGBAPalette Class Reference

Definition at line 23 of file REveRGBAPalette.hxx.

Public Types

enum  ELimitAction_e { kLA_Cut , kLA_Mark , kLA_Clip , kLA_Wrap }
- Public Types inherited from ROOT::Experimental::REveElement
typedef std::list< REveAunt * > AuntList_t
enum  EChangeBits {
  kCBColorSelection = BIT(0) , kCBTransBBox = BIT(1) , kCBObjProps = BIT(2) , kCBVisibility = BIT(3) ,
  kCBElementAdded = BIT(4)
typedef std::list< REveElement * > List_t
typedef std::set< REveElement * > Set_t

Public Member Functions

 REveRGBAPalette ()
 REveRGBAPalette (Int_t min, Int_t max, Bool_t interp=kTRUE, Bool_t showdef=kTRUE, Bool_t fixcolrng=kFALSE)
 ~REveRGBAPalette () override
void ClearColorArray ()
 Clear internal color array.
const UChar_tColorFromValue (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_tGetDefaultRGBA ()
const UChar_tGetDefaultRGBA () 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_tGetOverRGBA ()
const UChar_tGetOverRGBA () const
Bool_t GetShowDefValue () const
Bool_t GetUIDoubleRep () const
Color_t GetUnderColor () const
Int_t GetUnderflowAction () const
UChar_tGetUnderRGBA ()
const UChar_tGetUnderRGBA () const
void OnZeroRefCount () override
Color_tPtrDefaultColor ()
Color_tPtrOverColor ()
Color_tPtrUnderColor ()
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
Int_t WriteCoreJson (nlohmann::json &j, Int_t rnr_offset) override
 Write core json.
- Public Member Functions inherited from ROOT::Experimental::REveElement
 REveElement (const REveElement &e)
 Copy constructor.
 REveElement (const std::string &name="", const std::string &title="")
 Default constructor.
virtual ~REveElement ()
virtual Bool_t AcceptElement (REveElement *el)
 Check if el can be added to this element.
virtual void AddAunt (REveAunt *au)
 Add el into the list aunts.
virtual void AddElement (REveElement *el)
 Add el to the list of children.
virtual void AddStamp (UChar_t bits)
 Add (bitwise or) given stamps to fChangeBits.
virtual void Annihilate ()
 Optimized destruction without check of reference-count.
virtual void AnnihilateElements ()
 Annihilate elements.
Bool_t ApplyVizTag (const TString &tag, const TString &fallback_tag="")
 Set the VizTag, find model-element from the VizDB and copy visualization-parameters from it.
virtual void BuildRenderData ()
 Write transformation Matrix to render data.
virtual Bool_t CanEditElement () const
virtual Bool_t CanEditMainColor () const
virtual Bool_t CanEditMainTrans () const
virtual Bool_t CanEditMainTransparency () const
virtual void CheckReferenceCount (const std::string &from="<unknown>")
 Check external references to this and eventually auto-destruct the render-element.
virtual void ClearStamps ()
virtual void CloneChildrenRecurse (REveElement *dest, Int_t level=0) const
 Clone children and attach them to the dest element.
virtual REveElementCloneElement () const
 Clone the element via copy constructor.
virtual REveElementCloneElementRecurse (Int_t level=0) const
 Clone elements and recurse 'level' deep over children.
virtual void CopyVizParams (const REveElement *el)
 Copy visualization parameters from element el.
virtual void CopyVizParamsFromDB ()
 Copy visualization parameters from the model-element fVizModel.
void CSCApplyMainColorToAllChildren ()
void CSCApplyMainColorToMatchingChildren ()
void CSCApplyMainTransparencyToAllChildren ()
void CSCApplyMainTransparencyToMatchingChildren ()
void CSCImplySelectAllChildren ()
void CSCTakeMotherAsMaster ()
void DecDenyDestroy ()
 Decreases the deny-destroy count of the element.
void DecImpliedSelected ()
virtual void Destroy ()
 Destroy this element.
virtual void DestroyElements ()
 Destroy all children of this element.
virtual void DestroyMainTrans ()
 Destroy the main transformation matrix, it will always be taken as identity.
virtual void DestroyOrWarn ()
 Destroy this element. Prints a warning if deny-destroy is in force.
void DisableListElements (Bool_t rnr_self=kFALSE, Bool_t rnr_children=kFALSE)
 Disable rendering of children and their list contents.
void EnableListElements (Bool_t rnr_self=kTRUE, Bool_t rnr_children=kTRUE)
 Enable rendering of children and their list contents.
virtual void ExportToInterpreter (const char *var_name)
 Export render-element to CINT with variable name var_name.
virtual void FillExtraSelectionData (nlohmann::json &, const std::set< int > &) const
virtual void FillImpliedSelectedSet (Set_t &impSelSet, const std::set< int > &)
 Populate set impSelSet with derived / dependant elements.
REveElementFindChild (const TString &name, const TClass *cls=nullptr)
 Find the first child with given name.
REveElementFindChild (TPRegexp &regexp, const TClass *cls=nullptr)
 Find the first child whose name matches regexp.
Int_t FindChildren (List_t &matches, const TString &name, const TClass *cls=nullptr)
 Find all children with given name and append them to matches list.
Int_t FindChildren (List_t &matches, TPRegexp &regexp, const TClass *cls=nullptr)
 Find all children whose name matches regexp and append them to matches list.
REveElementFirstChild () const
 Returns the first child element or 0 if the list is empty.
UChar_t GetChangeBits () const
TClassGetChildClass () const
const char * GetCName () const
REveCompoundGetCompound ()
const char * GetCTitle () const
Int_t GetDenyDestroy () const
 Returns the number of times deny-destroy has been requested on the element.
Bool_t GetDestroyOnZeroRefCnt () const
 Returns state of flag determining if the element will be destroyed when reference count reaches zero.
ElementId_t GetElementId () const
virtual std::string GetHighlightTooltip (const std::set< int > &) const
int GetImpliedSelected ()
virtual Color_t GetMainColor () const
Color_tGetMainColorPtr () const
virtual Char_t GetMainTransparency () const
REveElementGetMother ()
const std::string & GetName () const
REveRenderDataGetRenderData () const
virtual Bool_t GetRnrAnything () const
virtual Bool_t GetRnrChildren () const
virtual Bool_t GetRnrSelf () const
virtual Bool_t GetRnrState () const
REveSceneGetScene ()
virtual REveElementGetSelectionMaster ()
 Returns the master element - that is:
const std::string & GetTitle () const
void * GetUserData () const
REveElementGetVizModel () const
const TStringGetVizTag () const
Bool_t HasAunts () const
Bool_t HasChild (REveElement *el)
 Check if element el is a child of this element.
Bool_t HasChildren () const
virtual Bool_t HasMainColor () const
virtual Bool_t HasMainTrans () const
bool HasMother ()
bool HasScene ()
void IncDenyDestroy ()
 Increases the deny-destroy count of the element.
void IncImpliedSelected ()
virtual void InitMainTrans (Bool_t can_edit=kTRUE)
 Initialize the main transformation to identity matrix.
TClassIsA () const
 Return class for this element Return REveElement class in case dicitonary is not exisiting.
Bool_t IsPickable () const
REveElementLastChild () const
 Returns the last child element or 0 if the list is empty.
virtual void NameTitleChanged ()
 Virtual function called when a name or title of the element has been changed.
Int_t NumAunts () const
Int_t NumChildren () const
virtual void ProjectAllChildren (Bool_t same_depth=kTRUE)
 If this is a projectable, loop over all projected replicas and add the projected image of all children there.
virtual void ProjectChild (REveElement *el, Bool_t same_depth=kTRUE)
 If this is a projectable, loop over all projected replicas and add the projected image of child 'el' there.
virtual void PropagateMainColorToProjecteds (Color_t color, Color_t old_color)
 Propagate color to projected elements.
virtual void PropagateMainTransparencyToProjecteds (Char_t t, Char_t old_t)
 Propagate transparency to projected elements.
virtual void PropagateRnrStateToProjecteds ()
 Propagate render state to the projected replicas of this element.
virtual void PropagateVizParamsToChildren (REveElement *el=nullptr)
 Propagate visualization parameters from element el (defaulting to this) to all children.
virtual void PropagateVizParamsToProjecteds ()
 Propagate visualization parameters to dependent elements.
virtual REveTransPtrMainTrans (Bool_t create=kTRUE)
 Return pointer to main transformation.
void RecheckImpliedSelections ()
 Call this if it is possible that implied-selection or highlight has changed for this element or for implied-selection this element is member of and you want to maintain consistent selection state.
AuntList_tRefAunts ()
const AuntList_tRefAunts () const
List_tRefChildren ()
const List_tRefChildren () const
virtual REveTransRefMainTrans ()
 Return reference to main transformation.
virtual void RemoveAunt (REveAunt *au)
 Remove el from the list of aunts.
virtual void RemoveElement (REveElement *el)
 Remove el from the list of children.
virtual void RemoveElementLocal (REveElement *el)
 Perform additional local removal of el.
virtual void RemoveElements ()
 Remove all elements.
virtual void RemoveElementsLocal ()
 Perform additional local removal of all elements.
virtual bool RequiresExtraSelectionData () const
void ResetAllCSCBits ()
void ResetCSCBits (UChar_t f)
void SaveVizParams (std::ostream &out, const TString &tag, const TString &var)
 Save visualization parameters for this element with given tag.
void SetChildClass (TClass *c)
void SetCompound (REveCompound *c)
void SetCSCBits (UChar_t f)
void SetDestroyOnZeroRefCnt (Bool_t d)
 Sets the state of flag determining if the element will be destroyed when reference count reaches zero.
void SetEditMainColor (Bool_t x)
void SetEditMainTransparency (Bool_t x)
void SetMainAlpha (Float_t alpha)
 Set main-transparency via float alpha variable.
virtual void SetMainColor (Color_t color)
 Set main color of the element.
void SetMainColorPixel (Pixel_t pixel)
 Convert pixel to Color_t and call SetMainColor().
void SetMainColorPtr (Color_t *colptr)
void SetMainColorRGB (Float_t r, Float_t g, Float_t b)
 Convert RGB values to Color_t and call SetMainColor.
void SetMainColorRGB (UChar_t r, UChar_t g, UChar_t b)
 Convert RGB values to Color_t and call SetMainColor.
virtual void SetMainTransparency (Char_t t)
 Set main-transparency.
void SetName (const std::string &name)
 Set name of an element.
void SetNameTitle (const std::string &name, const std::string &title)
 Set name and title of an element.
void SetPickable (Bool_t p)
void SetPickableRecursively (Bool_t p)
 Set pickable state on the element and all its children.
virtual Bool_t SetRnrChildren (Bool_t rnr)
 Set render state of this element's children, i.e.
virtual Bool_t SetRnrSelf (Bool_t rnr)
 Set render state of this element, i.e.
virtual Bool_t SetRnrSelfChildren (Bool_t rnr_self, Bool_t rnr_children)
 Set state for rendering of this element and its children.
virtual Bool_t SetRnrState (Bool_t rnr)
 Set render state of this element and of its children to the same value.
void SetSelectionMaster (REveElement *el)
void SetTitle (const std::string &title)
 Set title of an element.
virtual void SetTransMatrix (const TGeoMatrix &mat)
 Set transformation matrix from TGeo's matrix.
virtual void SetTransMatrix (Double_t *carr)
 Set transformation matrix from column-major array.
void SetupDefaultColorAndTransparency (Color_t col, Bool_t can_edit_color, Bool_t can_edit_transparency)
 Set up element to use built-in main color and set flags allowing editing of main color and transparency.
void SetUserData (void *ud)
void SetVizModel (REveElement *model)
 Set visualization-parameter model element.
Bool_t SetVizModelByTag ()
 Find model element in VizDB that corresponds to previously assigned fVizTag and set fVizModel accordingly.
void SetVizTag (const TString &tag)
virtual Bool_t SingleRnrState () const
void StampColorSelection ()
void StampElementAdded ()
void StampObjProps ()
void StampObjPropsPreChk ()
void StampTransBBox ()
void StampVisibility ()
Bool_t TestCSCBits (UChar_t f) const
void VizDB_Apply (const std::string &tag)
 Set visual parameters for this object for given tag.
void VizDB_Insert (const std::string &tag, Bool_t replace=kTRUE, Bool_t update=kTRUE)
 Create a replica of element and insert it into VizDB with given tag.
void VizDB_Reapply ()
 Reset visual parameters for this object from VizDB.
void VizDB_UpdateModel (Bool_t update=kTRUE)
 Copy visual parameters from this element to viz-db model.
virtual void WriteVizParams (std::ostream &out, const TString &var)
 Write-out visual parameters for this object.
- Public Member Functions inherited from ROOT::Experimental::REveAuntAsList
 ~REveAuntAsList () override
void AddNieceInternal (REveElement *el) override
bool HasNiece (REveElement *el) const override
bool HasNieces () const override
void RemoveNieceInternal (REveElement *el) override
void RemoveNieces () override
- Public Member Functions inherited from ROOT::Experimental::REveAunt
virtual ~REveAunt ()
virtual bool AcceptNiece (REveElement *)
virtual void AddNiece (REveElement *el)
virtual void RemoveNiece (REveElement *el)
- 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'.
void StampNieces ()
- Protected Member Functions inherited from ROOT::Experimental::REveElement
virtual void AnnihilateRecursively ()
 Protected member function called from REveElement::Annihilate().
void assign_element_id_recurisvely ()
void assign_scene_recursively (REveScene *s)
ElementId_t get_mother_id () const
ElementId_t get_scene_id () const
virtual void PreDeleteElement ()
 Vertex / normal / triangle index information for rendering.
virtual void RemoveElementsInternal ()
 Remove all elements.

Protected Attributes

Int_t fCAMax
Int_t fCAMin
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::REveElement
AuntList_t fAunts
Bool_t fCanEditMainColor {kFALSE}
Bool_t fCanEditMainTrans {kFALSE}
Bool_t fCanEditMainTransparency {kFALSE}
UChar_t fChangeBits {0}
TClassfChildClass {nullptr}
List_t fChildren
REveCompoundfCompound {nullptr}
UChar_t fCSCBits {0}
Color_t fDefaultColor {kPink}
Int_t fDenyDestroy {0}
Bool_t fDestroyOnZeroRefCnt {kTRUE}
 Deny-destroy count.
Char_t fDestructing {kNone}
Short_t fImpliedSelected {0}
Color_tfMainColorPtr {nullptr}
std::unique_ptr< REveTransfMainTrans
Char_t fMainTransparency {0}
REveElementfMother {nullptr}
std::string fName
Bool_t fPickable {false}
std::unique_ptr< REveRenderDatafRenderData
 Externally assigned and controlled user data.
Bool_t fRnrChildren {kTRUE}
Bool_t fRnrSelf {kTRUE}
REveScenefScene {nullptr}
REveElementfSelectionMaster {nullptr}
std::string fTitle
void * fUserData {nullptr}
REveElementfVizModel {nullptr}
TString fVizTag
 Element used as model from VizDB.
- Protected Attributes inherited from ROOT::Experimental::REveAuntAsList
REveElement::List_t fNieces
- Protected Attributes inherited from ROOT::Experimental::REveRefCnt
Int_t fRefCount {0}

Static Protected Attributes

static REveRGBAPalettefgDefaultPalette

Private Member Functions

 REveRGBAPalette (const REveRGBAPalette &)=delete
REveRGBAPaletteoperator= (const REveRGBAPalette &)=delete


class REveRGBAPaletteEditor
class REveRGBAPaletteOverlay
class REveRGBAPaletteSubEditor

Additional Inherited Members

- Protected Types inherited from ROOT::Experimental::REveElement
enum  ECompoundSelectionColorBits {
  kCSCBImplySelectAllChildren = BIT(0) , kCSCBTakeMotherAsMaster = BIT(1) , kCSCBApplyMainColorToAllChildren = BIT(2) , kCSCBApplyMainColorToMatchingChildren = BIT(3) ,
  kCSCBApplyMainTransparencyToAllChildren = BIT(4) , kCSCBApplyMainTransparencyToMatchingChildren = BIT(5)
enum  EDestruct { kNone , kStandard , kAnnihilate }
- Static Protected Member Functions inherited from ROOT::Experimental::REveElement
static const std::string & ToString (Bool_t b)
 Convert Bool_t to string - kTRUE or kFALSE.

#include <ROOT/REveRGBAPalette.hxx>

Inheritance diagram for ROOT::Experimental::REveRGBAPalette:

Member Enumeration Documentation

◆ ELimitAction_e


Definition at line 33 of file REveRGBAPalette.hxx.

Constructor & Destructor Documentation

◆ REveRGBAPalette() [1/3]

ROOT::Experimental::REveRGBAPalette::REveRGBAPalette ( const REveRGBAPalette )

◆ REveRGBAPalette() [2/3]

REveRGBAPalette::REveRGBAPalette ( )


Definition at line 37 of file REveRGBAPalette.cxx.

◆ REveRGBAPalette() [3/3]

REveRGBAPalette::REveRGBAPalette ( Int_t  min,
Int_t  max,
Bool_t  interp = kTRUE,
Bool_t  showdef = kTRUE,
Bool_t  fixcolrng = kFALSE 


Definition at line 69 of file REveRGBAPalette.cxx.

◆ ~REveRGBAPalette()

REveRGBAPalette::~REveRGBAPalette ( )


Definition at line 102 of file REveRGBAPalette.cxx.

Member Function Documentation

◆ ClearColorArray()

void REveRGBAPalette::ClearColorArray ( )

Clear internal color array.

Definition at line 156 of file REveRGBAPalette.cxx.

◆ ColorFromValue() [1/3]

const UChar_t * REveRGBAPalette::ColorFromValue ( Int_t  val) const

Definition at line 175 of file REveRGBAPalette.hxx.

◆ ColorFromValue() [2/3]

Bool_t REveRGBAPalette::ColorFromValue ( Int_t  val,
Int_t  defVal,
UChar_t pix,
Bool_t  alpha = kTRUE 
) const

Definition at line 213 of file REveRGBAPalette.hxx.

◆ ColorFromValue() [3/3]

void REveRGBAPalette::ColorFromValue ( Int_t  val,
UChar_t pix,
Bool_t  alpha = kTRUE 
) const

Definition at line 205 of file REveRGBAPalette.hxx.

◆ DoubleToInt()

Int_t ROOT::Experimental::REveRGBAPalette::DoubleToInt ( Double_t  d) const

Definition at line 70 of file REveRGBAPalette.hxx.

◆ GetCAMaxAsDouble()

Double_t ROOT::Experimental::REveRGBAPalette::GetCAMaxAsDouble ( ) const

Definition at line 73 of file REveRGBAPalette.hxx.

◆ GetCAMinAsDouble()

Double_t ROOT::Experimental::REveRGBAPalette::GetCAMinAsDouble ( ) const

Definition at line 72 of file REveRGBAPalette.hxx.

◆ GetDefaultColor()

Color_t ROOT::Experimental::REveRGBAPalette::GetDefaultColor ( ) const

Definition at line 125 of file REveRGBAPalette.hxx.

◆ GetDefaultRGBA() [1/2]

UChar_t * ROOT::Experimental::REveRGBAPalette::GetDefaultRGBA ( )

Definition at line 127 of file REveRGBAPalette.hxx.

◆ GetDefaultRGBA() [2/2]

const UChar_t * ROOT::Experimental::REveRGBAPalette::GetDefaultRGBA ( ) const

Definition at line 128 of file REveRGBAPalette.hxx.

◆ GetFixColorRange()

Bool_t ROOT::Experimental::REveRGBAPalette::GetFixColorRange ( ) const

Definition at line 115 of file REveRGBAPalette.hxx.

◆ GetHighLimit()

Int_t ROOT::Experimental::REveRGBAPalette::GetHighLimit ( ) const

Definition at line 102 of file REveRGBAPalette.hxx.

◆ GetInterpolate()

Bool_t ROOT::Experimental::REveRGBAPalette::GetInterpolate ( ) const

Definition at line 109 of file REveRGBAPalette.hxx.

◆ GetLowLimit()

Int_t ROOT::Experimental::REveRGBAPalette::GetLowLimit ( ) const

Definition at line 101 of file REveRGBAPalette.hxx.

◆ GetMaxVal()

Int_t ROOT::Experimental::REveRGBAPalette::GetMaxVal ( ) const

Definition at line 93 of file REveRGBAPalette.hxx.

◆ GetMinVal()

Int_t ROOT::Experimental::REveRGBAPalette::GetMinVal ( ) const

Definition at line 92 of file REveRGBAPalette.hxx.

◆ GetOverColor()

Color_t ROOT::Experimental::REveRGBAPalette::GetOverColor ( ) const

Definition at line 147 of file REveRGBAPalette.hxx.

◆ GetOverflowAction()

Int_t ROOT::Experimental::REveRGBAPalette::GetOverflowAction ( ) const

Definition at line 119 of file REveRGBAPalette.hxx.

◆ GetOverRGBA() [1/2]

UChar_t * ROOT::Experimental::REveRGBAPalette::GetOverRGBA ( )

Definition at line 149 of file REveRGBAPalette.hxx.

◆ GetOverRGBA() [2/2]

const UChar_t * ROOT::Experimental::REveRGBAPalette::GetOverRGBA ( ) const

Definition at line 150 of file REveRGBAPalette.hxx.

◆ GetShowDefValue()

Bool_t ROOT::Experimental::REveRGBAPalette::GetShowDefValue ( ) const

Definition at line 112 of file REveRGBAPalette.hxx.

◆ GetUIDoubleRep()

Bool_t ROOT::Experimental::REveRGBAPalette::GetUIDoubleRep ( ) const

Definition at line 106 of file REveRGBAPalette.hxx.

◆ GetUnderColor()

Color_t ROOT::Experimental::REveRGBAPalette::GetUnderColor ( ) const

Definition at line 136 of file REveRGBAPalette.hxx.

◆ GetUnderflowAction()

Int_t ROOT::Experimental::REveRGBAPalette::GetUnderflowAction ( ) const

Definition at line 118 of file REveRGBAPalette.hxx.

◆ GetUnderRGBA() [1/2]

UChar_t * ROOT::Experimental::REveRGBAPalette::GetUnderRGBA ( )

Definition at line 138 of file REveRGBAPalette.hxx.

◆ GetUnderRGBA() [2/2]

const UChar_t * ROOT::Experimental::REveRGBAPalette::GetUnderRGBA ( ) const

Definition at line 139 of file REveRGBAPalette.hxx.

◆ IntToDouble()

Double_t ROOT::Experimental::REveRGBAPalette::IntToDouble ( Int_t  i) const

Definition at line 69 of file REveRGBAPalette.hxx.

◆ OnZeroRefCount()

void ROOT::Experimental::REveRGBAPalette::OnZeroRefCount ( )

Implements ROOT::Experimental::REveRefCnt.

Definition at line 156 of file REveRGBAPalette.hxx.

◆ operator=()

REveRGBAPalette & ROOT::Experimental::REveRGBAPalette::operator= ( const REveRGBAPalette )

◆ PtrDefaultColor()

Color_t * ROOT::Experimental::REveRGBAPalette::PtrDefaultColor ( )

Definition at line 126 of file REveRGBAPalette.hxx.

◆ PtrOverColor()

Color_t * ROOT::Experimental::REveRGBAPalette::PtrOverColor ( )

Definition at line 148 of file REveRGBAPalette.hxx.

◆ PtrUnderColor()

Color_t * ROOT::Experimental::REveRGBAPalette::PtrUnderColor ( )

Definition at line 137 of file REveRGBAPalette.hxx.

◆ SetDefaultColor()

void REveRGBAPalette::SetDefaultColor ( Color_t  ci)

Set default color.

Definition at line 267 of file REveRGBAPalette.cxx.

◆ SetDefaultColorPixel()

void REveRGBAPalette::SetDefaultColorPixel ( Pixel_t  pix)

Set default color.

Definition at line 276 of file REveRGBAPalette.cxx.

◆ SetDefaultColorRGBA()

void REveRGBAPalette::SetDefaultColorRGBA ( UChar_t  r,
UChar_t  g,
UChar_t  b,
UChar_t  a = 255 

Set default color.

Definition at line 284 of file REveRGBAPalette.cxx.

◆ SetFixColorRange()

void REveRGBAPalette::SetFixColorRange ( Bool_t  v)

Set flag specifying how the palette is mapped to signal values: true - LowLimit -> HighLimit false - MinValue -> MaxValue.

Definition at line 258 of file REveRGBAPalette.cxx.

◆ SetInterpolate()

void REveRGBAPalette::SetInterpolate ( Bool_t  b)

Set interpolation flag.

This determines how colors from ROOT's palette are mapped into RGBA values for given signal.

Definition at line 247 of file REveRGBAPalette.cxx.

◆ SetLimits()

void REveRGBAPalette::SetLimits ( Int_t  low,
Int_t  high 

Set low/high limits on signal value.

Current min/max values are clamped into the new limits.

Definition at line 171 of file REveRGBAPalette.cxx.

◆ SetLimitsScaleMinMax()

void REveRGBAPalette::SetLimitsScaleMinMax ( Int_t  low,
Int_t  high 

Set low/high limits and rescale current min/max values.

Definition at line 187 of file REveRGBAPalette.cxx.

◆ SetMax()

void REveRGBAPalette::SetMax ( Int_t  max)

Set current max value.

Definition at line 212 of file REveRGBAPalette.cxx.

◆ SetMin()

void REveRGBAPalette::SetMin ( Int_t  min)

Set current min value.

Definition at line 203 of file REveRGBAPalette.cxx.

◆ SetMinMax()

void REveRGBAPalette::SetMinMax ( Int_t  min,
Int_t  max 

Set current min/max values.

Definition at line 221 of file REveRGBAPalette.cxx.

◆ SetOverColor()

void REveRGBAPalette::SetOverColor ( Color_t  ci)

Set overflow color.

Definition at line 327 of file REveRGBAPalette.cxx.

◆ SetOverColorPixel()

void REveRGBAPalette::SetOverColorPixel ( Pixel_t  pix)

Set overflow color.

Definition at line 336 of file REveRGBAPalette.cxx.

◆ SetOverColorRGBA()

void REveRGBAPalette::SetOverColorRGBA ( UChar_t  r,
UChar_t  g,
UChar_t  b,
UChar_t  a = 255 

Set overflow color.

Definition at line 344 of file REveRGBAPalette.cxx.

◆ SetOverflowAction()

void ROOT::Experimental::REveRGBAPalette::SetOverflowAction ( Int_t  a)

Definition at line 121 of file REveRGBAPalette.hxx.

◆ SetShowDefValue()

void ROOT::Experimental::REveRGBAPalette::SetShowDefValue ( Bool_t  v)

Definition at line 113 of file REveRGBAPalette.hxx.

◆ SetUIDoubleRep()

void REveRGBAPalette::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.

Definition at line 233 of file REveRGBAPalette.cxx.

◆ SetUnderColor()

void REveRGBAPalette::SetUnderColor ( Color_t  ci)

Set underflow color.

Definition at line 296 of file REveRGBAPalette.cxx.

◆ SetUnderColorPixel()

void REveRGBAPalette::SetUnderColorPixel ( Pixel_t  pix)

Set underflow color.

Definition at line 305 of file REveRGBAPalette.cxx.

◆ SetUnderColorRGBA()

void REveRGBAPalette::SetUnderColorRGBA ( UChar_t  r,
UChar_t  g,
UChar_t  b,
UChar_t  a = 255 

Set underflow color.

Definition at line 313 of file REveRGBAPalette.cxx.

◆ SetUnderflowAction()

void ROOT::Experimental::REveRGBAPalette::SetUnderflowAction ( Int_t  a)

Definition at line 120 of file REveRGBAPalette.hxx.

◆ SetupColor()

void REveRGBAPalette::SetupColor ( Int_t  val,
UChar_t pix 
) const

Set RGBA color 'pixel' for signal-value 'val'.

Definition at line 110 of file REveRGBAPalette.cxx.

◆ SetupColorArray()

void REveRGBAPalette::SetupColorArray ( ) const

Construct internal color array that maps signal value to RGBA color.

Definition at line 135 of file REveRGBAPalette.cxx.

◆ StampNieces()

void REveRGBAPalette::StampNieces ( )

Definition at line 379 of file REveRGBAPalette.cxx.

◆ WithinVisibleRange()

Bool_t REveRGBAPalette::WithinVisibleRange ( Int_t  val) const

Definition at line 165 of file REveRGBAPalette.hxx.

◆ WriteCoreJson()

Int_t REveRGBAPalette::WriteCoreJson ( nlohmann::json &  j,
Int_t  rnr_offset 

Write core json.

If rnr_offset is negative, render data shall not be written. Returns number of bytes written into binary render data.

Reimplemented from ROOT::Experimental::REveElement.

Definition at line 359 of file REveRGBAPalette.cxx.

Friends And Related Symbol Documentation

◆ REveRGBAPaletteEditor

friend class REveRGBAPaletteEditor

Definition at line 27 of file REveRGBAPalette.hxx.

◆ REveRGBAPaletteOverlay

friend class REveRGBAPaletteOverlay

Definition at line 30 of file REveRGBAPalette.hxx.

◆ REveRGBAPaletteSubEditor

friend class REveRGBAPaletteSubEditor

Definition at line 28 of file REveRGBAPalette.hxx.

Member Data Documentation

◆ fCAMax

Int_t ROOT::Experimental::REveRGBAPalette::fCAMax

Definition at line 64 of file REveRGBAPalette.hxx.

◆ fCAMin

Int_t ROOT::Experimental::REveRGBAPalette::fCAMin

Definition at line 63 of file REveRGBAPalette.hxx.

◆ fColorArray

UChar_t* ROOT::Experimental::REveRGBAPalette::fColorArray

Definition at line 65 of file REveRGBAPalette.hxx.

◆ fDefaultColor

Color_t ROOT::Experimental::REveRGBAPalette::fDefaultColor

Definition at line 55 of file REveRGBAPalette.hxx.

◆ fDefaultRGBA

UChar_t ROOT::Experimental::REveRGBAPalette::fDefaultRGBA[4]

Definition at line 56 of file REveRGBAPalette.hxx.

◆ fFixColorRange

Bool_t ROOT::Experimental::REveRGBAPalette::fFixColorRange

Definition at line 51 of file REveRGBAPalette.hxx.

◆ fgDefaultPalette

REveRGBAPalette* ROOT::Experimental::REveRGBAPalette::fgDefaultPalette

Definition at line 75 of file REveRGBAPalette.hxx.

◆ fHighLimit

Int_t ROOT::Experimental::REveRGBAPalette::fHighLimit

Definition at line 44 of file REveRGBAPalette.hxx.

◆ fInterpolate

Bool_t ROOT::Experimental::REveRGBAPalette::fInterpolate

Definition at line 49 of file REveRGBAPalette.hxx.

◆ fLowLimit

Int_t ROOT::Experimental::REveRGBAPalette::fLowLimit

Definition at line 43 of file REveRGBAPalette.hxx.

◆ fMaxVal

Int_t ROOT::Experimental::REveRGBAPalette::fMaxVal

Definition at line 46 of file REveRGBAPalette.hxx.

◆ fMinVal

Int_t ROOT::Experimental::REveRGBAPalette::fMinVal

Definition at line 45 of file REveRGBAPalette.hxx.

◆ fNBins

Int_t ROOT::Experimental::REveRGBAPalette::fNBins

Definition at line 62 of file REveRGBAPalette.hxx.

◆ fOverColor

Color_t ROOT::Experimental::REveRGBAPalette::fOverColor

Definition at line 59 of file REveRGBAPalette.hxx.

◆ fOverflowAction

Int_t ROOT::Experimental::REveRGBAPalette::fOverflowAction

Definition at line 53 of file REveRGBAPalette.hxx.

◆ fOverRGBA

UChar_t ROOT::Experimental::REveRGBAPalette::fOverRGBA[4]

Definition at line 60 of file REveRGBAPalette.hxx.

◆ fShowDefValue

Bool_t ROOT::Experimental::REveRGBAPalette::fShowDefValue

Definition at line 50 of file REveRGBAPalette.hxx.

◆ fUIc

Double_t ROOT::Experimental::REveRGBAPalette::fUIc

Definition at line 41 of file REveRGBAPalette.hxx.

◆ fUIDoubleRep

Bool_t ROOT::Experimental::REveRGBAPalette::fUIDoubleRep

Definition at line 48 of file REveRGBAPalette.hxx.

◆ fUIf

Double_t ROOT::Experimental::REveRGBAPalette::fUIf

Definition at line 40 of file REveRGBAPalette.hxx.

◆ fUnderColor

Color_t ROOT::Experimental::REveRGBAPalette::fUnderColor

Definition at line 57 of file REveRGBAPalette.hxx.

◆ fUnderflowAction

Int_t ROOT::Experimental::REveRGBAPalette::fUnderflowAction

Definition at line 52 of file REveRGBAPalette.hxx.

◆ fUnderRGBA

UChar_t ROOT::Experimental::REveRGBAPalette::fUnderRGBA[4]

Definition at line 58 of file REveRGBAPalette.hxx.

Libraries for ROOT::Experimental::REveRGBAPalette:

The documentation for this class was generated from the following files: