Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef QmitkHistogram_h
14 #define QmitkHistogram_h
19 #include <qwt_plot_item.h>
20 #include <qwt_series_data.h>
36 const QwtIntervalSeriesData &
data()
const;
43 void draw(QPainter *,
const QwtScaleMap &xMap,
const QwtScaleMap &yMap,
const QRectF &)
const override;
49 virtual void drawBar(QPainter *, Qt::Orientation o,
const QRect &)
const;
55 HistogramData *m_Data;
virtual void drawBar(QPainter *, Qt::Orientation o, const QRect &) const
void setColor(const QColor &)
Used to create a histogram that can be shown in a Qwt Plot. See QmitkHistogramWidget for an example o...
QmitkHistogram(const QString &title=QString())
void draw(QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &) const override
~QmitkHistogram() override
void setBaseline(double reference)
QRectF boundingRect() const override
void setData(const QwtIntervalSeriesData &data)
const QwtIntervalSeriesData & data() const