Non-visual scale class encapsulating tic generation.
More...
#include <qwt3d_scale.h>
|
| 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) |
| |
| virtual void | setMinors (int val) |
| |
| virtual void | setMajorLimits (double start, double stop) |
| | Sets value of first and last major tic.
|
| |
|
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) |
| | Autoscales the axis.
|
| |
|
|
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 |
| |
|
| class | Axis |
| | Indices used to identify an axis.
|
| |
|
class | qwt3d_ptr< Scale > |
| |
Non-visual scale class encapsulating tic generation.
◆ autoscale()
| int Scale::autoscale |
( |
double & |
a, |
|
|
double & |
b, |
|
|
double |
start, |
|
|
double |
stop, |
|
|
int |
ivals |
|
) |
| |
|
protectedvirtual |
◆ calculate()
| virtual void Qwt3D::Scale::calculate |
( |
| ) |
|
|
protectedpure virtual |
◆ setLimits()
| void Scale::setLimits |
( |
double |
start, |
|
|
double |
stop |
|
) |
| |
|
protectedvirtual |
Sets start and stop value for the scale.
◆ setMajorLimits()
| void Scale::setMajorLimits |
( |
double |
start, |
|
|
double |
stop |
|
) |
| |
|
protectedvirtual |
Sets value of first and last major tic.
◆ setMinors()
| virtual void Qwt3D::Scale::setMinors |
( |
int |
val | ) |
|
|
inlineprotectedvirtual |
◆ ticLabel()
| QString Scale::ticLabel |
( |
unsigned int |
idx | ) |
const |
|
protectedvirtual |
Maps the double value at tic-position idx to a final representation.
Reimplemented in Qwt3D::LogScale.
◆ Axis
Indices used to identify an axis.
- See also
- Scale
The documentation for this class was generated from the following files:
- /home/runner/work/QWT/QWT/src/plot3d/qwt3d_scale.h
- /home/runner/work/QWT/QWT/src/plot3d/qwt3d_scale.cpp