#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 () |
|
Constructs standard axis.
|
|
Constructs a new axis with specified limits.
|
|
Draws axis.
Reimplemented from Drawable. |
|
Positionate axis.
|
|
Returns axis' position.
|
|
Returns axis' beginning position.
|
|
Returns axis' ending position.
|
|
Returns axis' length.
|
|
Sets tics lengths in world coordinates |
|
Returns tics lengths.
|
|
Sets tic orientation.
|
|
Same function as above.
|
|
Returns tic orientation.
|
|
Sets two-sided tics (default is false).
|
|
Sets font for axis label.
|
|
Sets font for axis label.
|
|
Returns current label font.
|
|
Sets label content.
|
|
Sets label position in conjunction with an anchoring strategy |
|
Sets color for label.
|
|
Turns label drawing on or off.
|
|
Shifts label in device coordinates dependent on anchor;.
|
|
Turns scale drawing on or off.
|
|
Returns, if scale drawing is on or off.
|
|
Sets one of the predefined scaling types.
|
|
This variant sets a user-defined scale object. Use with a heap based initialized pointer only. The axis adopts ownership. |
|
Turns number drawing on or off.
|
|
Returns, if number drawing is on or off.
|
|
Sets the color for axes numbers.
|
|
Returns the color for axes numbers |
|
Sets font for numbering.
|
|
Overloaded member, works like the above function.
|
|
Returns current numbering font.
|
|
Sets anchor position for numbers.
|
|
Shifts axis numbers in device coordinates dependent on anchor;.
|
|
Turns Autoscaling on or off.
|
|
actual Autoscaling mode
|
|
Requests major intervals (maybe changed, if autoscaling is present).
|
|
Requests minor intervals.
|
|
Returns number of major intervals.
|
|
Returns number of minor intervals.
|
|
Returns positions for actual major tics (also if invisible).
|
|
Returns positions for actual minor tics (also if invisible).
|
|
Sets line width for axis components.
|
|
Returns line width for axis body.
|
|
Returns Line width for major tics.
|
|
Returns Line width for minor tics.
|
|
Sets interval.
|
|
Returns axis interval.
|
|
Enforces recalculation of ticmark positions.
|