Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGLAxisPainterBox Class Reference

Painter class for axes encompassing a 3D box.

Definition at line 141 of file TGLAxisPainter.h.

Public Member Functions

 TGLAxisPainterBox ()
 Constructor.
 
virtual ~TGLAxisPainterBox ()
 Destructor.
 
void DrawAxis3D (TGLRnrCtx &rnrCtx)
 Draw XYZ axis with bitmap font.
 
virtual TClassIsA () const
 
void PlotStandard (TGLRnrCtx &rnrCtx, TH1 *histo, const TGLBoundingBox &bbox)
 
void SetAxis3DTitlePos (TGLRnrCtx &rnrCtx)
 Get position of axes and titles from projected corners.
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TGLAxisPainter
 TGLAxisPainter ()
 
virtual ~TGLAxisPainter ()
 Destructor.
 
TAttAxisGetAttAxis ()
 
TGLFont::EMode GetFontMode () const
 
Int_t GetLabelPixelFontSize () const
 
Int_t GetTitlePixelFontSize () const
 
Int_t GetTMNDim () const
 
Bool_t GetUseAxisColors () const
 
void PaintAxis (TGLRnrCtx &ctx, TAxis *ax)
 GL render TAxis.
 
TGLVector3RefDir ()
 
LabVec_tRefLabVec ()
 
TGLVector3RefTitlePos ()
 
TGLVector3RefTMOff (Int_t i)
 
TMVec_tRefTMVec ()
 
void RnrLabels () const
 Render label reading prepared list ov value-pos pairs.
 
void RnrLines () const
 Render axis main line and tick-marks.
 
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 RnrTitle (const TString &title, TGLVector3 &pos, TGLFont::ETextAlignH_e aH, TGLFont::ETextAlignV_e aV) const
 Draw title at given position.
 
void SetAttAxis (TAttAxis *a)
 
void SetFontMode (TGLFont::EMode m)
 
void SetLabelAlign (TGLFont::ETextAlignH_e, TGLFont::ETextAlignV_e)
 Set label align.
 
void SetLabelFont (TGLRnrCtx &rnrCtx, const char *fontName, Int_t pixelSize=64, Double_t font3DSize=-1)
 Set label font derived from TAttAxis.
 
void SetLabelPixelFontSize (Int_t fs)
 
void SetTextFormat (Double_t min, Double_t max, Double_t binWidth)
 Construct print format from given primary bin width.
 
void SetTitleFont (TGLRnrCtx &rnrCtx, const char *fontName, Int_t pixelSize=64, Double_t font3DSize=-1)
 Set title font derived from TAttAxis.
 
void SetTitlePixelFontSize (Int_t fs)
 
void SetTMNDim (Int_t x)
 
void SetUseAxisColors (Bool_t x)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TGLAxisPainter
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Attributes

TAxisfAxis [3]
 
TGLVector3 fAxisTitlePos [3]
 
- Protected Attributes inherited from TGLAxisPainter
TPMERegexpfAllZeroesRE
 
TAttAxisfAttAxis
 
TGLVector3 fDir
 
TGLFont::EMode fFontMode
 
Double_t fLabel3DFontSize
 
TGLFont::ETextAlignH_e fLabelAlignH
 
TGLFont::ETextAlignV_e fLabelAlignV
 
Int_t fLabelPixelFontSize
 
LabVec_t fLabVec
 
Double_t fTitle3DFontSize
 
Int_t fTitlePixelFontSize
 
TGLVector3 fTitlePos
 
Int_t fTMNDim
 
TGLVector3 fTMOff [3]
 
TMVec_t fTMVec
 
Bool_t fUseAxisColors
 

Additional Inherited Members

- Public Types inherited from TGLAxisPainter
typedef std::pair< Float_t, Float_tLab_t
 
typedef std::vector< Lab_tLabVec_t
 
typedef std::pair< Float_t, Int_tTM_t
 
typedef std::vector< TM_tTMVec_t
 

#include <TGLAxisPainter.h>

Inheritance diagram for TGLAxisPainterBox:
[legend]

Constructor & Destructor Documentation

◆ TGLAxisPainterBox()

TGLAxisPainterBox::TGLAxisPainterBox ( )

Constructor.

Definition at line 451 of file TGLAxisPainter.cxx.

◆ ~TGLAxisPainterBox()

TGLAxisPainterBox::~TGLAxisPainterBox ( )
virtual

Destructor.

Definition at line 460 of file TGLAxisPainter.cxx.

Member Function Documentation

◆ Class()

static TClass * TGLAxisPainterBox::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TGLAxisPainterBox::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TGLAxisPainterBox::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 156 of file TGLAxisPainter.h.

◆ DeclFileName()

static const char * TGLAxisPainterBox::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 156 of file TGLAxisPainter.h.

◆ DrawAxis3D()

void TGLAxisPainterBox::DrawAxis3D ( TGLRnrCtx rnrCtx)

Draw XYZ axis with bitmap font.

Definition at line 549 of file TGLAxisPainter.cxx.

◆ IsA()

virtual TClass * TGLAxisPainterBox::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented from TGLAxisPainter.

Definition at line 156 of file TGLAxisPainter.h.

◆ PlotStandard()

void TGLAxisPainterBox::PlotStandard ( TGLRnrCtx rnrCtx,
TH1 histo,
const TGLBoundingBox bbox 
)

Definition at line 616 of file TGLAxisPainter.cxx.

◆ SetAxis3DTitlePos()

void TGLAxisPainterBox::SetAxis3DTitlePos ( TGLRnrCtx rnrCtx)

Get position of axes and titles from projected corners.

Definition at line 467 of file TGLAxisPainter.cxx.

◆ Streamer()

virtual void TGLAxisPainterBox::Streamer ( TBuffer )
virtual

Reimplemented from TGLAxisPainter.

◆ StreamerNVirtual()

void TGLAxisPainterBox::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 156 of file TGLAxisPainter.h.

Member Data Documentation

◆ fAxis

TAxis* TGLAxisPainterBox::fAxis[3]
protected

Definition at line 145 of file TGLAxisPainter.h.

◆ fAxisTitlePos

TGLVector3 TGLAxisPainterBox::fAxisTitlePos[3]
protected

Definition at line 144 of file TGLAxisPainter.h.

Libraries for TGLAxisPainterBox:

The documentation for this class was generated from the following files: