Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef QmitkHistogram_h
14 #define QmitkHistogram_h
18 #include <qwt_plot_item.h>
19 #include <qwt_series_data.h>
35 const QwtIntervalSeriesData &
data()
const;
42 void draw(QPainter *,
const QwtScaleMap &xMap,
const QwtScaleMap &yMap,
const QRectF &)
const override;
48 virtual void drawBar(QPainter *, Qt::Orientation o,
const QRect &)
const;
54 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