QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Classes | Protected Member Functions | Friends | List of all members
Qwt3DLinearAutoScaler Class Reference

Automatic beautifying of linear scales. More...

#include <qwt3d_autoscaler.h>

Inheritance diagram for Qwt3DLinearAutoScaler:
Qwt3DAutoScaler

Classes

class  PrivateData
 

Protected Member Functions

 Qwt3DLinearAutoScaler (std::vector< double > &mantisses)
 
Qwt3DAutoScalerclone () const override
 Returns a deep copy of this autoscaler.
 
int execute (double &a, double &b, double start, double stop, int ivals) override
 
void copyStateFrom (const Qwt3DLinearAutoScaler &other)
 

Friends

class Qwt3DLinearScale
 

Detailed Description

Automatic beautifying of linear scales.

Member Function Documentation

◆ clone()

Qwt3DAutoScaler * Qwt3DLinearAutoScaler::clone ( ) const
overrideprotectedvirtual

Returns a deep copy of this autoscaler.

Returns
A new Qwt3DLinearAutoScaler with identical state

Implements Qwt3DAutoScaler.

◆ execute()

int Qwt3DLinearAutoScaler::execute ( double &  a,
double &  b,
double  start,
double  stop,
int  ivals 
)
overrideprotectedvirtual
  @brief Does the actual scaling
  @return Number of intervals after rescaling. This will in the most cases differ
  from the requested interval number!  Always >0.
  @param a Start value after scaling (always >= start)
  @param b Stop value after scaling  (always <= stop)
Parameters
startStart value
stopStop value
ivalsRequested intervals
Returns
Number of intervals after autoscaling
  If the given interval has zero length the function returns the current
  interval number and a and b remain unchanged.

Implements Qwt3DAutoScaler.


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