#include <qwt3d_scale.h>
Inheritance diagram for Scale:

Protected Member Functions | |
| virtual QString | ticLabel (unsigned int idx) const |
| virtual void | setLimits (double start, double stop) |
| virtual void | setMajors (int val) |
| virtual void | setMinors (int val) |
| virtual void | setMajorLimits (double start, double stop) |
| int | majors () const |
| int | minors () const |
| virtual Scale * | clone () const =0 |
| virtual void | calculate ()=0 |
| virtual int | autoscale (double &a, double &b, double start, double stop, int ivals) |
Protected Attributes | |
| std::vector< double > | majors_p |
| std::vector< double > | minors_p |
| double | start_p |
| double | stop_p |
| int | majorintervals_p |
| int | minorintervals_p |
| double | mstart_p |
| double | mstop_p |
|
|
The function maps the double value at tic-position idx to a final representation. The default return value is simply the tic values QString representation. Overwrite this function, if you plan to transform the value in some way. See e.g. LogScale::ticLabel.
Reimplemented in LogScale. |
|
||||||||||||
|
Sets start and stop value for the scale;.
|
|
|
Sets number of major intervals.
|
|
|
Sets number of minor intervals per major interval.
Reimplemented in LogScale. |
|
||||||||||||
|
Sets value of first major tic.
|
|
|
Returns major intervals.
|
|
|
Returns minor intervals.
|
|
|
Derived classes should return a new heap based object here.
Implemented in LinearScale, and LogScale. |
|
|
This function should setup the 2 vectors for major and minor positions;.
Implemented in LinearScale, and LogScale. |
|
||||||||||||||||||||||||
|
Reimplemented in LinearScale. |
1.4.3