27 #ifndef HISTOGRAMDATA_H
28 #define HISTOGRAMDATA_H
33 #include "qwt/src/qwt_plot_histogram.h"
47 HistogramData(QString uavObject, QString uavField,
double binWidth, uint numberOfBins);
61 QwtPlotHistogram *histogram;
62 QVector<QwtIntervalSample> *histogramBins;
63 QVector<QwtInterval> *histogramInterval;
64 QwtIntervalSeriesData *intervalSeriesData;
72 #endif // HISTOGRAMDATA_H
void setHistogram(QwtPlotHistogram *val)
The Plot2dData class Base class that keeps the data for each curve in the plot.
virtual void deletePlots(PlotData *)
HistogramScopeConfig::deletePlots Delete all plot data.
QwtIntervalSeriesData * getIntervalSeriesData()
virtual void plotNewData(PlotData *, ScopeConfig *, ScopeGadgetWidget *)
HistogramScopeConfig::plotNewData Update plot with new data.
The ScopeConfig class The parent class for scope configuration classes data sources.
The HistogramData class The histogram plot has a variable sized buffer of data, where the data is for...
virtual void removeStaleData()
HistogramData(QString uavObject, QString uavField, double binWidth, uint numberOfBins)
HistogramData::HistogramData.
void clearPlots()
HistogramScopeConfig::clearPlots Clear all plot data.
bool append(UAVObject *obj)
HistogramData::append Appends data to histogram.