10 #ifndef QWT_PLOT_SPECTROGRAM_H 11 #define QWT_PLOT_SPECTROGRAM_H 71 void setMaxRGBTableSize(
int numColors );
72 int maxRGBTableSize()
const;
75 virtual QRectF
pixelHint(
const QRectF & )
const;
77 void setDefaultContourPen(
const QColor &,
78 qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
79 void setDefaultContourPen(
const QPen & );
80 QPen defaultContourPen()
const;
82 virtual QPen contourPen(
double level )
const;
87 void setContourLevels(
const QList<double> & );
88 QList<double> contourLevels()
const;
90 virtual int rtti()
const;
92 virtual void draw( QPainter *p,
94 const QRectF &rect )
const;
99 const QRectF &area,
const QSize &imageSize )
const;
101 virtual QSize contourRasterSize(
102 const QRectF &,
const QRect & )
const;
105 const QRectF &rect,
const QSize &raster )
const;
107 virtual void drawContourLines( QPainter *p,
112 const QRect &imageRect, QImage *image )
const;
virtual QImage renderImage(const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &area, const QSize &imageSize) const =0
Render an image.
A class representing an interval.
A class, which displays raster data.
ConrecFlag
Flags to modify the contour algorithm.
virtual void draw(QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &rect) const
Draw the raster data.
QFlags< DisplayMode > DisplayModes
Display modes.
A plot item, which displays a spectrogram.
QMap< double, QPolygonF > ContourLines
Contour lines.
virtual QwtInterval interval(Qt::Axis) const
virtual QRectF pixelHint(const QRectF &) const
Pixel hint.
QwtColorMap is used to map values into colors.
QwtRasterData defines an interface to any type of raster data.
empty_struct data[sizeof(T)/sizeof(empty_struct)]