QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Protected Member Functions | Protected Attributes | Friends | List of all members
Qwt3D::LinearScale Class Reference

The standard (1:1) mapping class for axis numbering . More...

#include <qwt3d_scale.h>

Inheritance diagram for Qwt3D::LinearScale:
Qwt3D::Scale

Protected Member Functions

int autoscale (double &a, double &b, double start, double stop, int ivals)
 Applies LinearAutoScaler::execute() for autoscaling.
 
Scaleclone () const
 
void calculate ()
 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)
 
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
 

Protected Attributes

LinearAutoScaler autoscaler_p
 
- Protected Attributes inherited from Qwt3D::Scale
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
 

Friends

class Axis
 Indices used to identify an axis.
 
class qwt3d_ptr< Scale >
 

Detailed Description

The standard (1:1) mapping class for axis numbering

.

Member Function Documentation

◆ autoscale()

int LinearScale::autoscale ( double &  a,
double &  b,
double  start,
double  stop,
int  ivals 
)
protectedvirtual

Applies LinearAutoScaler::execute() for autoscaling.

Reimplemented from Qwt3D::Scale.

◆ calculate()

void LinearScale::calculate ( )
protectedvirtual

Creates the major and minor vector for the scale .

Implements Qwt3D::Scale.

◆ clone()

Scale * Qwt3D::LinearScale::clone ( ) const
inlineprotectedvirtual

Implements Qwt3D::Scale.

Friends And Related Symbol Documentation

◆ Axis

friend class Axis
friend

Indices used to identify an axis.

See also
Scale

The documentation for this class was generated from the following files: