|
QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
|
The standard (1:1) mapping class for axis numbering. More...
#include <qwt3d_scale.h>
Classes | |
| class | PrivateData |
Protected Member Functions | |
| LinearScale () | |
| Applies LinearAutoScaler::execute() for autoscaling. | |
| int | autoscale (double &a, double &b, double start, double stop, int ivals) override |
| Autoscales the axis. | |
| Scale * | clone () const override |
| Returns a new heap based object utilized from ClonePtr. | |
| void | calculate () override |
| Creates the major and minor vector for the scale. | |
Protected Member Functions inherited from Qwt3D::Scale | |
| virtual QString | ticLabel (unsigned int idx) const |
| Maps the double value at tic-position idx to a final representation. | |
| virtual void | setLimits (double start, double stop) |
| Sets start and stop value for the scale. | |
| virtual void | setMajors (int val) |
| Sets number of major intervals. | |
| virtual void | setMinors (int val) |
| Sets number of minor intervals per major interval. | |
| virtual void | setMajorLimits (double start, double stop) |
| Sets value of first and last major tic. | |
| int | majors () const |
| Returns major intervals. | |
| int | minors () const |
| Returns minor intervals. | |
| const std::vector< double > & | majorTicks () const |
| Returns const reference to major tic positions. | |
| const std::vector< double > & | minorTicks () const |
| Returns const reference to minor tic positions. | |
| void | copyFrom (const Scale &other) |
| Copies Scale base state from another Scale. | |
Friends | |
| class | Axis |
| Indices used to identify an axis. | |
| class | ClonePtr< Scale > |
The standard (1:1) mapping class for axis numbering.
|
protected |
Applies LinearAutoScaler::execute() for autoscaling.
| [out] | a | First major tic after autoscaling |
| [out] | b | Last major tic after autoscaling |
| start | Scale begin | |
| stop | Scale end | |
| ivals | Requested number of major intervals |
|
overrideprotectedvirtual |
Autoscales the axis.
| [out] | a | First major tic after applying autoscaling |
| [out] | b | Last major tic after applying autoscaling |
| start | Scale begin | |
| stop | Scale end | |
| ivals | Requested number of major intervals |
The default implementation sets a=start, b=stop and returns ivals.
Reimplemented from Qwt3D::Scale.
|
overrideprotectedvirtual |
Creates the major and minor vector for the scale.
Implements Qwt3D::Scale.
|
overrideprotectedvirtual |
Returns a new heap based object utilized from ClonePtr.
Implements Qwt3D::Scale.