Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Txq3dFontLabel Class Reference

A Txq3dFontLabel is text drawn at a point with respect to the real-world coordinate system. More...

#include <Txq3dFontLabel.h>

Inheritance diagram for Txq3dFontLabel::

Txq3dLabel Txq3dDrawable TxqDrawable List of all members.

Public Methods

 Txq3dFontLabel ()
 This constructor is default. More...

 Txq3dFontLabel (QString thisLabel, double sx, double sy, double sz)
 This constructor takes a label and x,y postion. More...

virtual ~Txq3dFontLabel ()
 The destructor is default. More...

void setFont (QFont f)
 Sets the font from a QFont. More...

void paintGL ()
 Paints the label text. More...


Protected Attributes

GLuint FontBase
 the font callbase. More...


Detailed Description

A Txq3dFontLabel is text drawn at a point with respect to the real-world coordinate system.

This class can only be built on Unix since it uses the GL/glx.h incude file. It is included but not compiled into the library.

Copyright 1998 - 2001 by Tech-X Corporation

Author:
Kelly G. Luetkemeyer

Version:
Id:
Txq3dFontLabel.h,v 1.3 2001/10/11 19:54:13 kgl Exp

Definition at line 34 of file Txq3dFontLabel.h.


Constructor & Destructor Documentation

Txq3dFontLabel::Txq3dFontLabel ( )
 

This constructor is default.

Txq3dFontLabel::Txq3dFontLabel ( QString thisLabel,
double sx,
double sy,
double sz )
 

This constructor takes a label and x,y postion.

Parameters:
thisLabel   the label to draw
sx   the x position to place the label
sy   the y position to place the label
sz   the z position to place the label

Txq3dFontLabel::~Txq3dFontLabel ( ) [virtual]
 

The destructor is default.


Member Function Documentation

void Txq3dFontLabel::paintGL ( ) [virtual]
 

Paints the label text.

Reimplemented from Txq3dLabel.

void Txq3dFontLabel::setFont ( QFont f ) [virtual]
 

Sets the font from a QFont.

Reimplemented from Txq3dLabel.


Member Data Documentation

GLuint Txq3dFontLabel::FontBase [protected]
 

the font callbase.

Definition at line 74 of file Txq3dFontLabel.h.


The documentation for this class was generated from the following file: Copyright Tech-X Corporation, all rights reserved.