12 #ifndef ROOT_TGLAxisPainter 13 #define ROOT_TGLAxisPainter 32 typedef std::pair <Float_t, Float_t>
Lab_t;
34 typedef std::pair <Float_t, Int_t>
TM_t;
148 void SetAxis3DTitlePos(
TGLRnrCtx &rnrCtx);
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
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.
void SetUseAxisColors(Bool_t x)
void SetTitlePixelFontSize(Int_t fs)
std::vector< TM_t > TMVec_t
Bool_t GetUseAxisColors() const
void SetFontMode(TGLFont::EMode m)
Int_t fTitlePixelFontSize
std::pair< Float_t, Int_t > TM_t
Manages histogram axis attributes.
void FormAxisValue(Double_t x, TString &s) const
Returns formatted text suitable for display of value.
TGLVector3 & RefTMOff(Int_t i)
std::pair< Float_t, Float_t > Lab_t
std::vector< Lab_t > LabVec_t
#define ClassDef(name, id)
Utility class to paint axis in GL.
TGLVector3 & RefTitlePos()
3 component (x/y/z) vector class.
void PaintAxis(TGLRnrCtx &ctx, TAxis *ax)
GL render TAxis.
Class to manage histogram axis.
Int_t fLabelPixelFontSize
TGLAxisPainter & operator=(const TGLAxisPainter &)
Int_t GetLabelPixelFontSize() const
TPMERegexp * fAllZeroesRE
void RnrLabels() const
Render label reading prepared list ov value-pos pairs.
void SetLabelAlign(TGLFont::ETextAlignH_e, TGLFont::ETextAlignV_e)
Set label align.
void SetTitleFont(TGLRnrCtx &rnrCtx, const char *fontName, Int_t pixelSize=64, Double_t font3DSize=-1)
Set title font derived from TAttAxis.
void RnrLines() const
Render axis main line and tick-marks.
Double_t fTitle3DFontSize
void RnrTitle(const TString &title, TGLVector3 &pos, TGLFont::ETextAlignH_e aH, TGLFont::ETextAlignV_e aV) const
Draw title at given position.
Concrete class describing an orientated (free) or axis aligned box of 8 vertices. ...
Wrapper for PCRE library (Perl Compatible Regular Expressions).
void SetLabelPixelFontSize(Int_t fs)
Int_t GetTitlePixelFontSize() const
void SetLabelFont(TGLRnrCtx &rnrCtx, const char *fontName, Int_t pixelSize=64, Double_t font3DSize=-1)
Set label font derived from TAttAxis.
A wrapper class for FTFont.
void SetTextFormat(Double_t min, Double_t max, Double_t binWidth)
Construct print format from given primary bin width.
void LabelsLimits(const char *label, Int_t &first, Int_t &last) const
Find first and last character of a label.
Double_t fLabel3DFontSize
virtual ~TGLAxisPainter()
Destructor.
TGLFont::ETextAlignH_e fLabelAlignH
TGLFont::ETextAlignV_e fLabelAlignV
TGLFont::EMode GetFontMode() const
void SetAttAxis(TAttAxis *a)