GL Text.
To draw a 3D text in a GL window. This class uses uses FTGL to render text. FTGL is a package making the interface between the Free Type fonts and GL.
Public Member Functions | |
| TGLText () | |
| TGLText (Double_t x, Double_t y, Double_t z, const char *text) | |
| TGLext normal constructor.   | |
| ~TGLText () override | |
| void | BBox (const char *string, float &llx, float &lly, float &llz, float &urx, float &ury, float &urz) | 
| Calculate bounding-box for given string.   | |
| FTFont * | GetFont () | 
| TClass * | IsA () const override | 
| void | PaintBBox (const char *text) | 
| void | PaintGLText (Double_t x, Double_t y, Double_t z, const char *text) | 
| Draw text.   | |
| void | SetGLTextAngles (Double_t a1, Double_t a2, Double_t a3) | 
| Set the text rotation angles.   | |
| void | SetGLTextFont (Font_t fontnumber) | 
| void | Streamer (TBuffer &) override | 
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) | 
  Public Member Functions inherited from TAttText | |
| TAttText () | |
| AttText default constructor.   | |
| TAttText (Int_t align, Float_t angle, Color_t color, Style_t font, Float_t tsize) | |
| AttText normal constructor.   | |
| virtual | ~TAttText () | 
| AttText destructor.   | |
| void | Copy (TAttText &atttext) const | 
| Copy this text attributes to a new TAttText.   | |
| virtual Short_t | GetTextAlign () const | 
| Return the text alignment.   | |
| virtual Float_t | GetTextAngle () const | 
| Return the text angle.   | |
| virtual Color_t | GetTextColor () const | 
| Return the text color.   | |
| virtual Font_t | GetTextFont () const | 
| Return the text font.   | |
| virtual Float_t | GetTextSize () const | 
| Return the text size.   | |
| virtual Float_t | GetTextSizePercent (Float_t size) | 
| Return the text in percent of the pad size.   | |
| virtual void | Modify () | 
| Change current text attributes if necessary.   | |
| virtual void | ResetAttText (Option_t *toption="") | 
| Reset this text attributes to default values.   | |
| virtual void | SaveTextAttributes (std::ostream &out, const char *name, Int_t alidef=12, Float_t angdef=0, Int_t coldef=1, Int_t fondef=61, Float_t sizdef=1) | 
| Save text attributes as C++ statement(s) on output stream out.   | |
| virtual void | SetTextAlign (Short_t align=11) | 
| Set the text alignment.   | |
| virtual void | SetTextAngle (Float_t tangle=0) | 
| Set the text angle.   | |
| virtual void | SetTextAttributes () | 
| Invoke the DialogCanvas Text attributes.   | |
| virtual void | SetTextColor (Color_t tcolor=1) | 
| Set the text color.   | |
| virtual void | SetTextColorAlpha (Color_t tcolor, Float_t talpha) | 
| Set a transparent text color.   | |
| virtual void | SetTextFont (Font_t tfont=62) | 
| Set the text font.   | |
| virtual void | SetTextSize (Float_t tsize=1) | 
| Set the text size.   | |
| virtual void | SetTextSizePixels (Int_t npixels) | 
| Set the text size in pixel.   | |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) | 
Static Public Member Functions | |
| static TClass * | Class () | 
| static const char * | Class_Name () | 
| static constexpr Version_t | Class_Version () | 
| static const char * | DeclFileName () | 
  Static Public Member Functions inherited from TAttText | |
| static TClass * | Class () | 
| static const char * | Class_Name () | 
| static constexpr Version_t | Class_Version () | 
| static const char * | DeclFileName () | 
Private Member Functions | |
| TGLText (const TGLText &)=delete | |
| TGLText & | operator= (const TGLText &)=delete | 
Private Attributes | |
| Double_t | fAngle1 | 
| Double_t | fAngle2 | 
| Double_t | fAngle3 | 
| FTFont * | fGLTextFont | 
| Double_t | fX | 
| Double_t | fY | 
| Double_t | fZ | 
Additional Inherited Members | |
  Protected Attributes inherited from TAttText | |
| Short_t | fTextAlign | 
| Text alignment.   | |
| Float_t | fTextAngle | 
| Text angle.   | |
| Color_t | fTextColor | 
| Text color.   | |
| Font_t | fTextFont | 
| Text font.   | |
| Float_t | fTextSize | 
| Text size.   | |
#include <TGLText.h>
| TGLText::TGLText | ( | ) | 
Definition at line 54 of file TGLText.cxx.
TGLext normal constructor.
Definition at line 70 of file TGLText.cxx.
      
  | 
  override | 
Definition at line 85 of file TGLText.cxx.
| void TGLText::BBox | ( | const char * | string, | 
| float & | llx, | ||
| float & | lly, | ||
| float & | llz, | ||
| float & | urx, | ||
| float & | ury, | ||
| float & | urz ) | 
Calculate bounding-box for given string.
Definition at line 156 of file TGLText.cxx.
      
  | 
  inlineoverridevirtual | 
| void TGLText::PaintBBox | ( | const char * | text | ) | 
Definition at line 141 of file TGLText.cxx.
Draw text.
Definition at line 94 of file TGLText.cxx.
Set the text rotation angles.
Definition at line 165 of file TGLText.cxx.
| void TGLText::SetGLTextFont | ( | Font_t | fontnumber | ) | 
Definition at line 175 of file TGLText.cxx.
      
  | 
  inline |