23 #ifndef PLOT_TIMERASTER_H
24 #define PLOT_TIMERASTER_H
28 #include <qwt_plot_rasteritem.h>
30 #if QWT_VERSION >= 0x060000
31 #include <qwt_point_3d.h>
32 #include <qwt_compat.h>
62 #if QWT_VERSION < 0x060000
64 virtual QSize
rasterHint(
const QwtDoubleRect &)
const;
65 virtual QwtDoubleInterval
interval(Qt::Axis ax)
const;
67 virtual QwtInterval
interval(Qt::Axis ax)
const;
70 virtual int rtti()
const;
72 virtual void draw(QPainter *p,
73 const QwtScaleMap &xMap,
74 const QwtScaleMap &yMap,
75 const QRect &rect)
const;
78 #if QWT_VERSION < 0x060000
80 const QwtScaleMap &yMap,
81 const QwtDoubleRect &rect)
const;
84 const QwtScaleMap &yMap,
86 const QSize &size=QSize(0,0))
const;
A plot item, which displays a time raster.
Definition: plot_raster.h:48
virtual QSize rasterHint(const QwtDoubleRect &) const
const QwtColorMap & colorMap() const
void setColorMap(const QwtColorMap *map)
Definition: timeRasterGlobalData.h:34
QImage renderImage(const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QwtDoubleRect &rect) const
void setData(TimeRasterData *data)
virtual ~PlotTimeRaster()
PlotTimeRaster(const QString &title=QString::null)
PMT_API pmt_t map(pmt_t proc(const pmt_t &), pmt_t list)
Apply proc element-wise to the elements of list and returns a list of the results, in order.
const TimeRasterData * data() const
virtual QwtDoubleInterval interval(Qt::Axis ax) const
virtual QwtDoubleRect boundingRect() const
virtual void draw(QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &rect) const