FACT++  1.0
void BasicGlCamera::glowingPalettePlease ( bool  checked)
slot

Definition at line 592 of file BasicGlCamera.cc.

References autoRefresh, bb, colorPaletteHasChanged(), gg, pixelColorUpToDate, rr, ss, tooHighValueCoulour, and tooLowValueCoulour.

Referenced by BasicGlCamera().

593  {
594  if (!checked) return;
595  ss[0] = 0; ss[1] = 0.25f; ss[2] = 0.5f; ss[3] = 0.75f; ss[4] = 1.0f;
596  rr[0] = 0.15; rr[1] = 0.5; rr[2] = 1.f; rr[3] = 0.0f; rr[4] = 1.f;
597  gg[0] = 0.15; gg[1] = 0.5; gg[2] = 1.f; gg[3] = 0.5f; gg[4] = 0.5f;
598  bb[0] = 0.15; bb[1] = 0.5; bb[2] = 1; bb[3] = 1.f; bb[4] = 0.f;
599  tooHighValueCoulour[0] = 1.f;
600  tooHighValueCoulour[1] = 0.f;
601  tooHighValueCoulour[2] = 0.f;
602  tooLowValueCoulour[0] = 0.f;
603  tooLowValueCoulour[1] = 1.f;
604  tooLowValueCoulour[2] = 0.f;
605  pixelColorUpToDate = false;
606 
607  emit colorPaletteHasChanged();
608 
609  if (isVisible() && autoRefresh)
610  updateGL();
611  }
GLfloat tooLowValueCoulour[3]
Definition: BasicGlCamera.h:71
void colorPaletteHasChanged()
GLfloat tooHighValueCoulour[3]
Definition: BasicGlCamera.h:70
bool pixelColorUpToDate
Definition: BasicGlCamera.h:63

+ Here is the caller graph for this function: