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

A simple curve fitter for polar points. More...

#include <qwt_polar_fitter.h>

Inheritance diagram for QwtPolarFitter:
QwtCurveFitter

Classes

class  PrivateData
 

Public Member Functions

 QwtPolarFitter (int stepCount=5)
 Constructor.
 
virtual ~QwtPolarFitter ()
 Destructor.
 
void setStepCount (int size)
 Set the step count.
 
int stepCount () const
 Get the step count.
 
virtual QPolygonF fitCurve (const QPolygonF &) const override
 Fit a curve.
 
virtual QPainterPath fitCurvePath (const QPolygonF &) const override
 Fit a curve path.
 
- Public Member Functions inherited from QwtCurveFitter
virtual ~QwtCurveFitter ()
 Destructor .
 
Mode mode () const
 Get the preferred fitting mode.
 

Additional Inherited Members

- Public Types inherited from QwtCurveFitter
enum  Mode { Polygon , Path }
 
- Protected Member Functions inherited from QwtCurveFitter
 QwtCurveFitter (Mode mode)
 Constructor.
 

Detailed Description

A simple curve fitter for polar points.

Constructor & Destructor Documentation

◆ QwtPolarFitter()

QwtPolarFitter::QwtPolarFitter ( int  stepCount = 5)

Constructor.

◆ ~QwtPolarFitter()

QwtPolarFitter::~QwtPolarFitter ( )
virtual

Destructor.

Destructor

.

Member Function Documentation

◆ fitCurve()

QPolygonF QwtPolarFitter::fitCurve ( const QPolygonF &  points) const
overridevirtual

Fit a curve.

Insert stepCount() number of additional points between 2 elements of points.

Implements QwtCurveFitter.

◆ fitCurvePath()

QPainterPath QwtPolarFitter::fitCurvePath ( const QPolygonF &  points) const
overridevirtual

Fit a curve path.

Create a curve path from the data points.

Implements QwtCurveFitter.

◆ setStepCount()

void QwtPolarFitter::setStepCount ( int  stepCount)

Set the step count.

Assign the number of points that will be inserted between 2 points.

◆ stepCount()

int QwtPolarFitter::stepCount ( ) const

Get the step count.

Get the number of points that will be inserted between 2 points.


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