15#include "TGLIncludes.h"
55 if (ca_min == ca_max)
return;
59 glPushAttrib(GL_ENABLE_BIT | GL_POLYGON_BIT);
61 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
62 glDisable(GL_CULL_FACE);
64 glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
68 glMatrixMode(GL_PROJECTION);
71 glOrtho(0, 1, 0, 1, 0, 1);
72 glMatrixMode(GL_MODELVIEW);
82 glPolygonOffset(0.5f, 0.5f);
107 glTranslatef(-ca_min, 0, 0);
115 glVertex2f(0, 0); glVertex2f(
fWidth, 0);
119 glMatrixMode(GL_PROJECTION);
121 glMatrixMode(GL_MODELVIEW);
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
virtual void SetTickLength(Float_t length=0.03)
Set tick mark length.
virtual void SetNdivisions(Int_t n=510, Bool_t optim=kTRUE)
Set the number of divisions for this axis.
virtual void SetLimits(Double_t xmin, Double_t xmax)
Description of TEveRGBAPaletteOverlay.
void Render(TGLRnrCtx &rnrCtx) override
Render the overlay.
TEveRGBAPaletteOverlay(const TEveRGBAPaletteOverlay &)
TGLAxisPainter fAxisPainter
TEveRGBAPalette * fPalette
A generic, speed-optimised mapping from value to RGBA color supporting different wrapping and range t...
Double_t GetCAMaxAsDouble() const
Double_t GetCAMinAsDouble() const
const UChar_t * ColorFromValue(Int_t val) const
void SetLabelAlign(TGLFont::ETextAlignH_e, TGLFont::ETextAlignV_e)
Set label align.
void SetUseAxisColors(Bool_t x)
void SetLabelPixelFontSize(Int_t fs)
TGLVector3 & RefTMOff(Int_t i)
void SetFontMode(TGLFont::EMode m)
void PaintAxis(TGLRnrCtx &ctx, TAxis *ax)
GL render TAxis.
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
static void Color4ubv(const UChar_t *rgba)
Wrapper for glColor4ubv.
void Set(Double_t x, Double_t y, Double_t z)