class TGLText: public TAttText

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.

Function Members (Methods)

TGLText(const TGLText&)
TGLText(Double_t x, Double_t y, Double_t z, const char* text)
voidBBox(const char* string, float& llx, float& lly, float& llz, float& urx, float& ury, float& urz)
static TClass*Class()
voidTAttText::Copy(TAttText& atttext) const
virtual Short_tTAttText::GetTextAlign() const
virtual Float_tTAttText::GetTextAngle() const
virtual Color_tTAttText::GetTextColor() const
virtual Font_tTAttText::GetTextFont() const
virtual Float_tTAttText::GetTextSize() const
virtual TClass*IsA() const
virtual voidTAttText::Modify()
TGLText&operator=(const TGLText&)
voidPaintBBox(const char* text)
voidPaintGLText(Double_t x, Double_t y, Double_t z, const char* text)
virtual voidTAttText::ResetAttText(Option_t* toption = "")
virtual voidTAttText::SaveTextAttributes(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)
voidSetGLTextAngles(Double_t a1, Double_t a2, Double_t a3)
voidSetGLTextFont(Font_t fontnumber)
virtual voidTAttText::SetTextAlign(Short_t align = 11)
virtual voidTAttText::SetTextAngle(Float_t tangle = 0)
virtual voidTAttText::SetTextAttributes()
virtual voidTAttText::SetTextColor(Color_t tcolor = 1)
virtual voidTAttText::SetTextFont(Font_t tfont = 62)
virtual voidTAttText::SetTextSize(Float_t tsize = 1)
virtual voidTAttText::SetTextSizePixels(Int_t npixels)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

Short_tTAttText::fTextAlignText alignment
Float_tTAttText::fTextAngleText angle
Color_tTAttText::fTextColorText color index
Font_tTAttText::fTextFontText font number
Float_tTAttText::fTextSizeText size
Double_tfAngle11st angle.
Double_tfAngle22nd angle.
Double_tfAngle33rd angle.
Double_tfXX position
Double_tfYY position
Double_tfZZ position

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLText(const TGLText& )
TGLText(Double_t x, Double_t y, Double_t z, const char* text)
 TGLext normal constructor.
void PaintGLText(Double_t x, Double_t y, Double_t z, const char* text)
 Draw text
void PaintBBox(const char* text)
void BBox(const char* string, float& llx, float& lly, float& llz, float& urx, float& ury, float& urz)
 Calculate bounding-box for given string.
void SetGLTextAngles(Double_t a1, Double_t a2, Double_t a3)
 Set the text rotation angles.
void SetGLTextFont(Font_t fontnumber)
TGLText(const TGLText& )
FTFont* GetFont()
{ return fGLTextFont; }

Author: Olivier Couet 12/04/2007
Last update: root/gl:$Id: TGLText.h 20882 2007-11-19 11:31:26Z rdm $
Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.