Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

tpc_tracking::gui::glText Class Reference

#include <opengl.h>

List of all members.

Public Member Functions

 glText ()
 ~glText ()
void init ()
void draw_text_2d (double x, double y, const char *str)
void draw_text_3d (double x, double y, double z, const char *str)
void select (glFont *font)
 glText ()
 ~glText ()
void init ()
void draw_text_2d (double x, double y, const char *str)
void draw_text_3d (double x, double y, double z, const char *str)
void select (glFont *font)

Public Attributes

int m_screen_pixel_height
int m_screen_pixel_width
GLuint m_current_font_base
glFont m_default_font
glFontm_font
glFontm_font


Constructor & Destructor Documentation

tpc_tracking::gui::glText::glText  ) 
 

Definition at line 206 of file opengl.cc.

References m_current_font_base, and m_font.

tpc_tracking::gui::glText::~glText  ) 
 

Definition at line 210 of file opengl.cc.

tpc_tracking::gui::glText::glText  ) 
 

tpc_tracking::gui::glText::~glText  ) 
 


Member Function Documentation

void tpc_tracking::gui::glText::draw_text_2d double  x,
double  y,
const char *  str
 

void tpc_tracking::gui::glText::draw_text_2d double  x,
double  y,
const char *  str
 

Definition at line 275 of file opengl.cc.

References tpc_tracking::gui::glFont::get_pixel_height(), tpc_tracking::gui::glFont::get_pixel_width(), m_current_font_base, and m_font.

Referenced by tpc_tracking::SimTrack::gl_draw_2d(), and tpc_tracking::gui::glTextStream::~glTextStream().

void tpc_tracking::gui::glText::draw_text_3d double  x,
double  y,
double  z,
const char *  str
 

void tpc_tracking::gui::glText::draw_text_3d double  x,
double  y,
double  z,
const char *  str
 

Definition at line 268 of file opengl.cc.

References m_current_font_base.

Referenced by tpc_tracking::SimTrack::gl_draw_3d().

void tpc_tracking::gui::glText::init  ) 
 

void tpc_tracking::gui::glText::init  ) 
 

Definition at line 259 of file opengl.cc.

References tpc_tracking::gui::glFont::create(), tpc_tracking::gui::glFont::m_base, m_current_font_base, m_default_font, and m_font.

Referenced by tpc_tracking::gui::glWindow::realize_event().

void tpc_tracking::gui::glText::select glFont font  ) 
 

void tpc_tracking::gui::glText::select glFont font  ) 
 

Definition at line 264 of file opengl.cc.

References tpc_tracking::gui::glFont::m_base, m_current_font_base, and m_font.

Referenced by tpc_tracking::gui::glTextStream::~glTextStream().


Member Data Documentation

GLuint tpc_tracking::gui::glText::m_current_font_base
 

Definition at line 109 of file opengl.h.

Referenced by draw_text_2d(), draw_text_3d(), glText(), init(), and select().

glFont tpc_tracking::gui::glText::m_default_font
 

Definition at line 110 of file opengl.h.

Referenced by init().

glFont* tpc_tracking::gui::glText::m_font
 

Definition at line 111 of file opengl.h.

glFont* tpc_tracking::gui::glText::m_font
 

Definition at line 111 of file opengl.h.

Referenced by draw_text_2d(), glText(), init(), and select().

int tpc_tracking::gui::glText::m_screen_pixel_height
 

Definition at line 107 of file opengl.h.

Referenced by tpc_tracking::gui::glWindow::configure_event().

int tpc_tracking::gui::glText::m_screen_pixel_width
 

Definition at line 108 of file opengl.h.

Referenced by tpc_tracking::gui::glWindow::configure_event().


The documentation for this class was generated from the following files:
Generated on Sun Jun 3 06:32:39 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1