#include <Txq3dLabel.h>
Inheritance diagram for Txq3dLabel::

Public Methods | |
| Txq3dLabel () | |
| This constructor is default. More... | |
| Txq3dLabel (QString thisLabel, double sx, double sy, double sz) | |
| This constructor takes a label and x,y postion. More... | |
| virtual | ~Txq3dLabel () |
| The destructor is default. More... | |
| void | setLabel (QString label) |
| Set the label to draw. More... | |
| void | setLabel (const char *label) |
| Set the label to draw. More... | |
| QString | getLabel () |
| Get the label. More... | |
| void | setLocation (double x, double y, double z) |
| Set the point in the real-world coordinate system. More... | |
| void | setLocation (int x, int y) |
| Overloaded signature to prevent compiler warnings. More... | |
| std::vector<double> | getLocation () |
| Get the point in the real-world coordinate system. More... | |
| virtual void | setFont (QFont f) |
| Set the font using QFont. More... | |
| QFont | getFont () |
| Get the label's font. More... | |
| void | setFontScale (double fs) |
| Set the font scaling factor. More... | |
| double | getFontScale () |
| Get the font scaling factor. More... | |
| void | setFontThickness (double ft) |
| Set the font thickness. More... | |
| double | getFontThickness () |
| Get the font thickness. More... | |
| virtual void | paintGL ()=0 |
| Paints the label text. More... | |
Protected Methods | |
| void | dump (QTextStream *ts) |
| Dump the object contents to the text stream ts. More... | |
Protected Attributes | |
| QFont | font |
| The font. More... | |
| QString | label |
| The label to draw. More... | |
| std::vector<double> | point |
| The point location. More... | |
| double | xPoint |
| The x point location. More... | |
| double | yPoint |
| The y point location. More... | |
| double | zPoint |
| The z point location. More... | |
| double | fontScale |
| The font scaling factor. More... | |
| double | fontThickness |
| The font thickness. More... | |
This class is abstract since it contains a pure virtual method to paint the object.
Copyright 1998 - 2001 by Tech-X Corporation
Definition at line 32 of file Txq3dLabel.h.
|
|
This constructor is default.
|
|
|
This constructor takes a label and x,y postion.
|
|
|
The destructor is default.
|
|
|
Dump the object contents to the text stream ts.
Reimplemented from TxqDrawable. |
|
|
Get the label's font.
|
|
|
Get the font scaling factor.
|
|
|
Get the font thickness.
|
|
|
Get the label.
Reimplemented from TxqDrawable. |
|
|
Get the point in the real-world coordinate system.
|
|
|
Paints the label text. This method is pure virtual Reimplemented from Txq3dDrawable. Reimplemented in Txq3dFontLabel, and Txq3dStrokeLabel. |
|
|
Set the font using QFont.
Reimplemented in Txq3dFontLabel. |
|
|
Set the font scaling factor.
|
|
|
Set the font thickness.
|
|
|
Set the label to draw.
|
|
|
Set the label to draw.
|
|
|
Overloaded signature to prevent compiler warnings. This should not be used unless one want the Z-value to default to 0.0
Reimplemented from TxqDrawable. Definition at line 91 of file Txq3dLabel.h. |
|
|
Set the point in the real-world coordinate system.
|
|
|
The font.
Definition at line 154 of file Txq3dLabel.h. |
|
|
The font scaling factor.
Definition at line 184 of file Txq3dLabel.h. |
|
|
The font thickness.
Definition at line 189 of file Txq3dLabel.h. |
|
|
The label to draw.
Reimplemented from TxqDrawable. Definition at line 159 of file Txq3dLabel.h. |
|
|
The point location.
Definition at line 164 of file Txq3dLabel.h. |
|
|
The x point location.
Definition at line 169 of file Txq3dLabel.h. |
|
|
The y point location.
Definition at line 174 of file Txq3dLabel.h. |
|
|
The z point location.
Definition at line 179 of file Txq3dLabel.h. |
Copyright Tech-X Corporation, all rights reserved.