#include <TEveRGBAPalette.h>
Inheritance diagram for TEveRGBAPalette:
Definition at line 20 of file TEveRGBAPalette.h.
Definition at line 28 of file TEveRGBAPalette.h.
Definition at line 28 of file TEveRGBAPalette.h.
TEveRGBAPalette::TEveRGBAPalette | ( | const TEveRGBAPalette & | ) | [private] |
TEveRGBAPalette::TEveRGBAPalette | ( | ) |
Definition at line 31 of file TEveRGBAPalette.cxx.
References SetDefaultColor(), SetLimits(), SetMinMax(), SetOverColor(), and SetUnderColor().
TEveRGBAPalette::TEveRGBAPalette | ( | Int_t | min, | |
Int_t | max, | |||
Bool_t | interp = kTRUE , |
|||
Bool_t | showdef = kTRUE , |
|||
Bool_t | fixcolrng = kFALSE | |||
) |
Definition at line 60 of file TEveRGBAPalette.cxx.
References SetDefaultColor(), SetLimits(), SetMinMax(), SetOverColor(), and SetUnderColor().
TEveRGBAPalette::~TEveRGBAPalette | ( | ) | [virtual] |
TEveRGBAPalette::TEveRGBAPalette | ( | const TEveRGBAPalette & | ) | [private] |
TEveRGBAPalette::TEveRGBAPalette | ( | ) |
TEveRGBAPalette::TEveRGBAPalette | ( | Int_t | min, | |
Int_t | max, | |||
Bool_t | interp = kTRUE , |
|||
Bool_t | showdef = kTRUE , |
|||
Bool_t | fixcolrng = kFALSE | |||
) |
virtual TEveRGBAPalette::~TEveRGBAPalette | ( | ) | [virtual] |
TEveRGBAPalette& TEveRGBAPalette::operator= | ( | const TEveRGBAPalette & | ) | [private] |
Definition at line 100 of file TEveRGBAPalette.cxx.
References TEveUtil::ColorFromIdx(), f2, fCAMax, fCAMin, fInterpolate, TStyle::GetColorPalette(), TStyle::GetNumberOfColors(), gStyle, Max, TMath::Min(), and TMath::Nint().
Referenced by SetupColorArray().
void TEveRGBAPalette::SetupColorArray | ( | ) | const |
Definition at line 125 of file TEveRGBAPalette.cxx.
References fCAMax, fCAMin, fColorArray, fFixColorRange, fHighLimit, fLowLimit, fMaxVal, fMinVal, fNBins, p, and SetupColor().
Referenced by ColorFromValue().
void TEveRGBAPalette::ClearColorArray | ( | ) |
Definition at line 146 of file TEveRGBAPalette.cxx.
References fCAMax, fCAMin, fColorArray, and fNBins.
Referenced by SetFixColorRange(), SetInterpolate(), SetLimits(), SetLimitsScaleMinMax(), SetMax(), SetMin(), and SetMinMax().
Definition at line 150 of file TEveRGBAPalette.h.
References fMaxVal, fMinVal, fOverflowAction, fUnderflowAction, kFALSE, kLA_Cut, and kTRUE.
Referenced by ColorFromValue().
Definition at line 160 of file TEveRGBAPalette.h.
References fCAMax, fCAMin, fColorArray, fMaxVal, fMinVal, fNBins, fOverflowAction, fOverRGBA, fUnderflowAction, fUnderRGBA, kLA_Clip, kLA_Wrap, and SetupColorArray().
Referenced by ColorFromValue(), TEveCaloLegoGL::DrawCells2D(), TEveTriangleSet::GenerateZNormalColors(), TEveCaloLegoOverlay::RenderPaletteScales(), TEveDigitSetGL::SetupColor(), and TEveCaloViz::SetupColorHeight().
Bool_t TEveRGBAPalette::ColorFromValue | ( | Int_t | val, | |
Int_t | defVal, | |||
UChar_t * | pix, | |||
Bool_t | alpha = kTRUE | |||
) | const [inline] |
Definition at line 198 of file TEveRGBAPalette.h.
References ColorFromValue(), fDefaultRGBA, fShowDefValue, kFALSE, kTRUE, and WithinVisibleRange().
Int_t TEveRGBAPalette::GetMinVal | ( | ) | const [inline] |
Definition at line 76 of file TEveRGBAPalette.h.
References fMinVal.
Referenced by TEveCaloViz::AssignCaloVizParameters(), and TEveDigitSetEditor::DoRangeHisto().
Int_t TEveRGBAPalette::GetMaxVal | ( | ) | const [inline] |
Definition at line 77 of file TEveRGBAPalette.h.
References fMaxVal.
Referenced by TEveCaloViz::AssignCaloVizParameters(), and TEveDigitSetEditor::DoRangeHisto().
Definition at line 160 of file TEveRGBAPalette.cxx.
References ClearColorArray(), fHighLimit, fLowLimit, fMaxVal, fMinVal, SetMax(), and SetMin().
Referenced by TEveDigitSet::AssertPalette(), TEveCaloViz::AssertPalette(), TEveCaloViz::DataChanged(), quadset_hierarchy(), TEveCaloViz::SetPlotEt(), and TEveRGBAPalette().
Definition at line 177 of file TEveRGBAPalette.cxx.
References ClearColorArray(), fHighLimit, fLowLimit, fMaxVal, fMinVal, and TMath::Nint().
Definition at line 211 of file TEveRGBAPalette.cxx.
References ClearColorArray(), fMaxVal, and fMinVal.
Referenced by TEveDigitSet::AssertPalette(), TEveRGBAPaletteSubEditor::DoMinMax(), and TEveRGBAPalette().
void TEveRGBAPalette::SetMin | ( | Int_t | min | ) |
Definition at line 193 of file TEveRGBAPalette.cxx.
References ClearColorArray(), fMaxVal, fMinVal, and TMath::Min().
Referenced by TEveCaloViz::AssertPalette(), TEveCaloViz::DataChanged(), and SetLimits().
void TEveRGBAPalette::SetMax | ( | Int_t | max | ) |
Definition at line 202 of file TEveRGBAPalette.cxx.
References ClearColorArray(), fMaxVal, fMinVal, and TMath::Max().
Referenced by TEveCaloViz::AssertPalette(), TEveCaloViz::DataChanged(), and SetLimits().
Int_t TEveRGBAPalette::GetLowLimit | ( | ) | const [inline] |
Definition at line 85 of file TEveRGBAPalette.h.
References fLowLimit.
Referenced by TEveDigitSetEditor::DoHisto().
Int_t TEveRGBAPalette::GetHighLimit | ( | ) | const [inline] |
Definition at line 86 of file TEveRGBAPalette.h.
References fHighLimit.
Referenced by TEveDigitSetEditor::DoHisto().
Bool_t TEveRGBAPalette::GetInterpolate | ( | ) | const [inline] |
Definition at line 90 of file TEveRGBAPalette.h.
References fInterpolate.
Referenced by TEveCaloViz::AssignCaloVizParameters().
void TEveRGBAPalette::SetInterpolate | ( | Bool_t | b | ) |
Definition at line 223 of file TEveRGBAPalette.cxx.
References ClearColorArray(), and fInterpolate.
Referenced by TEveRGBAPaletteSubEditor::DoInterpolate().
Bool_t TEveRGBAPalette::GetShowDefValue | ( | ) | const [inline] |
void TEveRGBAPalette::SetShowDefValue | ( | Bool_t | v | ) | [inline] |
Definition at line 94 of file TEveRGBAPalette.h.
References fShowDefValue.
Referenced by TEveRGBAPaletteSubEditor::DoShowDefValue().
Bool_t TEveRGBAPalette::GetFixColorRange | ( | ) | const [inline] |
void TEveRGBAPalette::SetFixColorRange | ( | Bool_t | v | ) |
Definition at line 233 of file TEveRGBAPalette.cxx.
References ClearColorArray(), and fFixColorRange.
Referenced by TEveRGBAPaletteSubEditor::DoFixColorRange().
Int_t TEveRGBAPalette::GetUnderflowAction | ( | ) | const [inline] |
Int_t TEveRGBAPalette::GetOverflowAction | ( | ) | const [inline] |
void TEveRGBAPalette::SetUnderflowAction | ( | Int_t | a | ) | [inline] |
Definition at line 101 of file TEveRGBAPalette.h.
References fUnderflowAction.
Referenced by TEveRGBAPaletteSubEditor::DoUnderflowAction().
void TEveRGBAPalette::SetOverflowAction | ( | Int_t | a | ) | [inline] |
Definition at line 102 of file TEveRGBAPalette.h.
References fOverflowAction.
Referenced by TEveRGBAPaletteSubEditor::DoOverflowAction().
Color_t TEveRGBAPalette::GetDefaultColor | ( | ) | const [inline] |
Definition at line 106 of file TEveRGBAPalette.h.
References fDefaultColor.
Referenced by TEveCaloViz::AssignCaloVizParameters(), and TEveRGBAPaletteSubEditor::SetModel().
Color_t* TEveRGBAPalette::PtrDefaultColor | ( | ) | [inline] |
UChar_t* TEveRGBAPalette::GetDefaultRGBA | ( | ) | [inline] |
const UChar_t* TEveRGBAPalette::GetDefaultRGBA | ( | ) | const [inline] |
void TEveRGBAPalette::SetDefaultColor | ( | Color_t | ci | ) |
Definition at line 246 of file TEveRGBAPalette.cxx.
References TEveUtil::ColorFromIdx(), fDefaultColor, fDefaultRGBA, and kTRUE.
Referenced by TEveCaloViz::AssertPalette(), TEveCaloViz::AssignCaloVizParameters(), SetDefaultColorPixel(), and TEveRGBAPalette().
void TEveRGBAPalette::SetDefaultColorPixel | ( | Pixel_t | pix | ) |
Definition at line 255 of file TEveRGBAPalette.cxx.
References TColor::GetColor(), and SetDefaultColor().
Referenced by TEveRGBAPaletteSubEditor::DoDefaultColor().
Definition at line 263 of file TEveRGBAPalette.cxx.
References fDefaultColor, fDefaultRGBA, and TColor::GetColor().
Color_t TEveRGBAPalette::GetUnderColor | ( | ) | const [inline] |
Definition at line 117 of file TEveRGBAPalette.h.
References fUnderColor.
Referenced by TEveRGBAPaletteSubEditor::SetModel().
Color_t* TEveRGBAPalette::PtrUnderColor | ( | ) | [inline] |
UChar_t* TEveRGBAPalette::GetUnderRGBA | ( | ) | [inline] |
const UChar_t* TEveRGBAPalette::GetUnderRGBA | ( | ) | const [inline] |
void TEveRGBAPalette::SetUnderColor | ( | Color_t | ci | ) |
Definition at line 277 of file TEveRGBAPalette.cxx.
References TEveUtil::ColorFromIdx(), fUnderColor, fUnderRGBA, and kTRUE.
Referenced by SetUnderColorPixel(), and TEveRGBAPalette().
void TEveRGBAPalette::SetUnderColorPixel | ( | Pixel_t | pix | ) |
Definition at line 286 of file TEveRGBAPalette.cxx.
References TColor::GetColor(), and SetUnderColor().
Referenced by TEveRGBAPaletteSubEditor::DoUnderColor().
Definition at line 294 of file TEveRGBAPalette.cxx.
References fUnderColor, fUnderRGBA, and TColor::GetColor().
Color_t TEveRGBAPalette::GetOverColor | ( | ) | const [inline] |
Definition at line 128 of file TEveRGBAPalette.h.
References fOverColor.
Referenced by TEveRGBAPaletteSubEditor::SetModel().
Color_t* TEveRGBAPalette::PtrOverColor | ( | ) | [inline] |
UChar_t* TEveRGBAPalette::GetOverRGBA | ( | ) | [inline] |
const UChar_t* TEveRGBAPalette::GetOverRGBA | ( | ) | const [inline] |
void TEveRGBAPalette::SetOverColor | ( | Color_t | ci | ) |
Definition at line 308 of file TEveRGBAPalette.cxx.
References TEveUtil::ColorFromIdx(), fOverColor, fOverRGBA, and kTRUE.
Referenced by SetOverColorPixel(), and TEveRGBAPalette().
void TEveRGBAPalette::SetOverColorPixel | ( | Pixel_t | pix | ) |
Definition at line 317 of file TEveRGBAPalette.cxx.
References TColor::GetColor(), and SetOverColor().
Referenced by TEveRGBAPaletteSubEditor::DoOverColor().
Definition at line 325 of file TEveRGBAPalette.cxx.
References fOverColor, fOverRGBA, and TColor::GetColor().
void TEveRGBAPalette::MinMaxValChanged | ( | ) |
Definition at line 337 of file TEveRGBAPalette.cxx.
References TQObject::Emit().
Referenced by TEveRGBAPaletteSubEditor::DoMinMax().
TEveRGBAPalette::ClassDef | ( | TEveRGBAPalette | , | |
1 | ||||
) |
TEveRGBAPalette& TEveRGBAPalette::operator= | ( | const TEveRGBAPalette & | ) | [private] |
void TEveRGBAPalette::SetupColorArray | ( | ) | const |
void TEveRGBAPalette::ClearColorArray | ( | ) |
Bool_t TEveRGBAPalette::ColorFromValue | ( | Int_t | val, | |
Int_t | defVal, | |||
UChar_t * | pix, | |||
Bool_t | alpha = kTRUE | |||
) | const |
Int_t TEveRGBAPalette::GetMinVal | ( | ) | const [inline] |
Int_t TEveRGBAPalette::GetMaxVal | ( | ) | const [inline] |
void TEveRGBAPalette::SetMin | ( | Int_t | min | ) |
void TEveRGBAPalette::SetMax | ( | Int_t | max | ) |
Int_t TEveRGBAPalette::GetLowLimit | ( | ) | const [inline] |
Int_t TEveRGBAPalette::GetHighLimit | ( | ) | const [inline] |
Bool_t TEveRGBAPalette::GetInterpolate | ( | ) | const [inline] |
void TEveRGBAPalette::SetInterpolate | ( | Bool_t | b | ) |
Bool_t TEveRGBAPalette::GetShowDefValue | ( | ) | const [inline] |
void TEveRGBAPalette::SetShowDefValue | ( | Bool_t | v | ) | [inline] |
Bool_t TEveRGBAPalette::GetFixColorRange | ( | ) | const [inline] |
void TEveRGBAPalette::SetFixColorRange | ( | Bool_t | v | ) |
Int_t TEveRGBAPalette::GetUnderflowAction | ( | ) | const [inline] |
Int_t TEveRGBAPalette::GetOverflowAction | ( | ) | const [inline] |
void TEveRGBAPalette::SetUnderflowAction | ( | Int_t | a | ) | [inline] |
void TEveRGBAPalette::SetOverflowAction | ( | Int_t | a | ) | [inline] |
Color_t TEveRGBAPalette::GetDefaultColor | ( | ) | const [inline] |
Color_t* TEveRGBAPalette::PtrDefaultColor | ( | ) | [inline] |
UChar_t* TEveRGBAPalette::GetDefaultRGBA | ( | ) | [inline] |
const UChar_t* TEveRGBAPalette::GetDefaultRGBA | ( | ) | const [inline] |
void TEveRGBAPalette::SetDefaultColor | ( | Color_t | ci | ) |
void TEveRGBAPalette::SetDefaultColorPixel | ( | Pixel_t | pix | ) |
Color_t TEveRGBAPalette::GetUnderColor | ( | ) | const [inline] |
Color_t* TEveRGBAPalette::PtrUnderColor | ( | ) | [inline] |
UChar_t* TEveRGBAPalette::GetUnderRGBA | ( | ) | [inline] |
const UChar_t* TEveRGBAPalette::GetUnderRGBA | ( | ) | const [inline] |
void TEveRGBAPalette::SetUnderColor | ( | Color_t | ci | ) |
void TEveRGBAPalette::SetUnderColorPixel | ( | Pixel_t | pix | ) |
Color_t TEveRGBAPalette::GetOverColor | ( | ) | const [inline] |
Color_t* TEveRGBAPalette::PtrOverColor | ( | ) | [inline] |
UChar_t* TEveRGBAPalette::GetOverRGBA | ( | ) | [inline] |
const UChar_t* TEveRGBAPalette::GetOverRGBA | ( | ) | const [inline] |
void TEveRGBAPalette::SetOverColor | ( | Color_t | ci | ) |
void TEveRGBAPalette::SetOverColorPixel | ( | Pixel_t | pix | ) |
void TEveRGBAPalette::MinMaxValChanged | ( | ) |
TEveRGBAPalette::ClassDef | ( | TEveRGBAPalette | , | |
1 | ||||
) |
TEveRGBAPaletteEditor [friend] |
Definition at line 24 of file TEveRGBAPalette.h.
TEveRGBAPaletteSubEditor [friend] |
Definition at line 25 of file TEveRGBAPalette.h.
Int_t TEveRGBAPalette::fLowLimit [protected] |
Definition at line 35 of file TEveRGBAPalette.h.
Referenced by GetLowLimit(), SetLimits(), SetLimitsScaleMinMax(), TEveRGBAPaletteSubEditor::SetModel(), and SetupColorArray().
Int_t TEveRGBAPalette::fHighLimit [protected] |
Definition at line 36 of file TEveRGBAPalette.h.
Referenced by GetHighLimit(), SetLimits(), SetLimitsScaleMinMax(), TEveRGBAPaletteSubEditor::SetModel(), and SetupColorArray().
Int_t TEveRGBAPalette::fMinVal [protected] |
Definition at line 37 of file TEveRGBAPalette.h.
Referenced by ColorFromValue(), GetMinVal(), SetLimits(), SetLimitsScaleMinMax(), SetMax(), SetMin(), SetMinMax(), TEveRGBAPaletteSubEditor::SetModel(), SetupColorArray(), and WithinVisibleRange().
Int_t TEveRGBAPalette::fMaxVal [protected] |
Definition at line 38 of file TEveRGBAPalette.h.
Referenced by ColorFromValue(), GetMaxVal(), SetLimits(), SetLimitsScaleMinMax(), SetMax(), SetMin(), SetMinMax(), TEveRGBAPaletteSubEditor::SetModel(), SetupColorArray(), and WithinVisibleRange().
Bool_t TEveRGBAPalette::fInterpolate [protected] |
Definition at line 40 of file TEveRGBAPalette.h.
Referenced by GetInterpolate(), SetInterpolate(), TEveRGBAPaletteSubEditor::SetModel(), and SetupColor().
Bool_t TEveRGBAPalette::fShowDefValue [protected] |
Definition at line 41 of file TEveRGBAPalette.h.
Referenced by ColorFromValue(), GetShowDefValue(), TEveRGBAPaletteSubEditor::SetModel(), and SetShowDefValue().
Bool_t TEveRGBAPalette::fFixColorRange [protected] |
Definition at line 42 of file TEveRGBAPalette.h.
Referenced by GetFixColorRange(), SetFixColorRange(), TEveRGBAPaletteSubEditor::SetModel(), and SetupColorArray().
Int_t TEveRGBAPalette::fUnderflowAction [protected] |
Definition at line 43 of file TEveRGBAPalette.h.
Referenced by ColorFromValue(), GetUnderflowAction(), TEveRGBAPaletteSubEditor::SetModel(), SetUnderflowAction(), and WithinVisibleRange().
Int_t TEveRGBAPalette::fOverflowAction [protected] |
Definition at line 44 of file TEveRGBAPalette.h.
Referenced by ColorFromValue(), GetOverflowAction(), TEveRGBAPaletteSubEditor::SetModel(), SetOverflowAction(), and WithinVisibleRange().
Color_t TEveRGBAPalette::fDefaultColor [protected] |
Definition at line 46 of file TEveRGBAPalette.h.
Referenced by GetDefaultColor(), PtrDefaultColor(), SetDefaultColor(), and SetDefaultColorRGBA().
UChar_t TEveRGBAPalette::fDefaultRGBA [protected] |
Definition at line 47 of file TEveRGBAPalette.h.
Referenced by ColorFromValue(), GetDefaultRGBA(), SetDefaultColor(), and SetDefaultColorRGBA().
Color_t TEveRGBAPalette::fUnderColor [protected] |
Definition at line 48 of file TEveRGBAPalette.h.
Referenced by GetUnderColor(), PtrUnderColor(), SetUnderColor(), and SetUnderColorRGBA().
UChar_t TEveRGBAPalette::fUnderRGBA [protected] |
Definition at line 49 of file TEveRGBAPalette.h.
Referenced by ColorFromValue(), GetUnderRGBA(), SetUnderColor(), and SetUnderColorRGBA().
Color_t TEveRGBAPalette::fOverColor [protected] |
Definition at line 50 of file TEveRGBAPalette.h.
Referenced by GetOverColor(), PtrOverColor(), SetOverColor(), and SetOverColorRGBA().
UChar_t TEveRGBAPalette::fOverRGBA [protected] |
Definition at line 51 of file TEveRGBAPalette.h.
Referenced by ColorFromValue(), GetOverRGBA(), SetOverColor(), and SetOverColorRGBA().
Int_t TEveRGBAPalette::fNBins [mutable, protected] |
Definition at line 53 of file TEveRGBAPalette.h.
Referenced by ClearColorArray(), ColorFromValue(), and SetupColorArray().
Int_t TEveRGBAPalette::fCAMin [mutable, protected] |
Definition at line 54 of file TEveRGBAPalette.h.
Referenced by ClearColorArray(), ColorFromValue(), SetupColor(), and SetupColorArray().
Int_t TEveRGBAPalette::fCAMax [mutable, protected] |
Definition at line 55 of file TEveRGBAPalette.h.
Referenced by ClearColorArray(), ColorFromValue(), SetupColor(), and SetupColorArray().
UChar_t* TEveRGBAPalette::fColorArray [mutable, protected] |
Definition at line 56 of file TEveRGBAPalette.h.
Referenced by ClearColorArray(), ColorFromValue(), SetupColorArray(), and ~TEveRGBAPalette().
TEveRGBAPalette* TEveRGBAPalette::fgDefaultPalette [static, protected] |
Definition at line 60 of file TEveRGBAPalette.h.
UChar_t* TEveRGBAPalette::fColorArray [mutable, protected] |
Definition at line 56 of file TEveRGBAPalette.h.
TEveRGBAPalette* TEveRGBAPalette::fgDefaultPalette [static, protected] |
Definition at line 60 of file TEveRGBAPalette.h.