29 #ifndef QTPLOTHISTOGRAM_H_
30 #define QTPLOTHISTOGRAM_H_
34 #include <qwt_plot_item.h>
47 int rtti( )
const {
return QwtPlotItem::Rtti_PlotHistogram; }
49 #if QWT_VERSION >= 0x060000
50 void draw( QPainter *,
const QwtScaleMap &xMap,
const QwtScaleMap &yMap,
const QRectF & )
const;
52 void draw( QPainter *,
const QwtScaleMap &xMap,
const QwtScaleMap &yMap,
const QRect & )
const;
63 virtual void draw_bar( QPainter *, Qt::Orientation orientation,
const QRect & )
const;
void setColor(const QColor &c)
QtPlotHistogram(const QString &label=QString::null)
each selection effectively specify the desired channel data in a specified spectral window If the user uses the FrequencySelectionChannel class then the selection simply selects a range of channels The other derived class is FrequencySelectionReferential which specifies a range of frequencies in a specified frame of reference(e.g., LSRK).Unlike the other first method
QwtDoubleRect boundingRect() const
void setData(const qwt_interval_t &data)
void setBaseline(double reference)
virtual void draw_bar(QPainter *, Qt::Orientation orientation, const QRect &) const
void draw(QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &) const
const qwt_interval_t & data() const
const Double c
Fundamental physical constants (SI units):
QwtIntervalData qwt_interval_t