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

Public Methods | |
| Txq3dAxis () | |
| Construct a three dimensional axis using default values. More... | |
| virtual | ~Txq3dAxis () |
| The destructor is default. More... | |
| void | setOrientation (QString direction) |
| Set the orientation of the axis. More... | |
| QString | getOrientation () |
| Return the orientation placement. More... | |
| void | setLocation (double x, double y, double z) |
| Set the location point to reference the axes For example if the orientation direction is "X" then, setLocation(-1., -1., 1.); would set the x,y axes to cross at -1, -1 and the x-axis would be in the zplane at 1.0. More... | |
| void | setLocation (int x, int y) |
| overloaded signature to prevent warnings. More... | |
| void | setTitleLabel (QString lablel) |
| Set the title label. More... | |
| void | setTitleLabel (QString lablel, double xpos, double ypos, double zpos) |
| Set the title label. More... | |
| void | setTitleLabel (QString label, double xpos, double ypos) |
| Set the title label. More... | |
| QString | getTitleLabel () |
| Get the title label. More... | |
| void | setTitleLabelFont (QFont f) |
| Set the title label font. More... | |
| void | setTitleLabelColor (QColor c) |
| Set the title label color. More... | |
| int | getAxisMaxWidth () |
| Get the maximum axis width. More... | |
| int | getAxisMaxHeight () |
| Get the max axis height. More... | |
| void | paintGL () |
| Paints the Txq3dAxis. More... | |
Private Methods | |
| void | paintAxis () |
| Paints the Axis. More... | |
| void | paintTickMarks () |
| Paints the TickMarks. More... | |
| void | paintLogTickMarks () |
| Paints the log TickMarks. More... | |
| void | paintLabels () |
| Paints the Labels. More... | |
Private Attributes | |
| Txq3dStrokeLabel | titleLabel |
| The title label. More... | |
| bool | xAxis |
| The axis orientation bool flag for the x axis. More... | |
| bool | yAxis |
| The axis orientation bool flag for the y axis. More... | |
| bool | zAxis |
| The axis orientation bool flag for the z axis. More... | |
| double | xLoc |
| The axis location point for the x axis. More... | |
| double | yLoc |
| The axis location point for the y axis. More... | |
| double | zLoc |
| The axis location point for the z axis. More... | |
| double | yAxisTitleX |
| The X location of the y axis label. More... | |
| double | zAxisTitleX |
| The x location of the z axis label. More... | |
| double | xAxisTitleY |
| The Y location of the x axis label. More... | |
This object can be drawn on a Txq3dCanvas using OpenGL
Copyright 2000 by Tech-X Corporation
Definition at line 36 of file Txq3dAxis.h.
|
|
Construct a three dimensional axis using default values.
|
|
|
The destructor is default.
|
|
|
Get the max axis height.
Reimplemented from TxqAxis. |
|
|
Get the maximum axis width.
Reimplemented from TxqAxis. |
|
|
Return the orientation placement.
Reimplemented from TxqAxis. |
|
|
Get the title label.
Reimplemented from TxqAxis. |
|
|
Paints the Axis.
|
|
|
Paints the Txq3dAxis.
Reimplemented from Txq3dDrawable. |
|
|
Paints the Labels.
|
|
|
Paints the log TickMarks.
|
|
|
Paints the TickMarks.
|
|
|
overloaded signature to prevent warnings.
Reimplemented from TxqDrawable. Definition at line 87 of file Txq3dAxis.h. |
|
|
Set the location point to reference the axes For example if the orientation direction is "X" then, setLocation(-1., -1., 1.); would set the x,y axes to cross at -1, -1 and the x-axis would be in the zplane at 1.0.
|
|
|
Set the orientation of the axis. The orientation is either horizontal or vertical and can be specified with these QStrings: X, x Y, y Z, z
Reimplemented from TxqAxis. |
|
|
Set the title label. This is the overloaded method from the base class to prevent compiler warnings but should not be used, unless one wants the zpos to be defaulted to 0.0.
Reimplemented from TxqAxis. Definition at line 114 of file Txq3dAxis.h. |
|
|
Set the title label.
|
|
|
Set the title label.
Reimplemented from TxqAxis. |
|
|
Set the title label color.
Reimplemented from TxqAxis. |
|
|
Set the title label font.
Reimplemented from TxqAxis. |
|
|
The title label.
Definition at line 186 of file Txq3dAxis.h. |
|
|
The axis orientation bool flag for the x axis.
Reimplemented from TxqAxis. Definition at line 191 of file Txq3dAxis.h. |
|
|
The Y location of the x axis label.
Definition at line 227 of file Txq3dAxis.h. |
|
|
The axis location point for the x axis.
Definition at line 204 of file Txq3dAxis.h. |
|
|
The axis orientation bool flag for the y axis.
Reimplemented from TxqAxis. Definition at line 195 of file Txq3dAxis.h. |
|
|
The X location of the y axis label.
Definition at line 217 of file Txq3dAxis.h. |
|
|
The axis location point for the y axis.
Definition at line 208 of file Txq3dAxis.h. |
|
|
The axis orientation bool flag for the z axis.
Reimplemented from TxqAxis. Definition at line 199 of file Txq3dAxis.h. |
|
|
The x location of the z axis label.
Definition at line 222 of file Txq3dAxis.h. |
|
|
The axis location point for the z axis.
Definition at line 212 of file Txq3dAxis.h. |
Copyright Tech-X Corporation, all rights reserved.