TGLText Class Reference

#include <TGLText.h>

Inheritance diagram for TGLText:

TAttText TAttText List of all members.

Public Member Functions

 TGLText ()
 TGLText (Double_t x, Double_t y, Double_t z, const char *text)
virtual ~TGLText ()
FTFontGetFont ()
void SetGLTextAngles (Double_t a1, Double_t a2, Double_t a3)
void SetGLTextFont (Font_t fontnumber)
void PaintGLText (Double_t x, Double_t y, Double_t z, const char *text)
void PaintBBox (const char *text)
void BBox (const char *string, float &llx, float &lly, float &llz, float &urx, float &ury, float &urz)
 TGLText ()
 TGLText (Double_t x, Double_t y, Double_t z, const char *text)
virtual ~TGLText ()
FTFontGetFont ()
void SetGLTextAngles (Double_t a1, Double_t a2, Double_t a3)
void SetGLTextFont (Font_t fontnumber)
void PaintGLText (Double_t x, Double_t y, Double_t z, const char *text)
void PaintBBox (const char *text)
void BBox (const char *string, float &llx, float &lly, float &llz, float &urx, float &ury, float &urz)

Private Member Functions

 TGLText (const TGLText &)
TGLTextoperator= (const TGLText &)
 TGLText (const TGLText &)
TGLTextoperator= (const TGLText &)

Private Attributes

Double_t fX
Double_t fY
Double_t fZ
Double_t fAngle1
Double_t fAngle2
Double_t fAngle3
FTFontfGLTextFont
FTFontfGLTextFont

Detailed Description

Definition at line 21 of file TGLText.h.


Constructor & Destructor Documentation

TGLText::TGLText ( const TGLText  )  [private]

TGLText::TGLText (  ) 

TGLText::TGLText ( Double_t  x,
Double_t  y,
Double_t  z,
const char *  text 
)

Definition at line 68 of file TGLText.cxx.

References fAngle1, fAngle2, fAngle3, fGLTextFont, fX, fY, fZ, and SetGLTextFont().

TGLText::~TGLText (  )  [virtual]

Definition at line 84 of file TGLText.cxx.

References fGLTextFont.

TGLText::TGLText ( const TGLText  )  [private]

TGLText::TGLText (  ) 

TGLText::TGLText ( Double_t  x,
Double_t  y,
Double_t  z,
const char *  text 
)

virtual TGLText::~TGLText (  )  [virtual]


Member Function Documentation

TGLText& TGLText::operator= ( const TGLText  )  [private]

FTFont* TGLText::GetFont (  )  [inline]

Definition at line 39 of file TGLText.h.

References fGLTextFont.

void TGLText::SetGLTextAngles ( Double_t  a1,
Double_t  a2,
Double_t  a3 
)

Definition at line 161 of file TGLText.cxx.

References fAngle1, fAngle2, and fAngle3.

Referenced by TGLAxis::PaintGLAxisLabels().

void TGLText::SetGLTextFont ( Font_t  fontnumber  ) 

Definition at line 172 of file TGLText.cxx.

References Error, FTFont::FaceSize(), fGLTextFont, gEnv, TEnv::GetValue(), gSystem, kReadPermission, and TSystem::Which().

Referenced by TGLAxis::PaintGLAxisLabels(), and TGLText().

void TGLText::PaintGLText ( Double_t  x,
Double_t  y,
Double_t  z,
const char *  text 
)

Definition at line 91 of file TGLText.cxx.

References FTFont::BBox(), TGLUtil::Color(), fAngle1, fAngle2, fAngle3, fGLTextFont, TAttText::fTextAlign, TAttText::GetTextColor(), TAttText::GetTextSize(), glPopMatrix(), glPushMatrix(), glRotatef(), glScalef(), glTranslatef(), FTFont::Render(), and s.

Referenced by TGLAxis::PaintGLAxisLabels().

void TGLText::PaintBBox ( const char *  text  ) 

Definition at line 139 of file TGLText.cxx.

References FTFont::BBox(), fGLTextFont, GL_LINES, glBegin(), glEnd(), and glVertex3f().

void TGLText::BBox ( const char *  string,
float &  llx,
float &  lly,
float &  llz,
float &  urx,
float &  ury,
float &  urz 
)

Definition at line 152 of file TGLText.cxx.

References FTFont::BBox(), and fGLTextFont.

TGLText& TGLText::operator= ( const TGLText  )  [private]

FTFont* TGLText::GetFont (  )  [inline]

Definition at line 39 of file TGLText.h.

References fGLTextFont.

void TGLText::SetGLTextAngles ( Double_t  a1,
Double_t  a2,
Double_t  a3 
)

void TGLText::SetGLTextFont ( Font_t  fontnumber  ) 

void TGLText::PaintGLText ( Double_t  x,
Double_t  y,
Double_t  z,
const char *  text 
)

void TGLText::PaintBBox ( const char *  text  ) 

void TGLText::BBox ( const char *  string,
float &  llx,
float &  lly,
float &  llz,
float &  urx,
float &  ury,
float &  urz 
)


Member Data Documentation

Double_t TGLText::fX [private]

Definition at line 26 of file TGLText.h.

Referenced by TGLText().

Double_t TGLText::fY [private]

Definition at line 27 of file TGLText.h.

Referenced by TGLText().

Double_t TGLText::fZ [private]

Definition at line 28 of file TGLText.h.

Referenced by TGLText().

Double_t TGLText::fAngle1 [private]

Definition at line 29 of file TGLText.h.

Referenced by PaintGLText(), SetGLTextAngles(), and TGLText().

Double_t TGLText::fAngle2 [private]

Definition at line 30 of file TGLText.h.

Referenced by PaintGLText(), SetGLTextAngles(), and TGLText().

Double_t TGLText::fAngle3 [private]

Definition at line 31 of file TGLText.h.

Referenced by PaintGLText(), SetGLTextAngles(), and TGLText().

FTFont* TGLText::fGLTextFont [private]

Definition at line 32 of file TGLText.h.

Referenced by BBox(), GetFont(), PaintBBox(), PaintGLText(), SetGLTextFont(), TGLText(), and ~TGLText().

FTFont* TGLText::fGLTextFont [private]

Definition at line 32 of file TGLText.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1