35 #if QWT_VERSION < 0x060000
39 #include <qwt_raster_data.h>
44 #if QWT_VERSION >= 0x060000
45 class QPPointData :
public QwtSeriesData<QPointF>
47 class QPPointData :
public QwtData
52 QPPointData(PlotPointDataPtr
data);
58 PlotPointDataPtr
data();
59 const PlotPointDataPtr
data()
const;
66 #if QWT_VERSION >= 0x060000
67 QPPointData*
copy()
const;
70 QPointF sample(
size_t i)
const;
73 QwtData*
copy()
const;
80 double x(
size_t i)
const;
83 double y(
size_t i)
const;
86 QwtDoubleRect boundingRect()
const;
89 PlotPointDataPtr m_data;
94 class QPRasterData :
public QwtRasterData {
97 QPRasterData(PlotRasterDataPtr
data);
105 PlotRasterDataPtr
data();
106 const PlotRasterDataPtr
data()
const;
110 bool isValid()
const;
116 QwtRasterData*
copy()
const;
119 double value(
double x,
double y)
const;
122 QwtDoubleInterval range()
const;
125 QwtDoubleRect boundingRect()
const;
128 PlotRasterDataPtr m_data;
StatsData< AccumType > copy(const StatsData< AccumType > &stats)
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.