17 #ifndef QMITKHISTOGRAM_H
18 #define QMITKHISTOGRAM_H
23 #include <qwt_plot_item.h>
24 #include <qwt_series_data.h>
39 const QwtIntervalSeriesData &
data()
const;
46 virtual void draw(QPainter *,
const QwtScaleMap &xMap,
const QwtScaleMap &yMap,
const QRectF &)
const override;
52 virtual void drawBar(QPainter *, Qt::Orientation o,
const QRect &)
const;
58 HistogramData *m_Data;
virtual void drawBar(QPainter *, Qt::Orientation o, const QRect &) const
void setColor(const QColor &)
virtual void draw(QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &) const override
virtual ~QmitkHistogram()
QmitkHistogram(const QString &title=QString::null)
virtual QRectF boundingRect() const override
void setData(const QwtIntervalSeriesData &data)
Used to create a histogram that can be shown in a Qwt Plot. See QmitkHistogramWidget for an example o...
const QwtIntervalSeriesData & data() const
void setBaseline(double reference)