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)

public:
TGLText()
TGLText(Double_t x, Double_t y, Double_t z, const char* text)
virtual~TGLText()
voidBBox(const char* string, float& llx, float& lly, float& llz, float& urx, float& ury, float& urz)
static TClass*Class()
voidTAttText::Copy(TAttText& atttext) const
FTFont*GetFont()
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()
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)MENU
virtual voidTAttText::SetTextAttributes()MENU
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)
private:
TGLText(const TGLText&)
TGLText&operator=(const TGLText&)

Data Members

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

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLText()
TGLText(Double_t x, Double_t y, Double_t z, const char* text)
 TGLext normal constructor.
~TGLText()
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& )
TGLText& operator=(const TGLText& )
FTFont* GetFont()
{ return fGLTextFont; }

Author: Olivier Couet 12/04/2007
Last change: root/gl:$Id: TGLText.h 21807 2008-01-22 15:46:23Z matevz $
Last generated: 2008-12-02 08:46
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.