QCPAxisTickerLog Class Reference

#include </home/florent/devel/release/src/gepetto-viewer/plugins/pyqcustomplot/qcustomplot-2.0.1/qcustomplot.h>

Inheritance diagram for QCPAxisTickerLog:
Collaboration diagram for QCPAxisTickerLog:

Public Member Functions

 QCPAxisTickerLog ()
 
double logBase () const
 
int subTickCount () const
 
void setLogBase (double base)
 
void setSubTickCount (int subTicks)
 
- Public Member Functions inherited from QCPAxisTicker
 QCPAxisTicker ()
 
virtual ~QCPAxisTicker ()
 
TickStepStrategy tickStepStrategy () const
 
int tickCount () const
 
double tickOrigin () const
 
void setTickStepStrategy (TickStepStrategy strategy)
 
void setTickCount (int count)
 
void setTickOrigin (double origin)
 
virtual void generate (const QCPRange &range, const QLocale &locale, QChar formatChar, int precision, QVector< double > &ticks, QVector< double > *subTicks, QVector< QString > *tickLabels)
 

Protected Member Functions

virtual double getTickStep (const QCPRange &range) Q_DECL_OVERRIDE
 
virtual int getSubTickCount (double tickStep) Q_DECL_OVERRIDE
 
virtual QVector< double > createTickVector (double tickStep, const QCPRange &range) Q_DECL_OVERRIDE
 
- Protected Member Functions inherited from QCPAxisTicker
virtual QString getTickLabel (double tick, const QLocale &locale, QChar formatChar, int precision)
 
virtual QVector< double > createSubTickVector (int subTickCount, const QVector< double > &ticks)
 
virtual QVector< QString > createLabelVector (const QVector< double > &ticks, const QLocale &locale, QChar formatChar, int precision)
 
void trimTicks (const QCPRange &range, QVector< double > &ticks, bool keepOneOutlier) const
 
double pickClosest (double target, const QVector< double > &candidates) const
 
double getMantissa (double input, double *magnitude=0) const
 
double cleanMantissa (double input) const
 

Protected Attributes

double mLogBase
 
int mSubTickCount
 
double mLogBaseLnInv
 
- Protected Attributes inherited from QCPAxisTicker
TickStepStrategy mTickStepStrategy
 
int mTickCount
 
double mTickOrigin
 

Additional Inherited Members

- Public Types inherited from QCPAxisTicker
enum  TickStepStrategy { tssReadability, tssMeetTickCount }
 

Constructor & Destructor Documentation

◆ QCPAxisTickerLog()

QCPAxisTickerLog::QCPAxisTickerLog ( )

Member Function Documentation

◆ createTickVector()

virtual QVector<double> QCPAxisTickerLog::createTickVector ( double  tickStep,
const QCPRange range 
)
protectedvirtual

Reimplemented from QCPAxisTicker.

◆ getSubTickCount()

virtual int QCPAxisTickerLog::getSubTickCount ( double  tickStep)
protectedvirtual

Reimplemented from QCPAxisTicker.

◆ getTickStep()

virtual double QCPAxisTickerLog::getTickStep ( const QCPRange range)
protectedvirtual

Reimplemented from QCPAxisTicker.

◆ logBase()

double QCPAxisTickerLog::logBase ( ) const
inline

◆ setLogBase()

void QCPAxisTickerLog::setLogBase ( double  base)

◆ setSubTickCount()

void QCPAxisTickerLog::setSubTickCount ( int  subTicks)

◆ subTickCount()

int QCPAxisTickerLog::subTickCount ( ) const
inline

Member Data Documentation

◆ mLogBase

double QCPAxisTickerLog::mLogBase
protected

◆ mLogBaseLnInv

double QCPAxisTickerLog::mLogBaseLnInv
protected

◆ mSubTickCount

int QCPAxisTickerLog::mSubTickCount
protected

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