20 void set(
int i, Color_t cidx) {
24 const TColor *
c = gROOT->GetColor(cidx);
29 TColor::HLStoRGB(c->GetHue(), 1.2*c->GetLight(), c->GetSaturation(),
colVals[
i][0],
colVals[
i][1], colVals[
i][2]);
43 const TColor *
c = gROOT->GetColor(cidx);
100 for (
int i = 10; i < 15; ++
i)
144 set(14, kViolet +10);
175 unsigned int lastIdx = iSize -2;
178 for (
unsigned int i = 0;
i<lastIdx; ++
i) {
192 r = TMath::Power(r, (2.5 - value)/2.5);
193 g = TMath::Power(g, (2.5 - value)/2.5);
194 b = TMath::Power(b, (2.5 - value)/2.5);
206 iColors[i + iSize][0] =
r;
207 iColors[i + iSize][1] =
g;
208 iColors[i + iSize][2] =
b;
212 for (
unsigned int i = 0;
i<lastIdx; ++
i) {
215 float r = s* iColors[
i][0];
216 float g = s *iColors[
i][1];
217 float b = s * iColors[
i][2];
222 r = TMath::Power( r, (2.5 - value)/2.5);
223 g = TMath::Power(g, (2.5 - value)/2.5);
224 b = TMath::Power(b, (2.5 - value)/2.5);
229 iColors[
i + iSize][0] =
r;
230 iColors[
i + iSize][1] =
g;
231 iColors[
i + iSize][2] =
b;
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
void GetColorValuesForPaletteExtra(float(*iColors)[3], unsigned int iSize, FWColorManager::EPalette id, bool isWhiteBg)