qwt_polar_fitter.h
Go to the documentation of this file.
1 /******************************************************************************
2  * QwtPolar Widget Library
3  * Copyright (C) 2008 Uwe Rathmann
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the Qwt License, Version 1.0
7  *****************************************************************************/
8 
9 #ifndef QWT_POLAR_FITTER_H
10 #define QWT_POLAR_FITTER_H
11 
12 #include "qwt_global.h"
13 #include "qwt_curve_fitter.h"
14 
25 {
26  public:
27  QwtPolarFitter( int stepCount = 5 );
28  virtual ~QwtPolarFitter();
29 
30  void setStepCount( int size );
31  int stepCount() const;
32 
33  virtual QPolygonF fitCurve( const QPolygonF& ) const QWT_OVERRIDE;
34  virtual QPainterPath fitCurvePath( const QPolygonF& ) const QWT_OVERRIDE;
35 
36  private:
37  class PrivateData;
39 };
40 
41 #endif
#define QWT_EXPORT
Definition: qwt_global.h:38
virtual QPainterPath fitCurvePath(const QPolygonF &polygon) const =0
A simple curve fitter for polar points.
PrivateData * m_data
virtual QPolygonF fitCurve(const QPolygonF &polygon) const =0
span_constexpr std::size_t size(span< T, Extent > const &spn)
Definition: span.hpp:1485
Abstract base class for a curve fitter.
#define QWT_OVERRIDE
Definition: qwt_global.h:53


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:39