12#ifndef ROOT_TGLAxisPainter 
   13#define ROOT_TGLAxisPainter 
   35   typedef std::pair  <Float_t, Float_t>    
Lab_t; 
 
   37   typedef std::pair  <Float_t, Int_t>      
TM_t;  
 
 
#define ClassDef(name, id)
 
#define ClassDefOverride(name, id)
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize fs
 
Manages histogram axis attributes.
 
Class to manage histogram axis.
 
Painter class for axes encompassing a 3D box.
 
void SetAxis3DTitlePos(TGLRnrCtx &rnrCtx)
Get position of axes and titles from projected corners.
 
void PlotStandard(TGLRnrCtx &rnrCtx, TH1 *histo, const TGLBoundingBox &bbox)
 
void DrawAxis3D(TGLRnrCtx &rnrCtx)
Draw XYZ axis with bitmap font.
 
TGLAxisPainterBox()
Constructor.
 
TGLVector3 fAxisTitlePos[3]
 
~TGLAxisPainterBox() override
Destructor.
 
Utility class to paint axis in GL.
 
void RnrLabels() const
Render label reading prepared list ov value-pos pairs.
 
void SetLabelFont(TGLRnrCtx &rnrCtx, const char *fontName, Int_t pixelSize=64, Double_t font3DSize=-1)
Set label font derived from TAttAxis.
 
TPMERegexp * fAllZeroesRE
 
void LabelsLimits(const char *label, Int_t &first, Int_t &last) const
Find first and last character of a label.
 
void RnrLines() const
Render axis main line and tick-marks.
 
Int_t fLabelPixelFontSize
 
TGLFont::ETextAlignV_e fLabelAlignV
 
std::pair< Float_t, Int_t > TM_t
 
void SetLabelAlign(TGLFont::ETextAlignH_e, TGLFont::ETextAlignV_e)
Set label align.
 
Double_t fLabel3DFontSize
 
void RnrText(const TString &txt, const TGLVector3 &pos, TGLFont::ETextAlignH_e aH, TGLFont::ETextAlignV_e aV, const TGLFont &font) const
Render text at the given position. Offset depends of text alignment.
 
TGLVector3 & RefTitlePos()
 
TGLFont::ETextAlignH_e fLabelAlignH
 
Int_t fTitlePixelFontSize
 
std::vector< Lab_t > LabVec_t
 
std::vector< TM_t > TMVec_t
 
Int_t GetTitlePixelFontSize() const
 
void SetTitleFont(TGLRnrCtx &rnrCtx, const char *fontName, Int_t pixelSize=64, Double_t font3DSize=-1)
Set title font derived from TAttAxis.
 
TGLAxisPainter(const TGLAxisPainter &)=delete
 
TGLAxisPainter & operator=(const TGLAxisPainter &)=delete
 
void FormAxisValue(Double_t x, TString &s) const
Returns formatted text suitable for display of value.
 
void SetTextFormat(Double_t min, Double_t max, Double_t binWidth)
Construct print format from given primary bin width.
 
TGLFont::EMode GetFontMode() const
 
void SetUseAxisColors(Bool_t x)
 
void SetAttAxis(TAttAxis *a)
 
void SetLabelPixelFontSize(Int_t fs)
 
void RnrTitle(const TString &title, TGLVector3 &pos, TGLFont::ETextAlignH_e aH, TGLFont::ETextAlignV_e aV) const
Draw title at given position.
 
std::pair< Float_t, Float_t > Lab_t
 
TGLVector3 & RefTMOff(Int_t i)
 
void SetFontMode(TGLFont::EMode m)
 
Double_t fTitle3DFontSize
 
virtual ~TGLAxisPainter()
Destructor.
 
Int_t GetLabelPixelFontSize() const
 
Bool_t GetUseAxisColors() const
 
void PaintAxis(TGLRnrCtx &ctx, TAxis *ax)
GL render TAxis.
 
void SetTitlePixelFontSize(Int_t fs)
 
Concrete class describing an orientated (free) or axis aligned box of 8 vertices.
 
A wrapper class for FTFont.
 
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
 
3 component (x/y/z) vector class.
 
TH1 is the base class of all histogram classes in ROOT.
 
Wrapper for PCRE library (Perl Compatible Regular Expressions).