|
Last change
on this file was 11158, checked in by stuerze, 3 weeks ago |
|
deprecated functions exchanged libs updated
|
|
File size:
1017 bytes
|
| Line | |
|---|
| 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_SPLINE_BASIS_H
|
|---|
| 11 | #define QWT_SPLINE_BASIS_H
|
|---|
| 12 |
|
|---|
| 13 | #include "qwt_global.h"
|
|---|
| 14 | #include "qwt_spline.h"
|
|---|
| 15 |
|
|---|
| 16 | /*!
|
|---|
| 17 | \brief An approximation using a basis spline
|
|---|
| 18 |
|
|---|
| 19 | QwtSplineBasis approximates a set of points by a polynomials with C2 continuity
|
|---|
| 20 | ( = first and second derivatives are equal ) at the end points.
|
|---|
| 21 |
|
|---|
| 22 | The end points of the spline do not match the original points.
|
|---|
| 23 | */
|
|---|
| 24 | class QWT_EXPORT QwtSplineBasis : public QwtSpline
|
|---|
| 25 | {
|
|---|
| 26 | public:
|
|---|
| 27 | QwtSplineBasis();
|
|---|
| 28 | virtual ~QwtSplineBasis();
|
|---|
| 29 |
|
|---|
| 30 | virtual QPainterPath painterPath( const QPolygonF& ) const QWT_OVERRIDE;
|
|---|
| 31 | virtual uint locality() const QWT_OVERRIDE;
|
|---|
| 32 | };
|
|---|
| 33 |
|
|---|
| 34 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.