#include <qwt3d_axis.h>
Inheritance diagram for Axis:

Public Member Functions | |
| Axis () | |
| Axis (Qwt3D::Triple beg, Qwt3D::Triple end) | |
| virtual void | draw () |
| void | setPosition (const Qwt3D::Triple &beg, const Qwt3D::Triple &end) |
| void | position (Qwt3D::Triple &beg, Qwt3D::Triple &end) const |
| Qwt3D::Triple | begin () const |
| Qwt3D::Triple | end () const |
| double | length () const |
| void | setTicLength (double majorl, double minorl) |
| void | ticLength (double &majorl, double &minorl) const |
| void | setTicOrientation (double tx, double ty, double tz) |
| void | setTicOrientation (const Qwt3D::Triple &val) |
| Qwt3D::Triple | ticOrientation () const |
| void | setSymmetricTics (bool b) |
| void | setLabelFont (QString const &family, int pointSize, int weight=QFont::Normal, bool italic=false) |
| void | setLabelFont (QFont const &font) |
| QFont const & | labelFont () const |
| void | setLabelString (QString const &name) |
| void | setLabelPosition (const Qwt3D::Triple &pos, Qwt3D::ANCHOR) |
| void | setLabelColor (Qwt3D::RGBA col) |
| void | setLabel (bool d) |
| void | adjustLabel (int val) |
| void | setScaling (bool d) |
| bool | scaling () const |
| void | setScale (Qwt3D::SCALETYPE) |
| void | setScale (Scale *item) |
| void | setNumbers (bool d) |
| bool | numbers () const |
| void | setNumberColor (Qwt3D::RGBA col) |
| Qwt3D::RGBA | numberColor () const |
| void | setNumberFont (QString const &family, int pointSize, int weight=QFont::Normal, bool italic=false) |
| void | setNumberFont (QFont const &) |
| QFont const & | numberFont () const |
| void | setNumberAnchor (Qwt3D::ANCHOR a) |
| void | adjustNumbers (int val) |
| void | setAutoScale (bool val=true) |
| bool | autoScale () const |
| void | setMajors (int val) |
| void | setMinors (int val) |
| int | majors () const |
| int | minors () const |
| Qwt3D::TripleField const & | majorPositions () const |
| Qwt3D::TripleField const & | minorPositions () const |
| void | setLineWidth (double val, double majfac=0.9, double minfac=0.5) |
| double | lineWidth () const |
| double | majLineWidth () const |
| double | minLineWidth () const |
| void | setLimits (double start, double stop) |
| void | limits (double &start, double &stop) const |
| void | recalculateTics () |
| Axis | ( | ) |
Constructs standard axis.
| Axis | ( | Qwt3D::Triple | beg, | |
| Qwt3D::Triple | end | |||
| ) |
Constructs a new axis with specified limits.
| void draw | ( | ) | [virtual] |
| void setPosition | ( | const Qwt3D::Triple & | beg, | |
| const Qwt3D::Triple & | end | |||
| ) |
Positionate axis.
| void position | ( | Qwt3D::Triple & | beg, | |
| Qwt3D::Triple & | end | |||
| ) | const [inline] |
Returns axis' position.
| Qwt3D::Triple begin | ( | ) | const [inline] |
Returns axis' beginning position.
| Qwt3D::Triple end | ( | ) | const [inline] |
Returns axis' ending position.
| double length | ( | ) | const [inline] |
Returns axis' length.
| void setTicLength | ( | double | majorl, | |
| double | minorl | |||
| ) |
Sets tics lengths in world coordinates
| void ticLength | ( | double & | majorl, | |
| double & | minorl | |||
| ) | const [inline] |
Returns tics lengths.
| void setTicOrientation | ( | double | tx, | |
| double | ty, | |||
| double | tz | |||
| ) |
Sets tic orientation.
| void setTicOrientation | ( | const Qwt3D::Triple & | val | ) |
Same function as above.
| Qwt3D::Triple ticOrientation | ( | ) | const [inline] |
Returns tic orientation.
| void setSymmetricTics | ( | bool | b | ) | [inline] |
Sets two-sided tics (default is false).
| void setLabelFont | ( | QString const & | family, | |
| int | pointSize, | |||
| int | weight = QFont::Normal, |
|||
| bool | italic = false | |||
| ) |
Sets font for axis label.
| void setLabelFont | ( | QFont const & | font | ) |
Sets font for axis label.
| QFont const& labelFont | ( | ) | const [inline] |
Returns current label font.
| void setLabelString | ( | QString const & | name | ) |
Sets label content.
| void setLabelPosition | ( | const Qwt3D::Triple & | pos, | |
| Qwt3D::ANCHOR | an | |||
| ) |
Sets label position in conjunction with an anchoring strategy
| void setLabelColor | ( | Qwt3D::RGBA | col | ) |
Sets color for label.
| void setLabel | ( | bool | d | ) | [inline] |
Turns label drawing on or off.
| void adjustLabel | ( | int | val | ) | [inline] |
Shifts label in device coordinates dependent on anchor;.
| void setScaling | ( | bool | d | ) | [inline] |
Turns scale drawing on or off.
| bool scaling | ( | ) | const [inline] |
Returns, if scale drawing is on or off.
| void setScale | ( | Qwt3D::SCALETYPE | val | ) |
Sets one of the predefined scaling types.
| void setScale | ( | Scale * | val | ) |
This variant sets a user-defined scale object. Use with a heap based initialized pointer only. The axis adopts ownership.
| void setNumbers | ( | bool | d | ) | [inline] |
Turns number drawing on or off.
| bool numbers | ( | ) | const [inline] |
Returns, if number drawing is on or off.
| void setNumberColor | ( | Qwt3D::RGBA | col | ) |
Sets the color for axes numbers.
| Qwt3D::RGBA numberColor | ( | ) | const [inline] |
Returns the color for axes numbers
| void setNumberFont | ( | QString const & | family, | |
| int | pointSize, | |||
| int | weight = QFont::Normal, |
|||
| bool | italic = false | |||
| ) |
Sets font for numbering.
| void setNumberFont | ( | QFont const & | ) |
Overloaded member, works like the above function.
| QFont const& numberFont | ( | ) | const [inline] |
Returns current numbering font.
| void setNumberAnchor | ( | Qwt3D::ANCHOR | a | ) | [inline] |
Sets anchor position for numbers.
| void adjustNumbers | ( | int | val | ) | [inline] |
Shifts axis numbers in device coordinates dependent on anchor;.
| void setAutoScale | ( | bool | val = true |
) | [inline] |
Turns Autoscaling on or off.
| bool autoScale | ( | ) | const [inline] |
actual Autoscaling mode
| void setMajors | ( | int | val | ) |
Requests major intervals (maybe changed, if autoscaling is present).
| void setMinors | ( | int | val | ) |
| int majors | ( | ) | const [inline] |
Returns number of major intervals.
| int minors | ( | ) | const [inline] |
Returns number of minor intervals.
| Qwt3D::TripleField const& majorPositions | ( | ) | const [inline] |
Returns positions for actual major tics (also if invisible).
| Qwt3D::TripleField const& minorPositions | ( | ) | const [inline] |
Returns positions for actual minor tics (also if invisible).
| void setLineWidth | ( | double | val, | |
| double | majfac = 0.9, |
|||
| double | minfac = 0.5 | |||
| ) |
Sets line width for axis components.
| val | thickness for axis base line | |
| majfac | relative thickness for axis major tics (majfac*val) | |
| minfac | relative thickness for axis minor tics (minfac*val) |
| double lineWidth | ( | ) | const [inline] |
Returns line width for axis body.
| double majLineWidth | ( | ) | const [inline] |
Returns Line width for major tics.
| double minLineWidth | ( | ) | const [inline] |
Returns Line width for minor tics.
| void setLimits | ( | double | start, | |
| double | stop | |||
| ) | [inline] |
Sets interval.
| void limits | ( | double & | start, | |
| double & | stop | |||
| ) | const [inline] |
Returns axis interval.
| void recalculateTics | ( | ) |
Enforces recalculation of ticmark positions.
1.5.2