11 #include <QtCore/QDebug>
13 #include <qwt_scale_map.h>
40 const QwtScaleMap &xMap,
const QwtScaleMap &yMap)
42 double xi(xMap.transform(sample.
x()));
43 double yi(yMap.transform(sample.
y()));
44 return (std::isfinite(xi) && std::isfinite(yi));
49 const QwtScaleMap &xMap,
const QwtScaleMap &yMap,
50 const QRectF &canvasRect,
int from,
int to)
const
60 const int firstValid(i);
65 const int lastValid(i-1);
68 QwtPlotCurve::drawSeries(painter,xMap,yMap,canvasRect,firstValid,lastValid);
auxiliary data[Processor]
void drawSeries(QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, int from, int to) const
draw the curve
PlotCurve()
default constructor
contains an alternative curve plot
bool validate(const QPointF &sample, const QwtScaleMap &xMap, const QwtScaleMap &yMap)
extract point coordinates and check if they are valid