qwt_curve_fitter.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Qwt Widget Library
3  * Copyright (C) 1997 Josef Wilgen
4  * Copyright (C) 2002 Uwe Rathmann
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the Qwt License, Version 1.0
8  *****************************************************************************/
9 
10 #ifndef QWT_CURVE_FITTER_H
11 #define QWT_CURVE_FITTER_H
12 
13 #include "qwt_global.h"
14 
15 class QPainterPath;
16 class QPolygonF;
17 
22 {
23  public:
32  enum Mode
33  {
41 
48  Path
49  };
50 
51  virtual ~QwtCurveFitter();
52 
53  Mode mode() const;
54 
63  virtual QPolygonF fitCurve( const QPolygonF& polygon ) const = 0;
64 
73  virtual QPainterPath fitCurvePath( const QPolygonF& polygon ) const = 0;
74 
75  protected:
76  explicit QwtCurveFitter( Mode mode );
77 
78  private:
79  Q_DISABLE_COPY(QwtCurveFitter)
80 
81  const Mode m_mode;
82 };
83 
84 #endif
qwt_global.h
QwtCurveFitter::Mode
Mode
Preferred mode of the fitting algorithm.
Definition: qwt_curve_fitter.h:32
QwtCurveFitter
Abstract base class for a curve fitter.
Definition: qwt_curve_fitter.h:21
QwtCurveFitter::Polygon
@ Polygon
Definition: qwt_curve_fitter.h:40
QWT_EXPORT
#define QWT_EXPORT
Definition: qwt_global.h:38


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:45