#include <qwt3d_autoscaler.h>
Inheritance diagram for LinearAutoScaler:
Protected Member Functions | |
LinearAutoScaler () | |
LinearAutoScaler (std::vector< double > &mantisses) | |
AutoScaler * | clone () const |
int | execute (double &a, double &b, double start, double stop, int ivals) |
LinearAutoScaler | ( | ) | [protected] |
Initializes with an {1,2,5} sequence of mantissas.
LinearAutoScaler | ( | std::vector< double > & | mantisse | ) | [explicit, protected] |
Initialize with interval [0,1] and one requested interval.
val mantisse A increasing ordered vector of values representing mantisse values between 1 and 9.
AutoScaler* clone | ( | ) | const [inline, protected, virtual] |
int execute | ( | double & | a, | |
double & | b, | |||
double | start, | |||
double | stop, | |||
int | ivals | |||
) | [protected, virtual] |
Does the actual scaling.
a | Start value after scaling (always >= start) | |
b | Stop value after scaling (always <= stop) | |
start | Start value | |
stop | Stop value | |
ivals | Requested intervals |
Implements AutoScaler.